OPTICOM OPERA E1-T1 User Manual page 39

Interface option
Table of Contents

Advertisement

C H A P T E R
7 :
O P T I O N S
Functions
The 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.) or SEND_CAS (AB
value, CD value). A full list of the possible pre-defined functions list can be
found in the CASSetup.h file.
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 4 unconditional performed functions and list of actions
that may trigger this state.
As an example, the following was taken from an E&M wink start table
protocol file. Table 7.2 shows the protocol table elements for the dial state
ST_DIAL.
Action
FUNCTION0
SET_TIMER
EV_TIMER_
SEND_DEST_NU
EXPIRED2
M
EV_DIAL_
SET_TIMER
ENDED
Table 7.2: ST_DIAL: Protocol table elements.
When the state machine reaches the dial state, it sets timer number 2 and
then waits for one of the two possible actions to trigger: either timer 2
expiration or end of dial event. When timer 2 expires, the protocol table
executes SEND_DEST_NUM function and stays in the same state
(NEXT_STATE=NO_STATE). When the dial event ends, the protocol table
sets timer 4 and moves to ST_DIAL_ENDED written in the NEXT_STATE
field.
Although Users can define their own states, there are two states defined in
the CASSetup.h file that must appear in every protocol table created. Those
two states are ST_INIT and ST_IDLE which are described in the following.
- When channels initialization is selected, the table enters the
1) ST_INIT
Init state. This state contains functions that initialize the global parameters
described in Table 7.3.
Parameter
Description
RC_IDLE_CAS
Defines the ABCD bits expected to be received in the IDLE state in the specific
protocol.
TX_IDLE_CAS
Defines the ABCD bits transmitted on IDLE state in the specific protocol.
DIAL_PLAN
A change regarding the issue of an incoming call dialed number is implemented in
revision 3.21 as opposed to revision 3.2 and earlier. In revision 3.2 and earlier, users
F O R
A D V A N C E D
Function
#1
2
None
4
36
U S E R S
Parameter
#2
#3
Extra Delay
None
Before Dial
None
None
No Answer Time
None
Next State
DO
NO_STATE
ST_DIAL_ENDED

Advertisement

Table of Contents
loading

This manual is also suitable for:

Opr-002-e1t-p

Table of Contents