GetCallState

From Opale Wiki
Revision as of 20:42, 1 April 2025 by Administrator (talk | contribs) (Created page with "This command reports to the standard output the call state on the specified GSM port '''COMMAND''' {| class="wikitable" !Command !Line Arguments !Returns |- |AcceptCall |PortIndex |Call State - Error Code in case of error. |} '''OUTPUT''' Command status: GSM port call state (IDLE, DIALING, DIALED, ALERTING, CONNECTED, DISCONNECTING, INCOMING or HELD) in the following format: “%s\n%s\n”, call1_state, call2_state '''EXAMPLE'''<syntaxhighlight la...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This command reports to the standard output the call state on the specified GSM port

COMMAND

Command Line Arguments Returns
AcceptCall PortIndex Call State - Error Code in case of error.

OUTPUT Command status:

GSM port call state (IDLE, DIALING, DIALED, ALERTING, CONNECTED, DISCONNECTING, INCOMING or HELD) in the following format: “%s\n%s\n”, call1_state, call2_state

EXAMPLE

~# GetCallState 1
IDLE
IDLE

~# GetCallState 0
CONNECTED
IDLE