WaitAndRejectCall: Difference between revisions

From Opale Wiki
Jump to navigation Jump to search
(Created page with "This command allows to wait for an incoming call on the specified GSM port, and to reject it. An optional timeout (in seconds) can be specified. A reject code from Q.931 standard can be choosen as the call reject reason '''COMMAND''' {| class="wikitable" !Command !Line Arguments !Returns |- |WaitAndRejectCall |PortIndex,[Timeout(s)], [RejectCause] |Calling number, in the case of error, Error Code |} '''OUTPUT''' GSM port call status in the following format: "%s\...")
 
m (added Category:R2D2 using HotCat)
 
(2 intermediate revisions by the same user not shown)
Line 32: Line 32:


</syntaxhighlight>
</syntaxhighlight>
[[Category:Voice]]
[[Category:R2D2]]

Latest revision as of 10:04, 2 April 2025

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

An optional timeout (in seconds) can be specified.

A reject code from Q.931 standard can be choosen as the call reject reason


COMMAND

Command Line Arguments Returns
WaitAndRejectCall PortIndex,[Timeout(s)], [RejectCause] Calling number, in the case of error, Error Code

OUTPUT

GSM port call status in the following format: "%s\n", call_status)


EXAMPLE

~# WaitAndRejectCall 0
REJECTED 0612345678

~# WaitAndRejectCall 0 60
TIMEOUT EXPIRED