EasyManua.ls Logo

AudioCodes Mediant 8000 - Actions; Functions; INIT Variables; States

AudioCodes Mediant 8000
924 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Installation & Operation Manual 438 Document # LTRT-92224
Mediant 8000
37.5.1.1 INIT Variables
Numeric values in UserProt_defines_xxx.h, are defined by the user. For example,
INIT_RC_IDLE_CAS defines the ABCD bits expected to be received in the IDLE state,
INIT_DTMF_DIAL defines the On-time and Off-time for the DTMF digits generated
towards the PSTN. See the detailed list in CASSetup.h and in the sample protocol
text file.
37.5.1.2 Actions
Actions (i.e., protocol table events) - Protocol table events activated either by the
DSP (e.g., EV_CAS_01) or by the user (e.g., EV_PLACE_CALL,
EV_TIMER_EXPIRED1). The full list of the possible pre-defined events can be found
in the CASSetup.h file.
37.5.1.3 Functions
Functions - Define a certain procedure that can be activated in any state or in the
transition from one state to another. The available functions include, for example,
SET_TIMER (timer number, timeout in ms.) and SEND_CAS (AB value, CD value). A
full list of the possible pre-defined functions can be found in the CASSetup.h file.
37.5.1.4 States
States - Each Protocol table consists of several states that it switches between during
the call setup and tear-down process. Every state definition begins with the prefix ST_
followed by the state name and colons. The body of the state is composed of up to
four unconditional performed functions and list of actions that can trigger this state.
The table below is from an E&M wink start "source" protocol file and is shown here as
an example.
Table
37-4: Example - ST_DIAL state in CAS File
Action
Function
Parameters Next State
#1 #2 #3
FUNCTION0 SET_TIMER 2 Extra
Delay
Before
Dial
None DO
EV_TIMER_EXPIRED2 SEND_DEST_NUM
None None None NO_STATE
EV_DIAL_ENDED SET_TIMER 4 No
Answer
Time
None ST_DIAL_ENDED

Table of Contents

Related product manuals