DisableCallBarring

From IRON Test Suite
Jump to navigation Jump to search

DESCRIPTION

This command disables all call barring for the specified GSM port

COMMAND

Command Input arguments Returns
DisableCallBarring Port index, PIN code In the case of error, Error Code

OUTPUT

None

EXAMPLE

~# DisableCallBarring 4
OK

API

MessageCode: GRA_DISABLE_CALL_BARRING_REQUEST

MESSAGE BODY
Field Name Length Description
PortIndex 4 GSM Port index
PinCode 8 SIM Pin code

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

typedef struct
{
   ULONG    PortIndex;
   UCHAR    PinCode[8];
} GRAM_DISABLE_CALL_BARRING_REQUEST;

MessageCode: GRA_DISABLE_CALL_BARRING_CONFIRM

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

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

typedef struct 
{
   ULONG    Status;
} GRAM_DISABLE_CALL_BARRING_CONFIRM;