Hi everyone!
I have a problem to solve. Actually i need to first find out if it has a possible solution.
[b]The scenario is the following:[/b]
- There is a front-end client which performs CTI functions using Genesys Platform SDK (like RequestMakeCall, RequestInitiateTransfer, RequestAgentLogin, RequestAgentLogout, etc.)
- Since the client is placed in a different network from our Agent SIP Server, we use a TServer Proxy (Load Distribution Server) to forward requests to our Agent SIPServer. The Agent Front-End connects and perform actions through this TServe Proxy.
- And we have our SIP Server which is responsible for logins and logouts of agents, and other stuffs
[b]The problem is:[/b]
When the agent client application finalizes/crashes or the pc dies for any reason, the AgentLogin keeps logged in and the agent cant re-login upon client re-start.
Analising logs, i found that the TServer Proxy receives and indication that the client died and the connection was ended:
16:36:13.585 Exception on 584 for 512 - (external)
16:36:13.585 client 584, sessionId=106169374 will be deleted from Sender(65339) & Receiver(584)
[color=red]16:36:13.585 Trc 04524 Client ' - SPv7203ST' disconnected[/color]
16:36:13.585 Removed 0 oustanding and 0 queued requests from clnt 584 (left 0 requests)
16:36:13.585 Removed 0 oustanding and 0 queued requests from clnt 584 (left 0 requests)
16:36:13.585 Removed 0 oustanding and 0 queued requests from clnt 584 (left 0 requests)
16:36:13.585 Clnt size for DN (047571) = 10
16:36:13.585 Client - SPv7203ST (584) unregistered for Call Monitoring
16:36:13.585 Client - SPv7203ST (584) unregistered for Call Monitoring Startup
16:36:13.585 Client - SPv7203ST (584) unregistered for Transaction Monitoring
16:36:13.585 Client - SPv7203ST (584) unregistered for Register All
16:36:13.585 Client - SPv7203ST (584) unregistered for VSP Control
16:36:13.585 sip_server_p : Left 17 clients
16:36:13.585 RemoveReceiver 584 ( - SPv7203ST)
When this message is received, TServer Proxy doesnt generate any RequestAgentLogout to SIPServer, and the that agent login associated to the client disconnected becomes locked to another login. A error is delivered to TServerProxy when a login requets is sent using the same AgentLogin (EventError).
I have logout-on-disconnect option enabled as "true" in Agent SIPServer, but since SIPServer's client is actually the TServerProxy (who really does all the requests) and its connection is still ok, SIPServer doesnt do anything to prevent this.
In my understanding, the LDS / TServerProxy component should send a RequestAgentLogout to SIPServer when a client associated to a agent logged in has a disconnection. I didnt find any option on LDS User Guide which could help solve this problem.
Help guys!