" /> [Beginner] Getting a attached Data from Genesys after a reconnection - Genesys CTI User Forum

Author Topic: [Beginner] Getting a attached Data from Genesys after a reconnection  (Read 5176 times)

Offline magellan94

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Advertisement
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:
[code]
//i check the DnEvent de by a thread. it's not null :)
Map reasons = de.getTEventReasons();
//Here, the map is empty. Why?
[/code]
« Last Edit: April 20, 2012, 09:42:44 AM by magellan94 »

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: [Beginner] Getting a attached Data from Genesys after a reconnection
« Reply #1 on: April 20, 2012, 02:38:35 PM »
I don't know the method name but should be UserData not Reasons I think

Offline magellan94

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: [Beginner] Getting a attached Data from Genesys after a reconnection
« Reply #2 on: April 23, 2012, 08:21:19 AM »
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;)

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: [Beginner] Getting a attached Data from Genesys after a reconnection
« Reply #3 on: April 23, 2012, 02:03:51 PM »
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...

Offline Fra

  • Hero Member
  • *****
  • Posts: 856
  • Karma: -3
Should you not retrieve the list of active ConnIDs on your DN first and then use the UserData for a specific ConnID?

Fra