WaitCall
This command allows to wait for an incoming call on the specified GSM port.
Command returns as soon as incoming call is presented or specified optional timeout expired.
COMMAND
| Command | Line Arguments | Returns |
|---|---|---|
| WaitCall | PortIndex, [Timeout(s)] | Error Code in case of error. |
OUTPUT
Incoming call indication in the following format:
"CALLING %s\n", calling_number
or in the case that general/specified timeout expired:
"TIMEOUT EXPIRED\n"
EXAMPLE
~# WaitCall 0
CALLING +33612345678
~# WaitCall 2
TIMEOUT EXPIRED