CTI Server events (ActiveX)

OnCallNumber

Contents  Back  Next

Signals a telephone number.

 

Event OnCallNumber(

 String bstrUser        

 Long lCallID

 String bstrNumber

)

Parameters

bstrUser

Extension of user to whom the number – the number of the party he is in a call with – is being sent.

 

lCallID

Call ID

 

bstrNumber

Telephone Telephone number conveyed, up to 31 characters.

 

Remarks

Signals a telephone number, if one has been received. No number is signalled for calls from the analogue 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 (“Switch 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.

 

See also

Server events overview | OnCallState | Call states

 


Send feedback to TAPIMaster®

© 2020 Tino Kasubke. All rights reserved.