SwitchCall

From IRON Test Suite
Jump to navigation Jump to search

DESCRIPTION

This command enables or disables call waiting supplementary service for the specified GSM port.

COMMAND

Command Input arguments Returns
SwitchCall Port index Call State[2]

OUTPUT

GSM port waiting calls state in the following format:
"Call 1 : %s\nCall 2: %s\n", 1stcall_state, 2ndcall_state

EXAMPLE

~# SwitchCall 0
Call 1 : HELD
Call 2 : CONNECTED

~# SwitchCall 1
Call 1 : HELD
Call 2 : IDLE

API

MessageCode: GRA_SWITCH_CALL_REQUEST

MESSAGE BODY
Field Name Length Description
PortIndex 4 GSM Port index

The format of Message Body can be coded as the following C-language structure:

typedef struct
{
   ULONG    PortIndex;
} GRAM_SWITCH_CALL_REQUEST;

MessageCode: GRA_SWITCH_CALL_CONFIRM

MESSAGE BODY
Field Name Length Description
Status 4 Command status (0 if successful, otherwise see list of Error Codes Values)
CallState 4*2 Call State

The format of Message Body can be coded as the following C-language structure:

typedef struct 
{
   ULONG    Status;
} GRAM_SWITCH_CALL_CONFIRM;