CTI Server functions (.NET)

OnProtocolData

Contents  Back  Next

A call data record should be stored.

 

Event OnProtocolData

(

 object sender,

 uint e.dwStart,

 uint e.dwEnd,

 String e.strDevice,

 String e.strNumber,

 bool e.bSuccess,

 bool e.bInbound,

 String e.strAddress

)

Parameters

sender

object Telephony

 

e.dwStart

Call start time, as time_t

 

e.dwEnd

Call end time, as time_t

 

e.strDevice

User extension

 

e.strNumber

Telephone number of the other party in the call

 

e.bSuccess

True if the call was successful.

 

e.bInbound

True if the call was incoming.

 

e.strAddress

Address called. This is relevant for incoming calls for a device which responds to several internal extensions (addresses). The telephone can be configured so as to be reachable from outside by different numbers, reflecting different projects or profit centers. Using the address, it is possible to determine the project for which the telephone service was rendered.

 

Remarks

This event is generated when a call with a telephone number is recognized. The server interface can then save the data.

 

See also

Telephony overview

 


Send feedback to TAPIMaster®

<%FULLCOPYRIGHT%