Creating an OpenCTI Desktop connector
To use the OpenCTI Desktop framework to integrate Pega Call with a third-party Computer Telephony Integration (CTI) system, create your implementation file, and then create an OpenCTI Desktop link.
- In Dev Studio, enter
pega_cti_desktopAPI
in the search bar. - Click the
pega_cti_desktopAPI.js
file to open it. - Click Save as to create an instance of the file. This instance is your JavaScript implementation file.
- Change the object name and name space from
pega.cti.desktopApi
tocustom.cti.desktopApi.
MyConnectorName. - Click Create and open.
- In the file, set the object name and name space.Replacewith
/* @public - Prototype definition for pega.cti.desktopApi */ pega.cti.desktopApi = function() { }; pega.cti.desktopApi.prototype = {
/* @public - Prototype definition for custom.cti.desktopApi.MyConnectorName */ custom.cti.desktopApi.MyConnectorName = function() { }; custom.cti.desktopApi.MyConnectorName.prototype = {
- Click Save.
- In the navigation pane of App studio, click .
- In the list of computer telephony integration (CTI) settings, click CTI link setup.
- On the CTI link setup page, click Add new link.
- Enter a name and description for the link.
- In the Link list, select
OpenCTIDesktop.The page displays additional settings that are specific to OpenCTI Desktop links.
- In the Javascript object field, enter
custom.cti.desktopApi.
MyConnectorName. - In the Primary server url field, enter the URL address of your server.
- Optional: To enter the URL address of your failover server, use the Failover server url field.
- Confirm your updates by clicking Save.
Previous topic Creating your application context Next topic Setting the version of your implementation