Call Center Studio CRM Integration Document
Intro
Call Center Studio is a technology company that aims to offer all the call center functions as a ''service'' to businesses that want to offer their customers an enterprise grade call center. Many layers of the application have been designed to work integrated with the customer, so Call Center Studio customers go beyond their competitors in shaping the call center infrastructure according to their inquiries.
Aim
Our target is to make sure that the call center staff leverage many Call Center Studio features such as answering calls, making a one-touch call, automatically accessing the customer record, viewing the call results via CRM etc.
APIs
1. Login: Restful API that is used for the agent to login to Call Center Studio.
2. Generic Softphone: Our 3rd party application for single page applications that can be recalled with iframe.
3. click2call: Restful API that allows the agent to initiate a call from anywhere, with the information of session and number to call.
4. reportsCDRLogs : Restful API used to obtain CDR logs, where the information regarding the results of relevant calls are kept.
Beginning
All the required definitions are conducted on this box and saved via the save button.
In order to see the saved App_token, the edit button of the relevant app_token on the interface must be clicked.
Login
The value of the mentioned session parameter should be stored in Heap memory (browser cookie) by Call Center Studio for 8-12 hours. This session parameter should be used when performing automatic softphone login via iframe and using other Public API. You can simply renew the session and repeat the request, if the login parameter returns false in the response, You can continue to store your new session in heap memory.
Call Center Studio Generic Softphone application (referred to as iframe in conversations) is a webRTC-based single page application designed for the softphone component used by agents on the Call Center Studio agent screen to work embedded within other applications. In our application where the transfer is made with the webRTC, the socket connection between the client and the server can leave the active call plugged in the system because the websocket is not reconnected when events such as closing occur, that call is open until the customer hangs up or the supervisor intervenes.
This is a natural process for applications that communicate via webRTC. This is a critical situation in call-based systems. For this reason, our generic softphone application can work perfectly within the applications that are built with single page application architecture.
Method: Get
Click2call
Used to make calls with a single click, by clicking onto the phone number on CRM.
Here, all the details regarding the call can be accessed by requesting the activecallkey parameter to the CDR logs api with the call_id parameter.
ReportsCDRLogs
Used to access details regarding the calls.
a) startdate = [initiation date of calls.]
b) finishdate = [termination date of calls.]
a) activecallkey = [Unique ID of the call]
Successful Answer Coming from API:
The cursor value returns on every request. If the record is found, it becomes a list of calls in the CallList sequence. If the request is thrown with the active call key, there will be 1 record if there is a match and the array will be empty if there is no match.
If the start and end date requests are sent, a maximum of 100 records will be returned, if there is no match, the array will be empty.
Call and Incoming Call Notifications
While designing an IVR, the call notification step is defined into it.
When the call is terminated, the request is forwarded to the specified service as a querystring. (Transmitted as GET)
If the transmitted information is not sufficient, the variables related to the call can be reached by sending a request to the CDR API with the activecallkey information.