" /> Getting UserData to Chat Server - Genesys CTI User Forum

Author Topic: Getting UserData to Chat Server  (Read 3380 times)

Offline Barn5ter

  • Newbie
  • *
  • Posts: 25
  • Karma: 0
Getting UserData to Chat Server
« on: October 27, 2015, 03:37:09 PM »
Advertisement
Hi there

For some reason I cannot seem to get UserData which shows up in Interaction Server to Chat Server? Any idea why Chat Server doesn't show it?

The end game is get a piece of attached data containing the transfer category when a chat is trasnferred to the customer chat window. I trying to find a way to get it on to the cometd channel of teh chat on BE server. But first steps first, if teh attached data isn;t getting from IXN Server to Chat Server then I guess i am going nowhere. Using an ESP block in this example and just attaching the InteractionID to start with:

09:43:27.989 Trc 26202 Sending third party server request to 'RTG_CHAT_01' at host 'XXXXX', port 4066, connection 2020, reference id 567:
attr_ref_id [int] = 567
attr_envelope [list, size (unpacked)=453] =
  'Version' [str] = "1.0"
  'AppName' [str] = "RTG_CHAT_01"
  'Service' [str] = "Chat"
  'Method' [str] = "Message"
  'TenantId' [int] = 101
  'Parameters' [list] = (size=329)
      'MessageText' [str] = "Your chat may be monitored and recorded for training, legal and compliance purposes. <P style="color:red"> ** Please do not share your full credit card information, security code or CVV during this chat ** </P> Please wait while we connect you to an expert, then ask your question."
      'nickname' [str] = "CategoryTest"
  'AppType' [int] = 59
attr_user_data [list, size (unpacked)=38] =
  'InteractionId' [str] = "0005FaB2US7P008K"

09:43:27.989 Trc 26020 Distributing message 'EventExternalServiceRequested' ('193'), message attributes:
attr_extension [list, size (unpacked)=46] =
  'ReportingEventSequenceNumber' [str] = "126556314"
attr_actor_type [int] = 1 [STRATEGY]
attr_actor_tenant_id [int] = 0
attr_actor_strategy_id [str] = "RTG_ORS_02A"
attr_actor_router_id [str] = "RTG_ORS_02A"
attr_event_time [str] = "2015-10-27T09:43:27Z"
attr_esp_client_refid [int] = 567
attr_esp_server_refid [int] = 29161
attr_esp_request_envelope [list, size (unpacked)=453] =
  'Version' [str] = "1.0"
  'AppName' [str] = "RTG_CHAT_01"
  'Service' [str] = "Chat"
  'Method' [str] = "Message"
  'TenantId' [int] = 101
  'Parameters' [list] = (size=329)
      'MessageText' [str] = "Your chat may be monitored and recorded for training, legal and compliance purposes. <P style="color:red"> ** Please do not share your full credit card information, security code or CVV during this chat ** </P> Please wait while we connect you to an Expert, then ask your question."
      'nickname' [str] = "CategoryTest"
  'AppType' [int] = 59
[b] attr_user_data [list, size (unpacked)=38] =
  'InteractionId' [str] = "0005FaB2US7P008K"[/b]
attr_esp_request_id [str] = "NHKU32JMG53CV57B8BPA0EKJES0000HN"

09:43:28.018 Trc 59461 ESP: received request from conn_id=564:1 with esp_refid=567 for intx=0005FaB2US7P008K. Content:
    Version [str] = "1.0"
    AppName [str] = "RTG_CHAT_01"
    Service [str] = "Chat"
    Method [str] = "Message"
    TenantId [int] = 101
    Parameters = [kvlist:]
        MessageText [str] = "Your chat may be monitored and recorded for training, legal and compliance purposes. <P style="color:red"> ** Please do not shar..." [truncated from size=284]
        nickname [str] = "CategoryTest"
    AppType [int] = 59
09:43:28.018 Int 59463 ESP: processing request {Message} from conn_id=564:1 with esp_refid=567 for intx=0005FaB2US7P008K with parameters:
        Nickname = system
        Visibility = ALL
        MessageText = "Your chat may be monitored and recorded for training, legal and compliance purposes. <P style="color:red"> ** Please do not shar..." [truncated from size=284]
09:43:28.018 Trc 59231 data: user=038C562F474000DA was created on conn_id=564:1, type=EXTERNAL, protocol=ESP, nickname=system
09:43:28.018 Int 59255 data: adding user=038C562F474000DA to session=038C562F473E00D9 with intx=0005FaB2US7P008K

Any clues?
Cheers
[/list][/list]

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: Getting UserData to Chat Server
« Reply #1 on: October 27, 2015, 04:04:18 PM »
Flex protocol can send data but not retrieve it

Offline Barn5ter

  • Newbie
  • *
  • Posts: 25
  • Karma: 0
Re: Getting UserData to Chat Server
« Reply #2 on: October 27, 2015, 04:19:26 PM »
Ok that's useful to know. So how do I send flex data using ORS?

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: Getting UserData to Chat Server
« Reply #3 on: October 27, 2015, 05:30:41 PM »
Again, from customer to Genesys ORS is vía interaction server, that is doable. ORS or URS as clients will see attach data.
What you can't do is send info to customer interface, you will need PSDK to do that.

Offline Barn5ter

  • Newbie
  • *
  • Posts: 25
  • Karma: 0
Re: Getting UserData to Chat Server
« Reply #4 on: October 28, 2015, 08:13:30 AM »
Ah - that would be my problem. Ok, got a ticket open, we will wait for Genesys to confirm exactly that. Ok - no dice then - thanks for replying though.

Offline Barn5ter

  • Newbie
  • *
  • Posts: 25
  • Karma: 0
Re: Getting UserData to Chat Server
« Reply #5 on: October 28, 2015, 09:48:24 AM »
What I do find strange is that on the Interaction Server event it has a UserData section, but that never gets populated to ChatServer?

Offline daniel_san

  • Jr. Member
  • **
  • Posts: 84
  • Karma: 1
Re: Getting UserData to Chat Server
« Reply #6 on: May 11, 2017, 02:50:04 PM »
Hi,

Any news about that?

I´m putting some attached data on chat interaction but i can´t see this data on Genesys Agent Scripting.

The same in Voice is working fine.

Regards.