CTI Client network functions (.NET)

OnCallNumber

Contents  Back  Next

Signals telephone number..

 

Event OnCallNumber

(

 object sender,

 int e.nType,

 zunt e.dwCallID

 String e.strNumber

)

Parameters

sender

object Telephony

 

e.nType

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

 

e.dwCallID

Call ID

 

e.strNumber

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 (eingehend) 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

Telephony overview

 


Send feedback to TAPIMaster®

© 2020 Tino Kasubke. All rights reserved.