11-04-2017 10:51 PM
Hi
We have developed Web Soft phone using Finesse REST API & Notification services. Soft phone has capabilities of change agent state with non ready category & ready as well as call controls like answer, hold, conference & switch lines. Soft phone and Rest APIs are responsding properly with in dev environment as well as in production for customer who are in my network. But few of customers who are outside my network is facing an issue with latency in response for change state and other call controls actions. Notification service is notifying response almost after 10 seconds for given rest api request. we are unable identify root cause of latency. As agents are handling with live customer and it is giving little weird on latency for call controls .Can someone provide if there are any inputs?
This issue is not happening frequently with agent and do we think it might some peak load issues?
is there way to correlate between request and response for Rest API & Notification service also how can we correlate request between Finesse & CTIOS Servers?
11-06-2017 12:11 PM
Hi,
I can't tell if you already done so from your post, but you probably want to identify if there is latency within the Finesse server or between the client and the Finesse server. You should take a look at the webservices logs and see when Finesse is actually getting the request and sending the response/notification. Since you say that it is working fine with it is within the network, I am going to assume the latency is between the client and Finesse. You should probably use wireshark to trace the request to see what is going on.
is there way to correlate between request and response for Rest API & Notification service
In order to correlate the request/response for the REST API and the notifications, you must use the requestId field when making the REST request. Please see this article: https://devnetsupport.cisco.com/hc/en-us/articles/115013114767-Correlating-the-REST-API-requests-to-the-notifications
can we correlate request between Finesse & CTIOS Servers
Finesse actually talks to the CTI server and not CTIOS. I want to clarify that so you don't get confused. I don't think that there is an ID to correlate between Finesse and the CTI server message. In the webservices logs, you can see the API request and you should see the message being sent out to the CTI server soon after. In those messages going out, there is a unique invoke id. I believe this ID passes all the way to the CTI server, so it can be used to search while looking through the CTI server logs. But there isn't one identifier from the actual rest request all the way to CTI.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide