WaitAndAcceptCall

From Ultiroam User Docs
Revision as of 10:54, 27 March 2025 by Administrator (talk | contribs) (Administrator moved page R2D2 - WaitAndAcceptCall to WaitAndAcceptCall without leaving a redirect)
Jump to navigation Jump to search

This command allows to wait for an incoming call on the specified GSM port, and to accept it.

An optional timeout (in seconds) can be specified.


COMMAND

Command Line Arguments Returns
WaitAndAcceptCall PortIndex,[Timeout(s)] Error Code in case of error.


OUTPUT

GSM port call status in the following format:

"%s\n", call_status


EXAMPLE

~# WaitAndAcceptCall 1
CONNECTED 0612345678

~# WaitAndAcceptCall 0 120
TIMEOUT EXPIRED