WaitCall: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (Administrator moved page R2D2 - WaitCall to WaitCall without leaving a redirect) |
||
(No difference)
|
Revision as of 10:55, 27 March 2025
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