2.2.6.30 LINEFORWARD

The LINEFORWARD packet describes an entry of the forwarding instructions. The LINEFORWARDLIST and the LINEADDRESSSTATUS packets can contain an array of LINEFORWARD packets.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

dwForwardMode

dwCallerAddressSize

dwCallerAddressOffset

dwDestCountryCode

dwDestAddressSize

dwDestAddressOffset

dwCallerAddressType

dwDestAddressType

dwForwardMode (4 bytes): An unsigned 32-bit integer. The types of forwarding. This member MUST use one of the LINEFORWARDMODE_Constants.

dwCallerAddressSize (4 bytes): An unsigned 32-bit integer. The size, in bytes, of the variably sized field containing the address of a caller to be forwarded.

dwCallerAddressOffset (4 bytes): The offset from the beginning of this packet to the variably sized field containing the address of a caller to be forwarded.

The size of the field is specified by dwCallerAddressSize.

This member is set to 0 if dwForwardMode is not one of the following values:

Name

Value

LINEFORWARDMODE_BUSYNASPECIFIC

0x00008000

LINEFORWARDMODE_NOANSWSPECIFIC

0x00000800

LINEFORWARDMODE_UNCONDSPECIFIC

0x00000008

LINEFORWARDMODE_BUSYSPECIFIC

0x00000080

dwDestCountryCode (4 bytes): An unsigned 32-bit integer. The country code of the destination address to which the call is to be forwarded.

dwDestAddressSize (4 bytes): An unsigned 32-bit integer. The size, in bytes, of the variably sized field containing the address of the address where calls are to be forwarded.

dwDestAddressOffset (4 bytes): An unsigned 32-bit integer. The offset from the beginning of this packet to the variably sized field containing the address of the address where calls are to be forwarded. The size of the field is specified by dwDestAddressSize.

dwCallerAddressType (4 bytes): An unsigned 32-bit integer. The address type of the caller. This can be one of the LINEADDRESSTYPE_Constants. This member of the packet is available only if the negotiated version of TAPI is 3.1 or higher.

dwDestAddressType (4 bytes): An unsigned 32-bit integer. The address type for the called destination. This can be one of the LINEADDRESSTYPE_Constants. This member of the packet is available only if the negotiated version of TAPI is 3.1 or higher.