Syntax
on <event> [during <state> [or <state> [or
...]]];
statement 1;
...
statement n;
end
Type
FDM Function - opcode 1
Parameters
Causes the enclosed statements to be executed when the specified <event>
occurs and any of the specified <state> match the current state.
Description
- <event> is one of a number of events:
- CALLER_ID
- MSG_WAIT_IND
- IN_CALL_ANS
- OUT_CALL_ANS
- RINGING_CEASED
- SERVICE_SELECT
- MAKING_CALL
- CALL_WAITING
- BUSY_TONE
- AUDIBLE_RINGBACK
- DIAL_TONE
- RECALL_TONE
- MESSAGE_WAITING
- REORDER_TONE
- DISTINCT_RING
- NORMAL_RING
- REMINDER_RING
- SPECIAL_RING
- CODED_RING
- TIME_OUT
- EXT_IN_USE
- CUSTOM_EVENT_X (or EVENT_X or X)
- CUSTOM_EVENT_Y (or EVENT_Y or Y)
- <state> is a state number in the range 1 to 254.
References
SR-INS-002461.
Notes
- The enclosed statements must not include further on instructions.
- No parameter substitutions are possible with this statement.
Example
on CALLER_ID
display ...
end
on DIAL_TONE during 2 or 3
send_dtmf "*70";
end