PlaceShortCall: Difference between revisions
Jump to navigation
Jump to search
(Created page with " This command allows to accept an incoming call once presented on the specified port. '''COMMAND''' {| class="wikitable" !Command !Line Arguments !Returns |- |AcceptCall |PortIndex |Error Code in case of error. |} '''OUTPUT''' Command status: <br> "%s\n", status (CONNECTED or NO INCOMING CALL) '''EXAMPLE''' <syntaxhighlight lang="text"> ~# AcceptCall 0<br> CONNECTED<br> ~# AcceptCall 2<br> NO INCOMING CALL </syntaxhighlight> Category:Voice") Tag: 2017 source edit |
m (added Category:R2D2 using HotCat) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
This command | This command places a call from the specified GSM port and releases it after a given short time (between 1-999 milliseconds) | ||
'''COMMAND''' | '''COMMAND''' | ||
Line 8: | Line 8: | ||
!Returns | !Returns | ||
|- | |- | ||
| | |PlaceShortCall | ||
|PortIndex | |PortIndex, DestinationNumber, Duration(ms) | ||
|[[R2D2 Error Codes|Error Code]] in case of error. | |[[R2D2 Error Codes|Error Code]] in case of error. | ||
|} | |} | ||
'''OUTPUT''' | |||
'''OUTPUT'''<br>"OK" or GSM port call status in the following format: | |||
"%s\n", | |||
"%s\n", call_status | |||
'''EXAMPLE''' <syntaxhighlight lang="text"> | '''EXAMPLE''' <syntaxhighlight lang="text"> | ||
~# | ~# PlaceShortCall 0 0612345678 500 | ||
OK | |||
~# | ~# PlaceShortCall 0 0612345678 100 | ||
BUSY | |||
</syntaxhighlight> | </syntaxhighlight> | ||
[[Category:Voice]] | [[Category:Voice]] | ||
[[Category:R2D2]] |
Latest revision as of 11:29, 27 March 2025
This command places a call from the specified GSM port and releases it after a given short time (between 1-999 milliseconds)
COMMAND
Command | Line Arguments | Returns |
---|---|---|
PlaceShortCall | PortIndex, DestinationNumber, Duration(ms) | Error Code in case of error. |
OUTPUT
"OK" or GSM port call status in the following format:
"%s\n", call_status
EXAMPLE
~# PlaceShortCall 0 0612345678 500
OK
~# PlaceShortCall 0 0612345678 100
BUSY