" /> AgentID returned as Null in TServerEvents such as Event Released - Genesys CTI User Forum

Author Topic: AgentID returned as Null in TServerEvents such as Event Released  (Read 1444 times)

Offline ichatterjee

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
Advertisement
Hello Everyone,

We are in process of creating a CTI application using Genesys PSDK Java API. We are fairly new in dealing with various products of Genesys.

Current Problem is to retrieve agent Call when during call, connection with TServer breaks, i.e. our application is running inside a container which when restarted looses out connection with Tserver. On Restarting, we connect to TServer again , RegisterAddress and in EventRegistered, we figure out if active call was present.

We then RequestQueryCall (API) and get EventPartyInfo . Till this point is good but when we try to disconnect the call, using RequestReleaseCall(API) we get EventReleased but then AgentID is NULL. This creates problem for us because we are not able to distinguish the CallRelease event has come for which agent.

After RequestQueryCall, when RequestForAgentLogin is sent , [b]EventError is received with error code 1141 [/b], Error message: Request incompatible with current object.
Note:
TServer Proctol Version = 4.2
Genesys Java PSDK version =  Java 8.5 API Reference

I did read that we need to synchronize our application with Switch PBX upon reconnection with T-Server using RequestQueryServer (API) but could not figure out what exactly needs to be done.

Please help.
« Last Edit: January 10, 2018, 07:28:11 AM by ichatterjee »