Version 6.6 449 October 2014
Installation & Operation Manual 37. Using Auxiliary Files
• EV_ANI_NUM_DETECTED - This action is used to inform the script file of a
successful reception of the ANI digits string, or when timeout of digit waiting
occurs. This is reported at the incoming call detected event, when the ANI
flag is YES.
• EV_FIRST_DIGIT - Reception of first digit out of the incoming digit string.
Used in the FXO protocols, where informing the script of receiving of the first
digit, enables the script to use the SEND_PROG_TON function to stop the
dial tone.
37.5.1.6.6 Function
The function column holds the name of the function to be activated when the action
specified in the action/events field occurs. Select the functions from the list of eight
functions defined in CasSetup.h. (e.g., START_COLLECT). When NONE is specified
in this column, no function is executed.
37.5.1.6.7 Parameters
Parameter #1, #2 and #3 columns are used as the function's parameters. The list of
global parameters can be found in CasSetup.h. If a parameter is not essential, the
parameter is marked None.
The following are the available user-functions and their parameters:
SET_TIMER (timer number, timeout) - Set timers that are managed per B-
channel, and their expiration triggers the state machine table. Each protocol
table/state machine can use up to 8 timers per B-channel/call, (timeout in msec).
SEND_CAS (AB value, CD value) - ABCD bits are sent as line signaling for the
specific channel when the call is setup.
SEND_EVENT (event type, cause) - The specific event type is sent to the
host/user.
SEND_DEST_NUM - Enbloc dialing: Enbloc dialing: refers to the digits string.
Three types are available: (1) DestPhoneNum (2) InterExchangePrefixNum (3)
SourcePhoneNum.
DEL_TIMER (timer number) - Delete specific or all timers (0 for all) for the B-
channel.
START_COLLECT - Initiates the collection of address information i.e., the dialed
(destination) number for incoming calls where appropriate according to the
protocol. At the time between START_COLLECT and STOP_COLLECT, no digit
is reported to the user (EV_DIGIT is blocked) and the destination number is
reported in the EV_INCOMING_CALL_DETECTED event.
STOP_COLLECT - See START_COLLECT.
SET_COUNTER (counter number, counter value or NONE) - Set counters that
are managed per B-channel and their expiration triggers the state machine. The
counter initialization value should be a non-negative number. To delete all timers,
perform this function with 0 in the counter number field.
DEC_COUNTER (counter number) - Decreases counter value by 1. When the
counter value reaches 0, EV_COUNTERx_EXPIRES is sent to the table (The x
represent the counter number).
SEND_MF (MF type, MF digit or index or NONE, MF sending time) - This