GetCallInfo

From IRON Test Suite
Jump to navigation Jump to search

DESCRIPTION

This command writes to the standard output the call information (for active call and call on hold) of the specified GSM port. By default the mode is unknown but it can be S_HR, S_FR and S_EFR.

COMMAND

Command Input arguments Returns
GetCallInfo Port index Call info (Call State, called number, calling number, mode)[2]

OUTPUT

GSM port call information in the following format:
“%s %s %s %s\n%s %s %s %s\n”,call_state1, [called_number1, calling_number1, mode1],call_state2, [called_number2, calling_number2, mode2]

EXAMPLE

~# GetCallInfo 0
CONNECTED 0632279930 89330113364874274930 S_HR
IDLE

~# GetCallInfo 1
HOLD
IDLE