Genesys CTI User Forum

Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: bandorka on February 02, 2015, 07:47:02 PM

Title: chat and user data
Post by: bandorka on February 02, 2015, 07:47:02 PM
Hi all,

Is it possible to get userdata from  a jsp script (previously attached in routing for example)? Unfortunately I couldn't found an example in any docs etc.
Thanks,

Bandorka
Title: Re: chat and user data
Post by: bandorka on February 03, 2015, 11:25:36 AM
No, I develop a chat solution based in eServices samples chat code. I want to get some userdata within my jsp code,
thanks for the answer
Title: Re: chat and user data
Post by: cavagnaro on February 03, 2015, 01:27:57 PM
Flex protocol has limits. You can attach but not read. You would have to develop using PSDK
Title: Re: chat and user data
Post by: gstkein on February 03, 2015, 01:46:54 PM
PSDK = Basic Chat Protocol, there is an example called Open Media Chat  Client
Title: Re: chat and user data
Post by: bandorka on February 03, 2015, 03:44:23 PM
Many thanks for the answers, I will look...
Title: Re: chat and user data
Post by: bandorka on February 05, 2015, 06:01:56 PM
In a strategy before a target block I use an external service call block. Unfortunately this esp request only arrived to the browser when an agent answered the chat. (approximately 15 secs). Is it possible that this request arrive earlier (immediately after login to chat server)?

thanks
Bandorka
Title: Re: chat and user data
Post by: cavagnaro on February 05, 2015, 06:32:50 PM
You mean you were able to send data to the customer Web interface? If so, can you please detail on the how?
About the 15 seconds I think is the time IXN server reads the DB and executes strategy again, maybe you can send to the agent only when UData is there and make it Delay while not
Title: Re: chat and user data
Post by: bandorka on February 10, 2015, 02:55:07 PM
Yes, the idea is that we "control" the chat interaction from routing. For example in out pre-route strategy we send a message via ESP: EWT:35 or close:we are closed, because... and then we display the EWT to the customer, or inform that we closed. The same thing, when the agent start a transfer...
Title: Re: chat and user data
Post by: cavagnaro on February 10, 2015, 03:17:42 PM
Can you share screenshot on a simple example?
Title: Re: chat and user data
Post by: bandorka on February 12, 2015, 08:53:04 AM
In the pre-route strategy:
[url=http://www.kephost.com/image/F8Vo]http://www.kephost.com/image/F8Vo[/url]

At the customer side:
http://www.kephost.com/image/F8VK
In the command window you see the tomcat stdout log where the chat application logging

And the code customization (HtmlChatCommand.jsp)
http://www.kephost.com/image/F8VP
Title: Re: chat and user data
Post by: cavagnaro on February 12, 2015, 11:56:27 AM
Question, why is the message sent after the queue target and not before?
Title: Re: chat and user data
Post by: bandorka on February 12, 2015, 12:14:31 PM
No significance (time relevance) if you put before the queue block, if you mean this