Genesys CTI User Forum

Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: magellan94 on April 20, 2012, 09:40:08 AM

Title: [Beginner] Getting a attached Data from Genesys after a reconnection
Post by: magellan94 on April 20, 2012, 09:40:08 AM
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]
Title: Re: [Beginner] Getting a attached Data from Genesys after a reconnection
Post by: cavagnaro on April 20, 2012, 02:38:35 PM
I don't know the method name but should be UserData not Reasons I think
Title: Re: [Beginner] Getting a attached Data from Genesys after a reconnection
Post by: magellan94 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;)
Title: Re: [Beginner] Getting a attached Data from Genesys after a reconnection
Post by: cavagnaro 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...
Title: Re: [Beginner] Getting a attached Data from Genesys after a reconnection
Post by: Fra on May 02, 2012, 05:05:26 PM
Should you not retrieve the list of active ConnIDs on your DN first and then use the UserData for a specific ConnID?

Fra