EnableCallBarring
This command enables call barring for the specified GSM port, under the specified lock type and for optional specified call class.
Lock type could be BAOC, BOIC, BOIC_EX, BAIC or BIC_RO. Call class could be VOICE, DATA, FAX, ALL_CALLS or ALL.
If call class is omitted call forwarding will be set for ALL.
COMMAND
Command | Line Arguments | Returns |
---|---|---|
EnableCallBarring | PortIndex, Lock type, [class] | Error Code in case of error. |
OUTPUT
None
EXAMPLE
~# EnableCallBarring 0 BAIC
OK
~# EnableCallBarring 1 BOIC_EX VOICE
OK