CTI Client events (ActiveX)OnCallNumber |
Signals telephone number.
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).
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
See also Events overview | OnCallState | Call states
© 2020 Tino Kasubke. All rights reserved.
|