CTI Client telephony functions (C++ CTI API)

CTI_TSetForwarding

Contents  Back  Next

Activate or deactivate call forwarding.

 

VOID WINAPI CTI_TSetForwarding(

 BOOL bSet,

 PTCHAR pszNumber = _T("")

);

Parameters

bSet

Activate or deactivate forwarding.

 

pszNumber

Destination number to which to forward.

 

Return value

None

 

Remarks

Activates or deactivates call forwarding. In response, the user receives event CTI_FORWARDINGSTATE. The function may fail if the number already has forwarding active, permission for forwarding has not been granted, or the switch’s TAPI function does not support this feature. In the case that the switch does not support the feature, it is possible to control forwarding via telephone codes, which can be set in the server control panel page “TAPI special treatment”.

 

See also

Telephony functions overview | CTI_TGetForwardingState | CTI_TGetForwardingDest | CTI_FORWARDINGSTATE

 


Send feedback to TAPIMaster®

© 2020 Tino Kasubke. All rights reserved.