CheckForwardings

From IRON Test Suite
Jump to navigation Jump to search

DESCRIPTION

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 Input arguments Returns
CheckForwardings Port index,[ Call class ] Forward Status, in the case of error, Error Code

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 CheckForwardings Remote