" /> chat and user data - Genesys CTI User Forum

Author Topic: chat and user data  (Read 4624 times)

Offline bandorka

  • Full Member
  • ***
  • Posts: 120
  • Karma: 1
chat and user data
« on: February 02, 2015, 07:47:02 PM »
Advertisement
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

Offline bandorka

  • Full Member
  • ***
  • Posts: 120
  • Karma: 1
Re: chat and user data
« Reply #1 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

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: chat and user data
« Reply #2 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

Offline gstkein

  • Jr. Member
  • **
  • Posts: 56
  • Karma: 4
Re: chat and user data
« Reply #3 on: February 03, 2015, 01:46:54 PM »
PSDK = Basic Chat Protocol, there is an example called Open Media Chat  Client

Offline bandorka

  • Full Member
  • ***
  • Posts: 120
  • Karma: 1
Re: chat and user data
« Reply #4 on: February 03, 2015, 03:44:23 PM »
Many thanks for the answers, I will look...

Offline bandorka

  • Full Member
  • ***
  • Posts: 120
  • Karma: 1
Re: chat and user data
« Reply #5 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

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: chat and user data
« Reply #6 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

Offline bandorka

  • Full Member
  • ***
  • Posts: 120
  • Karma: 1
Re: chat and user data
« Reply #7 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...

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: chat and user data
« Reply #8 on: February 10, 2015, 03:17:42 PM »
Can you share screenshot on a simple example?

Offline bandorka

  • Full Member
  • ***
  • Posts: 120
  • Karma: 1
Re: chat and user data
« Reply #9 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

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: chat and user data
« Reply #10 on: February 12, 2015, 11:56:27 AM »
Question, why is the message sent after the queue target and not before?

Offline bandorka

  • Full Member
  • ***
  • Posts: 120
  • Karma: 1
Re: chat and user data
« Reply #11 on: February 12, 2015, 12:14:31 PM »
No significance (time relevance) if you put before the queue block, if you mean this