[Beginner] Getting a attached Data from Genesys after a reconnection

Hi All!

I come here to find an answer to something “strange”.

  1. I connect an app (CTI) to an AIL. Great, it works
  2. I attach datas. Great too, i see it on CcPulse.
  3. I simulate a connection loss (by killing my app for example).
  4. I connect back my app : I retrieve the place, the Dn, the user… but none of my attached datas.

Maybe i’m using a wrong method:


//i check the DnEvent de by a thread. it's not null :)
Map reasons = de.getTEventReasons();
//Here, the map is empty. Why?

I don’t know the method name but should be UserData not Reasons I think

thx for your answer. I’ve checked: that method gives the good datas if the connection is ok. so… i’ll look at an other method, 'cause it’s probably unusable when i lost the link between the client and the genesys server.

thx again;)

2 Likes

Well…if your agent PC loses connection to TServer there is nothing you can do…TServer is the one who holds all the info…unless you store a copy of that KVP list on your software for later use but you will miss any possible update…

Should you not retrieve the list of active ConnIDs on your DN first and then use the UserData for a specific ConnID?

Fra