RegisterCallForwarding
Jump to navigation
Jump to search
This command registers and enables call forwarding for the specified GSM port, under specified conditions, on the specified phone number, for optional specified call class.
Condition could be UNCONDITIONAL, BUSY, NO_REPLY, NOT_REACHABLE, ALL or ALL_CONDITIONAL, and for NO_REPLY the delay time (in seconds) should be specified. Call class could be VOICE, DATA, FAX, SMS, ALL_CALLS or ALL. If call class is omitted call forwarding will be set for ALL.
COMMAND
Command | Line Arguments | Returns |
---|---|---|
RegisterCallForwarding | PortIndex, Forward condition, Forward number, No reply delay, [ Call class ] | Error Code in case of error. |
OUTPUT
None
EXAMPLE
~# RegisterCallForwarding 0 UNCONDITIONAL 0612345678
~# RegisterCallForwarding 1 NO_REPLY 0678654545 ALL_CALLS