PlaceCallAndWaitConnect

From Ultiroam User Docs
Jump to navigation Jump to search

Call This command places a call from the specified GSM port and waits until the call is connected, or if optional timeout (in seconds) expired.

Command returns Post Dial Delay (PDD) and Total calling time, all in milliseconds.

COMMAND

Command Line Arguments Returns
PlaceCallAndWaitConnect PortIndex, Destination Number, [Timeout] Call Status

OUTPUT
GSM port call status in the following format:

"STATUS (%d)\n%s (%d)\n", pdd, call_status, total_calling_time

"%s (%d)\n", call_status, total_calling_time

EXAMPLE

~# PlaceCallAndWaitConnect 0 0612345678 45
NUMBER BUSY (1254)

~# PlaceCallAndWaitConnect 0 0612345678
ALERTING (2895)
CONNECTED (6587)