08-07-2023 06:30 AM
Hello everybody,
I need to know which Authentication and Authorization mechanism should I use when developing a custom agent or supervisor desktop application. Please take in into account I'm using JTAPI for call management and Cisco Finesse API for agent managenent functionalities
08-10-2023 12:57 AM
Hey.
For realtime events i think you should use the notification interface
Subscription Management - Finesse - Document - Cisco Developer
For Agent Mangement use the restAPI
It uses Basic Auth with every restCall
Why use Jtapi for CallControl ?
08-14-2023 04:52 AM
Hi Thomas, Thank you for your reply. Rest APIs do not allow agents to reject incoming calls. However, we need agents with the authority to reject incoming calls and JTAPI provides this functionality. Therefore, I want to use JTAPI for call management functions, including real-time call events. But I will use notification service for real time events about agent activities. If you have any suggestions regarding the situation, I would be very grateful for your consultation.
Also, I want to implement user management system that integrates with any Cisco authentication system. Is there any solution for this?
Thanks in advance!
08-15-2023 12:43 AM
You right - Finesse API doesn't allowed to reject incomming ACD calls. And that is for a reason
And i will recommend that you dont give the agent the possibility. You can end up i a really bad scenario if the agent reject and incoming ICD call.
Look at this scenario.
You have 3 agents. 2 talking (or not available), 1 available.
This is happening because the agent goes from avail -> reserved -> avail -> reserved ....... (I have just testet it with an jabber)
When you reject a ICD call on the phone (or jtapi), the agent goes back in ready).
That's why the RONA is there. Then the agent goes not ready.
Then you wil probaly say - we always have more then 1 agent available, so this will never happen. I wil just say - yes it will some day,
So if the agent don't want to answer calls - go in Not Ready, or let the phone rings out so it goes in RONA.
Just be cautions.....
08-15-2023 06:38 AM
I totally agree with you. Suppose we decide not to give the agent this possibility, even though it's not only my decision. Why should I use the notification service instead of JTAPI? What are the benefits? How can I decide which one to choose?
08-16-2023 12:32 AM - edited 08-16-2023 12:33 AM
The Notification service is event based websocket you subscribe to.
And it is much more easy to work with then JTAPI (Notification service is pure JSON).
If you want to do some changes to the agent (change state etc), you can only do that thru the finesse REST
So.
JTAPI -> CUCM for you phone (Answer/Drop etc.)
Notification Service -> UCCX events for the agent
Finesse REST -> Agent state change / diaolog change (Answer/drop etc) etc.
08-16-2023 03:18 AM
You touched on some very solid points. Maybe we should reconsider choosing APIs.
But at one point there was a misunderstanding. In the documentation there is only xml for the notification service, no json. Is there actually a json option?
08-16-2023 08:12 AM
Hi,
Everything Thomas said is on point.
In the documentation there is only xml for the notification service, no json. Is there actually a json option?
The notification is indeed only XML, but there are many libraries out there to parse XML and convert it to other objects such as JSON format.
Thanx,
Denise
08-17-2023 04:08 AM
Hello Dekwan,
Thank you for your answer. It's obvious that we can parse XML
Do you have any suggestions for a more advanced Cisco(UCCX) auth mechanism than Finesse rest API Basic Auth, that I can integrate with my Custom User management system ?
08-17-2023 09:22 AM
Hi,
You can use SSO to authenticate the Finesse REST APIs: https://developer.cisco.com/docs/finesse/#!rest-api-with-sso-guide-client-integration
Thanx,
Denise
08-20-2023 06:14 AM
What about Cisco Identity Service Client SDK ? What is the purpose of SDK ?
08-23-2023 09:11 PM
The Cisco Identity Service Client SDK just gives you the token that is needed for the Finesse APIs using SSO.
08-17-2023 04:41 AM
Sorry - mistype. It is XML
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