PlaceCallAndWaitConnect: Difference between revisions

From Ultiroam User Docs
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 31: Line 31:
</syntaxhighlight>
</syntaxhighlight>
[[Category:Voice]]
[[Category:Voice]]
[[Category:R2D2]]

Latest revision as of 11:29, 27 March 2025

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)