CheckForwardings
Jump to navigation
Jump to search
This command checks call forwarding for the specified GSM port, for 4 conditions BUSY, NO_REPLY, NOT_REACHABLE and UNCONDITIONAL, for optional specified call class. 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 |
---|---|---|
CheckForwardings | PortIndex, |Call class ] | Forward Status - Error Code in case of error. |
OUTPUT
GSM port call forwarding status in the following format:
"%s %s\n", BUSY status, number
"%s %s\n", NO_REPLY status, number
"%s %s\n", NOT_REACHABLE status, number
"%s %s\n", UNCONDITIONAL status, number
EXAMPLE
~ # CheckForwardings 0
BUSY - ACTIVE +381650009600
NO_REPLY - NOT_ACTIVE
NOT_REACHABLE - ACTIVE +381650009600
UNCONDITIONAL - NOT_ACTIVE