Author Message
pragyan
Joined: Aug 22, 2017
Messages: 8
Offline
Hi,

I'm stucked into a scenario, Whether IPOCC supports multiple agent endpointtoken session in same system or not.
My scenario is as follows;
I'm trying to make calls from the agents who are currently available.

First call :
I Made a call from an agent (i.e. Agent1), and it's recieved by customer.

Second Call :
Now trying to make call from another free agent (i.e. Agent2) to different customer
Second Call is also connected

But here after I'm not getting any events from first call.
On rectifying IPOCC logs, I found that the first agents endpoint session for the first call is getting cleared
and a new session established with the second call.

Here are the following logs.

L2582d 15:48:20.416 WSC_Base_DB_Data AccessControlFacadeImpl.getAgent:> executing query: SELECT * from GlobalAccount where loginname=Agent2

L2583d 15:48:20.526 TC_General Loading SOAP Message Trace Handler
L2584d 15:48:20.540 WSC_SessionObjects SessionObjectPool:> created Session 321f9064-c591-4f69-abf7-09bfedbc16e0 with remote observer at http://172.16.2.183:7979/ws/EndpointObserver?wsdl

L2585d 15:48:20.540 WSC_SessionObjects SessionObjectPool:> detected existing session a4540cd6-7fcf-4ca1-b8a7-1e0f99a7b640 with same remote observer at http://172.16.2.183:7979/ws/EndpointObserver?wsdl --> droping old session

L2586d 15:48:20.540 WSC_SessionObjects SessionObjectPool:> removing Session a4540cd6-7fcf-4ca1-b8a7-1e0f99a7b640

L2630d 15:48:20.551 WSC_SessionObjects SessionObjectPool:> removed Session with Objects for Token a4540cd6-7fcf-4ca1-b8a7-1e0f99a7b640

L2633d 15:48:20.552 TC_Warning Endpoint.getStackTrace():> session a4540cd6-7fcf-4ca1-b8a7-1e0f99a7b640 worked on an notify URL that was just registered --> consider client was dead and reregisters --> session was released
L2634d 15:48:20.555 WSC_SOAP_Trace WS --> <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"><S:Body><onSessionCreated xmlns="http://task.wsc.cc.comergo.com" xmlns:ns2="http://types.wsc.cc.comergo.com" xmlns:ns3="http://umr.wsc.cc.comergo.com"><sessionToken>321f9064-c591-4f69-abf7-09bfedbc16e0</sessionToken></onSessionCreated></S:Body></S:Envelope>
L2635d 15:48:20.555 WSC_SOAP_Trace WS --> <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"><S:Body><createSessionResponse xmlns="http://task.wsc.cc.comergo.com" xmlns:ns2="http://types.wsc.cc.comergo.com" xmlns:ns3="http://umr.wsc.cc.comergo.com"><sessionToken>321f9064-c591-4f69-abf7-09bfedbc16e0</sessionToken></createSessionResponse></S:Body></S:Envelope>

L2656d 15:48:21.142 WSC_SOAP_Trace WS <-- <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"><S:Header/><S:Body><openAgent xmlns="http://task.wsc.cc.comergo.com" xmlns:ns2="http://types.wsc.cc.comergo.com"><sessionToken>321f9064-c591-4f69-abf7-09bfedbc16e0</sessionToken><agentId>3b4e095a42000300</agentId><taskType>Voice</taskType><surveilSession>false</surveilSession></openAgent></S:Body></S:Envelope>
L2657d 15:48:21.143 WSC_SessionObjects SessionObjectPool:> Session 321f9064-c591-4f69-abf7-09bfedbc16e0 :> created SessionObject b46e3b4f-76b9-4fbe-9333-05e3144c2238

L2658d 15:48:21.144 WSC_Base_TSM_Debug TSMFacade.getAgentByID(3b4e095a42000300, VOICE):> start to drop off query sequence to TSM

L2659d 15:48:21.145 WSC_SOAP_Trace WS --> <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"><S:Body><onEndpointOpened xmlns="http://task.wsc.cc.comergo.com" xmlns:ns2="http://types.wsc.cc.comergo.com" xmlns:ns3="http://umr.wsc.cc.comergo.com"><sessionToken>321f9064-c591-4f69-abf7-09bfedbc16e0</sessionToken><endpointToken>b46e3b4f-76b9-4fbe-9333-05e3144c2238</endpointToken><epId>3b4e095a42000300</epId></onEndpointOpened></S:Body></S:Envelope>




Does IPOCC supports multiple agent session ?
Can you please help me out of this scenario, where I'm making wrong.




Thanks,
Pragyan

WernerStein
Joined: Jan 10, 2018
Messages: 24
Offline
Hello Pragyan,


If you want to start multiple session you must not use the same EndPointObserver URL.


In your case "http://172.16.2.183:7979/ws/EndpointObserver?wsdl"


The Endpoint have to be unique!


But you don't need to create separate sessions to handle multiple agents, you can simply call openAgent for different Agents on the same session.

Regards,
Werner
pragyan
Joined: Aug 22, 2017
Messages: 8
Offline
Hi Werner,


Thanks for the reply.


Do we need to take any agent or admin's userid for creating session for the first time ??
so that we can call same session in different agent's openAgent .



Regards,

Pragyan
GeraldEppinger
Joined: Jan 10, 2018
Messages: 6
Offline

Hi Pragyan,
creating a session is just for authentication. You can use any agent for that.


If it's just an agent logging in, he would use his own credentials.

A monitoring App, working for many agents, would use a separately created 'agent' only for calling 'openAgent'. As a beautiful approach this 'agent' could be named 'WebService' and doesnt need any configuration for voice, email or chat!

Hope that helps

Regards
Gerald
Go to:   
Mobile view