EnableCallForwarding

From Opale Wiki
Jump to navigation Jump to search

This command enables 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 enabled for ALL. Prior to enable or disable call forwarding in has to be registered using RegisterCallForwarding command.

COMMAND

Command Line Arguments Returns
EnableCallForwarding PortIndex, Forward condition, [Call class] Error Code in case of error.

OUTPUT

None

EXAMPLE

~# EnableCallForwarding 0 UNCONDITIONAL ALL

~# EnableCallForwarding 1 NO_REPLY VOICE