CheckCallForwarding
This command checks call forwarding for the specified GSM port, under specified conditions, for optional specified call class.
Condition could be UNCONDITIONAL, BUSY, NO_REPLY, NOT_REACHABLE, ALL or ALL_CONDITIONAL. Call class could be VOICE, DATA, FAX, SMS, ALL_CALLS or ALL. If call class is omitted call forwarding will be check for ALL.
COMMAND
Command | Line Arguments | Returns |
---|---|---|
CheckCallForwarding | PortIndex, Forward condition, [ Call class ] | Call Forwarding status, Forward number |
OUTPUT
GSM port call forwarding status in the following format:
"%s %s\n", status, number
EXAMPLE
~# CheckCallForwarding 0 UNCONDITIONAL ALL
ACTIVE 06983981244
~# CheckCallForwarding 1 NO_REPLY VOICE
NOT ACTIVE