GetCallState

From IRON Test Suite
Jump to navigation Jump to search

DESCRIPTION

This command writes to the standard output the call states of the specified GSM port (for primary and secondary call).

SYNOPSIS

Command Input arguments Returns
GetCallState Port index Call State[2] (in the case of error: Error Code)

OUTPUT

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 4
IDLE
IDLE

~# GetCallState 0
CONNECTED
IDLE