on

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

References

SR-INS-002461.

Notes

Example

on CALLER_ID
   display ...
end
on DIAL_TONE during 2 or 3
   send_dtmf "*70";
end