TapiForwardMode Enumeration |
Namespace: Traysoft.AddTapi
Member name | Value | Description | |
---|---|---|---|
Unconditional | 1 | 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. | |
UnconditionalInternal | 2 | Forward all internal calls unconditionally. Use this value when unconditional forwarding for internal and external calls can be controlled separately. | |
UnconditionalExternal | 4 | Forward all external calls unconditionally. Use this value when unconditional forwarding for internal and external calls can be controlled separately. | |
UnconditionalSpecific | 8 | Unconditionally forward all calls from a specified phone number or extension (selective call forwarding). | |
Busy | 16 | Forward all calls on busy, irrespective of their origin. Use this value when forwarding for internal and external calls on busy and on no answer cannot be controlled separately. | |
BusyInternal | 32 | Forward all internal calls on busy. Use this value when forwarding for internal and external calls on busy and on no answer can be controlled separately. | |
BusyExternal | 64 | Forward all external calls on busy. Use this value when forwarding for internal and external calls on busy and on no answer can be controlled separately. | |
BusySpecific | 128 | Forward on busy all calls from a specified phone number or extension (selective call forwarding). | |
NoAnswer | 256 | 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. | |
NoAnswerInternal | 512 | Forward all internal calls on no answer. Use this value when forwarding for internal and external calls on no answer can be controlled separately. | |
NoAnswerExternal | 1024 | Forward all external calls on no answer. Use this value when forwarding for internal and external calls on no answer can be controlled separately. | |
NoAnswerSpecific | 2048 | Forward on no answer all calls from a specified phone number or extension (selective call forwarding). | |
BusyNoAnswer | 4096 | Forward all calls on busy/no answer, irrespective of their origin. Use this value when forwarding for internal and external calls on busy and on no answer cannot be controlled separately. | |
BusyNoAnswerInternal | 8192 | Forward all internal calls on busy/no answer. Use this value when call forwarding on busy and on no answer cannot be controlled separately for internal calls. | |
BusyNoAnswerExternal | 16384 | Forward all external calls on busy/no answer. Use this value when call forwarding on busy and on no answer cannot be controlled separately for internal calls. | |
BusyNoAnswerSpecific | 32768 | Forward on busy/no answer all calls from a specified phone number or extension (selective call forwarding). | |
Unknown | 65536 | Calls are forwarded, but the conditions under which forwarding will occur are not known at this time. It is possible that the conditions may become known at a future time. | |
Unavailable | 131072 | Calls are forwarded, but the conditions under which forwarding will occur are not known, and will never be known by the service provider. | |
All | 262143 | A mask that includes all forward modes. |
The bit flags defined by TapiForwardMode are not independent of each other. Unconditional forwarding ignores any specific condition such as busy or no answer. If unconditional forwarding is not in effect, then forwarding on busy and on no answer can be controlled separately or not separately. If controlled separately, the Busy and NoAnswer flags can be used separately. If not controlled separately, the BusyNoAnswer flags must be used. Similarly, if forwarding of internal and external calls can be controlled separately, then Internal and External flags can be used separately; otherwise the combination is used.
ForwardModes indicates which forwarding modes are available for each address assigned to a line.