CTI Client SQL functions (C++ CTI API)SQL |
Use of SQL functions In telephony applications it is often necessary to access a database, in order, for example, to display further information beyond a telephone number: address, notes, etc. The CTI-server already uses database connections in order to identify caller numbers and save call data records. You may use a third database connection to perform your own queries. First configure the data source on the CTI-Server. This can be set on the "Database interface" page of the server control panel.
It is then recommended to test the commands CTI_SQLLogin, CTI_SQLBegin, CTI_SQLNext and CTI_SQLEnd using the CTI-Browser.
Prefix The SQL functions start with the prefix "SQL_".
Retrieve addresses from the master database The database for caller number identification can also be used in reverse to get a number from a name.
Queries with additional database connections Use the following commands for your own database queries.
Steps in an example session
See also
© 2020 Tino Kasubke. All rights reserved.
|