Call Forwarding Parameter Block
Your telephone tool passes a pointer to a call forwarding message parameter block to forward calls for a directory number to some other number. The call forwarding message parameter block is defined by the TELForwardPB data type.
struct TELForwardPB {
StringPtr forwardDN;
StringPtr forwardPartyName;
StringPtr forwardSubaddress;
short forwardType;
short numRings;
};
typedef struct TELForwardPB TELForwardPB;
Field Description
forwardDN
- The directory number to which calls are to be forwarded.
forwardPartyName
- A pointer to a Pascal-style string that stores the name associated with directory number
forwardDN.
forwardSubaddress
- A pointer to a Pascal-style string that stores the subaddress of directory number
forwardDN.
forwardType
- The type of call forwarding requested. See "Call Forwarding Types" on page 3-11 for a complete description of the available call forwarding types.
numRings
- If
forwardType is telForwardNoAnswer, the number of rings that should occur before a call is forwarded.