Last updated: 2019-09-17
Computer Telephony Integration Framework
CTI framework would enable the user to build and integrate telephone system with Freshservice. The integration would provide softphone framework that can be used to build softphone within Freshservice.
A set of basic APIs would facilitate the user to access customer’s ticket history, take call notes, create Freshservice ticket from customer calls, thereby maintaining context for the entire conversation in Freshservice.
Please note:
Softphone IFrame
The softphone iframe can be used for rendering custom softphones and also enable certain custom features. Currently, Freshservice enables the user to open a particular ticket within Freshservice using the ticket ID from the iframe window. Similarly, the user can view requester information using the corresponding contact ID.
_Configure Softphone IFrame_

Note: Currently agent\_id is the only supported parameter.
The following table lists the available APIs:
| To: | Use API: |
| Open the iframe | window.parent.postMessage({action: "show\_softphone"}, '\*'); |
| Open ticket inside freshservice | window.parent.postMessage({action: "open\_ticket", value:<TICKET\_ID>}, '\*'); |
| Open contact inside freshservice | window.parent.postMessage({action: "open\_contact", value:<CONTACT\_ID>}, '\*'); |
Configure Click to Dial
The Click to Dial setting enables the user to send the parameters (requester\_number, agent\_id, ticket\_id, and requester\_id) when the corresponding field is clicked in the UI. Follow these steps to configure Click to Dial feature:
