CTI Client events (ActiveX)

OnCallNumber

Contents  Back  Next

Signals telephone number.

 

Event OnCallNumber(

 Long lType,

 Long lCallID

 String bstrNumber

)

Parameters

lType

Type of call, taking one of the following values:

1: Primary incoming call

2: Call-waiting call when another call is already in progress

3: Outbound call

 

lCallID

Call ID

 

bstrNumber

Telephone number signaled, maximum length 31.

 

Remarks

Signals a telephone number, if one has been received. No number is signaled for calls from the analog network or for anonymous calls. This event is also triggered for outgoing calls. The server can be configured to send the number in canonical format (“PBX settings” page).

 

clip0062

 

A new call is normally signalled via event OnCallState with a status of LINECALLSTATE_OFFERING (incoming) or LINECALLSTATE_DIALTONE (outgoing). OnCallNumber can, however, also be sent before all other events. The telephone number can change throughout the course of the call, for example, when the call is transferred to the user.

 

Example

Simply CTI client (Delphi)

Integration in Excel and VB

 

See also

Events overview | OnCallState | Call states

 


Send feedback to TAPIMaster®

© 2020 Tino Kasubke. All rights reserved.