LINEFORWARDMODE_ Constants
The LINEFORWARDMODE_ bit-flag constants describe the conditions under which calls to an address can be forwarded.
-
LINEFORWARDMODE_UNCOND
-
Forward all calls unconditionally irrespective of their origin. Use this value when unconditional forwarding for internal and external calls cannot be controlled separately. Unconditional forwarding overrides forwarding on busy and/or no-answer conditions.
-
LINEFORWARDMODE_UNCONDINTERNAL
-
Forward all internal calls unconditionally. Use this value when unconditional forwarding for internal and external calls can be controlled separately.
-
LINEFORWARDMODE_UNCONDEXTERNAL
-
Forward all external calls unconditionally. Use this value when unconditional forwarding for internal and external calls can be controlled separately.
-
LINEFORWARDMODE_UNCONDSPECIFIC
-
Forward all calls that originated at a specified address unconditionally (selective call forwarding).
-
LINEFORWARDMODE_BUSY
-
Forward all calls on busy, irrespective of their origin. Use this value when forwarding for internal and external calls on busy and no answer cannot be controlled separately.
-
LINEFORWARDMODE_BUSYINTERNAL
-
Forward all internal calls on busy. Use this value when forwarding for internal and external calls on busy and no answer can be controlled separately.
-
LINEFORWARDMODE_BUSYEXTERNAL
-
Forward all external calls on busy. Use this value when forwarding for internal and external calls on busy and no answer can be controlled separately.
-
LINEFORWARDMODE_BUSYSPECIFIC
-
Forward all calls that originated at a specified address on busy (selective call forwarding).
-
LINEFORWARDMODE_NOANSW
-
Forward all calls on no answer, irrespective of their origin. Use this value when call forwarding for internal and external calls on no answer cannot be controlled separately.
-
LINEFORWARDMODE_NOANSWINTERNAL
-
Forward all internal calls on no answer. Use this value when forwarding for internal and external calls on no answer can be controlled separately.
-
LINEFORWARDMODE_NOANSWEXTERNAL
-
Forward all external calls on no answer. Use this value when forwarding for internal and external calls on no answer can be controlled separately.
-
LINEFORWARDMODE_NOANSWSPECIFIC
-
Forward all calls that originated at a specified address on no answer (selective call forwarding).
-
LINEFORWARDMODE_BUSYNA
-
Forward all calls on busy/no answer irrespective of their origin. Use this value when forwarding for internal and external calls on busy and no answer cannot be controlled separately.
-
LINEFORWARDMODE_BUSYNAINTERNAL
-
Forward all internal calls on busy/no answer. Use this value when call forwarding on busy and no answer cannot be controlled separately for internal calls.
-
LINEFORWARDMODE_BUSYNAEXTERNAL
-
Forward all external calls on busy/no answer. Use this value when call forwarding on busy and no answer cannot be controlled separately for internal calls.
-
LINEFORWARDMODE_BUSYNASPECIFIC
-
Forward all calls that originated at a specified address on busy/no answer (selective call forwarding).
Not extensible. All 32 bits are reserved.
The bit flags defined by LINEFORWARDMODE_ are not orthogonal. Unconditional forwarding ignores any specific condition such as busy or no answer. If unconditional forwarding is not in effect, forwarding on busy and no answer can either be controlled separately or not. If controlled separately, the BUSY and NOANSW flags can be used separately. If not controlled separately, the flag BUSYNA must be used. Similarly, if forwarding of internal and external calls can be controlled separately, INTERNAL and EXTERNAL flags can be used separately, otherwise the combination is used.
Address capabilities indicate for each address assigned to a line the forwarding mode(s) that are available. An application can use TSPI_lineForward to set forwarding conditions at the switch.
See Also
LINE_ADDRESSSTATE, LINEADDRESSCAPS, LINEADDRESSSTATUS, LINEFORWARD, TSPI_lineForward, TSPI_lineGetAddressCaps