Version 6.6 439 October 2014
Installation & Operation Manual 37. Using Auxiliary Files
When the state machine reaches the dial state, it sets timer number 2 and then waits
for one of the two possible actions to be triggered: either timer 2 expiration or end of
dial event. When timer 2 expires, the protocol table executes the SEND_DEST_NUM
function and remains 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 and must appear in every protocol table created.
The two pre-defined states are ST_INIT and ST_IDLE.
ST_INIT - When channels initialization is selected, the table enters the INIT state.
This state contains functions that initialize the following global parameters:
• 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 - The incoming call detection event is processed by declaring
end of digit reception in the following ways (both for ADDRESS/destination
number and ANI/source number):
♦ Receiving '#' digit (in MF or DTMF)
♦ The number of digits collected reaches its maximum value as defined in
the DIAL_PLAN Parameter #1 and #2 for destination and ANI numbers
respectively
♦ A pre-defined time-out value defined in the DIAL_PLAN Parameter #3
elapses
Note: This method is not used when working with MFC/R2 protocols. MFC/R2
uses expected number of digits defined in ProtUser_defines_xxx.h.
• DTMF_DIAL - Defines the On-time and Off-time for the DTMF digits
generated towards the PSTN.
• COMMA_PAUSE_TIME - Defines the delay between each digit when a
comma is used as part of the dialed number string.
• DTMF_DETECTION - Defines the minimum/maximum On-time for DTMF
digit dialing detection.
• PULSE_DIAL_TIME - Not supported by current stack version. Defines the
Break and Make time for pulse dialing.
• PULSE_DIAL - Not supported by the current stack version. Defines the
Break and Make ABCD bits for pulse dialing.
• DEBOUNCE - Defines the interval time of CAS to be considered as a hit.
• COLLECT_ANI - Enables or Disables reception of ANI in a specific protocol.
• DIGIT_TYPE - Defines the dialing method used (DTMF, MF). On MFC/R2
protocols this parameter is not applicable (digits are assumed to be R2