CTI Events
ADITO provides 2 processes when a call is made.
The ctiClientEvents is only called if a suitable client is logged in and the process runs in the client context. A notification can be sent to the client. The ctiServerEvents process, on the other hand, is always called if it exists, even if no suitable client is logged in. Thus, for example, a call can always be reliably logged.
Processes
The CTI-library (system.cti) includes actions to handle the connection to your provider e.g. answer a call etc.
The description of each method shows how to use it, if you have to customize your handling with telephony.
You also have access to different local variables:
Variable | Description |
---|---|
$local.action | Current action of the CTI module |
$local.callID | ID of the caller |
$local.localAddress | Your local phone address |
$local.localID | ID of your contact |
$local.callAddress | Address of the caller |
$local.callIsIncoming | Incoming call |
$local.callState | State of the call |
$local.privateData2 | Information of the caller |