Author Message
thburri
Joined: Oct 24, 2018
Messages: 11
Offline
Hello Everyone
Recently I managed to install and get to work my very first Snapin. The routing is described in my previous post:
https://www.devconnectprogram.com/forums/posts/list/23258.page
Now I have a Java question. The Call terminates in CM and for my Programm it is essentail for breeze to know, whether an Agent is connected or idle.

I tested this by calling my Station and then ask a colleague to call it as well.
The method getState() returns IDLE on both calls.
Is this due to the call terminating in cm or did I misunderstood something regarding the State of Paricipant?

I used this Source of Information for the method:
https://www.devconnectprogram.com/site/global/api-...ion/call/ParticipantState.html
SDK-Version is 3.4.
JoelEzell
Joined: Nov 15, 2013
Messages: 780
Offline
Hi, the "Participant" object in the Breeze API could perhaps more accurately be described as a "Participation". These are transient objects, associated only with a single call. After the call is over, the Participant state will forevermore be "Idle", because that user's participation in the call is done.

For your use case, there are a few paths you might consider:
* If Presence Services is part of the deployment, you could use PS APIs to see an agent's real-time telephony state (though not their real-time agent state such as ready, after-call work, etc)
* You could use ECC or an AES API to get the station's call events and derive telephony state from those events. Again, agent state is not available (there is no way for you to get that information)
smithclarkson001
Joined: Sep 29, 2019
Messages: 1
Offline
Thanks for ur valuable response...!

Redtube
Go to:   
Mobile view