CheckForwardings: Difference between revisions

From Opale Wiki
Jump to navigation Jump to search
(Created page with "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''' {| class="wikitable" !Command !Line Arguments !Returns |- |'''CheckForwardings''' |<nowiki>PortIndex, |Call class ]</nowiki> |Forward Status - R2D2 Error Codes|Error Co...")
 
m (added Category:R2D2 using HotCat)
Line 30: Line 30:
UNCONDITIONAL - NOT_ACTIVE
UNCONDITIONAL - NOT_ACTIVE
</syntaxhighlight>
</syntaxhighlight>
[[Category:R2D2]]

Revision as of 22:02, 1 April 2025

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