WaitCall: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (added Category:R2D2 using HotCat) |
||
(One intermediate revision by the same user not shown) | |||
Line 32: | Line 32: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
[[Category:Voice]] | [[Category:Voice]] | ||
[[Category:R2D2]] |
Latest revision as of 11:30, 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