CTI Client events (C++ CTI API)

CTI_SENDADDRESS

Contents  Back  Next

Sends the address for which the call arrived.

 

Sub-message CTI_SENDADDRESS ( 0x00012016 )

Message type

CTI_COMMAND_MSG

 

Used values

m_wParam

If TRUE, m_szMessage contains the telephone address. If FALSE, m_szMessage contains the telephone.

 

m_lParam

Call ID of the call

 

m_szMessage

Address or number called

 

Remarks

This message is sent when a call arrives. An ISDN telephone may answer to several MSN's. Consider, for example, a home office work place. Here there will be one MSN for private calls and one for business calls. At the end of the month, we need to work out what proportion of the calls were for business. The calls can be assigned correctly using the called MSN in m_szMessage.

Another possibility exists in a switch context. A single line may have several internal extensions. 210 may be for normal internal calls and 310 is a hotline connection. m_szMessage would contain either 210 or 310.

TAPIMaster® attempts to discover and signal one of these two values. However, most drivers do not support addresses. What can be signalled depends on what the switch, telephone and drivers support. It is also possible for this event not to be sent at all, or alternatively, to be sent several times during a call.

 

See also

WM_CTI_NETWORK_DISPATCH overview

 


Send feedback to TAPIMaster®

© 2020 Tino Kasubke. All rights reserved.