" /> How to get Userdata from INFO Body - Genesys CTI User Forum

Author Topic: How to get Userdata from INFO Body  (Read 4711 times)

Offline naviat

  • Jr. Member
  • **
  • Posts: 54
  • Karma: 0
How to get Userdata from INFO Body
« on: October 14, 2014, 07:04:55 AM »
Advertisement
Dear all,
Anybody please help me to know how to get Userdata from INFO boday message using GVP Composer?

User Data is sent to MCP via SIP INFO body.

From: <sip:809123@10.84.9.166:5060>;tag=98565000-C48C-13E2-B94E-3969BE14E195
To: sip:1001@10.84.9.166;tag=00875D0C-0704-1438-B204-A409540AAA77-202175
Max-Forwards: 70
CSeq: 1 INFO
Call-ID: 00875CDA-0704-1438-B204-A409540AAA77-197868@10.84.9.166
Content-Length: 15
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Route: <sip:0x1bb33b60@10.84.9.167:5068;transport=TCP;lr;gvp.rm.datanodes=1;idtag=00000110>
X-Genesys-GVP-Session-ID: 98565000-AC36-ED39-1AEC-61656C42E536;gvp.rm.datanodes=1;gvp.rm.tenant-id=1_Tranfer_test
User-Agent: eyeBeam release 1100z stamp 47739
Min-SE: 90
X-Genesys-GVP-Session-Data: callsession=98565000-AC36-ED39-1AEC-61656C42E536;1;0;;;;Environment;Tranfer_test;
Supported: timer, uui
Text=0613777001

Thank you so much.

Offline gzooby

  • Full Member
  • ***
  • Posts: 141
  • Karma: 0
  • Software Engineer at Telefax S.A.
Re: How to get Userdata from INFO Body
« Reply #1 on: October 14, 2014, 01:28:21 PM »
Hi,
You mean you want to get in Composer data you have attached to the call?

Z

Offline naviat

  • Jr. Member
  • **
  • Posts: 54
  • Karma: 0
Re: How to get Userdata from INFO Body
« Reply #2 on: October 15, 2014, 01:54:01 AM »
Yes, Gzooby.
Can you help me!
Scenario:
1. GVP use Interaction Data block send infomation to Routing Point with Userdata - key name 'Text'='0613777001'
2. Routing Point make call out with destination number in 'Text'. and when route call failed, send call back GVP, still keep all User Data.
(Routing Point can get UserData successfully)
3. GVP use Interaction Data block again to get User Data - key name 'Text'.
Problem: GVP cannot get Userdata using Interaction Data block.

MCP logs:
From: <sip:809123@10.84.9.166:5060>;tag=98565000-C48C-13E2-B94E-3969BE14E195
To: sip:1001@10.84.9.166;tag=00875D0C-0704-1438-B204-A409540AAA77-202175
Max-Forwards: 70
CSeq: 1 INFO
Call-ID: 00875CDA-0704-1438-B204-A409540AAA77-197868@10.84.9.166
Content-Length: 15
Content-Type: application/x-www-form-urlencoded;charset=utf-8
Route: <sip:0x1bb33b60@10.84.9.167:5068;transport=TCP;lr;gvp.rm.datanodes=1;idtag=00000110>
X-Genesys-GVP-Session-ID: 98565000-AC36-ED39-1AEC-61656C42E536;gvp.rm.datanodes=1;gvp.rm.tenant-id=1_Tranfer_test
User-Agent: eyeBeam release 1100z stamp 47739
Min-SE: 90
X-Genesys-GVP-Session-Data: callsession=98565000-AC36-ED39-1AEC-61656C42E536;1;0;;;;Environment;Tranfer_test;
Supported: timer, uui

Text=0613777001


Errro logs:
fetch_end Done (revalidated):http://10.84.9.154:8080/testTransfer/include/common.js
2014-10-14T11:08:23.646 Int 50043 00B90143-100053E5 1187371904 fetch_end Done (revalidated):http://10.84.9.154:8080/testTransfer/include/ctic.js
2014-10-14T11:08:23.664 Int 50043 00B90143-100053E5 1188375424 fetch_end Done (revalidated):http://10.84.9.154:8080/testTransfer/include/json.js
2014-10-14T11:08:23.680 Int 50043 00B90143-100053E5 1189378944 fetch_end Done (revalidated):http://10.84.9.154:8080/testTransfer/include/DataAccess.js
2014-10-14T11:08:23.695 Int 50043 00B90143-100053E5 1190382464 fetch_end Done (revalidated):http://10.84.9.154:8080/testTransfer/Resources/Prompts/PromptSwitch.js
2014-10-14T11:08:23.710 Int 50043 00B90143-100053E5 1184361344 fetch_end Done (revalidated):http://10.84.9.154:8080/testTransfer/Resources/Prompts/en-US/en-US.js
2014-10-14T11:08:23.720 Int 50041 00B90143-100053E5 1184361344 compile_done :http://10.84.9.154:8080/testTransfer/src-gen/BackFromRP.vxml
2014-10-14T11:08:23.724 Int 50028 00B90143-100053E5 1184361344 form_enter
2014-10-14T11:08:23.724 Int 50029 00B90143-100053E5 1184361344 form_select :__FORMITEM_NAME_$326$_:BLOCK
2014-10-14T11:08:23.724 Int 50033 00B90143-100053E5 1184361344 goto :#Entry1
2014-10-14T11:08:23.724 Int 50030 00B90143-100053E5 1184361344 form_exit normal
2014-10-14T11:08:23.724 Int 50028 00B90143-100053E5 1184361344 form_enter :Entry1
2014-10-14T11:08:23.724 Int 50029 00B90143-100053E5 1184361344 form_select :Entry:BLOCK
2014-10-14T11:08:23.724 Int 50033 00B90143-100053E5 1184361344 goto :#InteractionData1
2014-10-14T11:08:23.724 Int 50030 00B90143-100053E5 1184361344 form_exit normal
2014-10-14T11:08:23.724 Int 50028 00B90143-100053E5 1184361344 form_enter :InteractionData1
2014-10-14T11:08:23.724 Int 50029 00B90143-100053E5 1184361344 form_select :__FORMITEM_NAME_$329$_:BLOCK
2014-10-14T11:08:23.724 Int 50034 00B90143-100053E5 1184361344 event error.com.genesyslab.composer.invalidkey:1|Missing InteractionData key 'Text'
2014-10-14T11:08:23.724 Int 50080 00B90143-100053E5 1184361344 event_handler_enter :error .|http://10.84.9.154:8080/testTransfer/src-gen/BackFromRP.vxml
2014-10-14T11:08:23.725 Int 50035 00B90143-100053E5 1184361344 log com.genesyslab.quality.failure:error event terminated session
2014-10-14T11:08:23.725 Int 50018 00B90143-100053E5 1191385984 prompt
2014-10-14T11:08:23.726 Int 50043 00B90143-100053E5 1191385984 fetch_end Done (file):file:///opt/gcti/mcp/audio/alaw/default_audio/sorry_there_has_been_an_error.vox
2014-10-14T11:08:23.726 Int 50134 00B90143-100053E5 1191385984 prompt_play audio|builtin:default_audio/sorry_there_has_been_an_error.vox
2014-10-14T11:08:25.815 Int 50019 00B90143-100053E5 1191385984 prompt_end done
2014-10-14T11:08:25.816 Int 50081 00B90143-100053E5 1183357824 event_handler_exit :error .
2014-10-14T11:08:25.816 Int 50030 00B90143-100053E5 1183357824 form_exit normal
2014-10-14T11:08:25.816 Int 50036 00B90143-100053E5 1183357824 appl_end
2014-10-14T11:08:25.825 Int 50001 00B90143-100053E5 1155259264 incall_end aplend

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: How to get Userdata from INFO Body
« Reply #3 on: October 15, 2014, 04:34:58 AM »
Its because data is not there, check URS logs

Offline naviat

  • Jr. Member
  • **
  • Posts: 54
  • Karma: 0
Re: How to get Userdata from INFO Body
« Reply #4 on: October 15, 2014, 11:18:12 AM »
No, we got Userdata 'Text'='0613777001' in URS logs.

received from 65204(HanoiIvrSIP)hniivrsip01:3000(fd=) message EventDiverted
        AttributeCallState      0
        AttributeCallType      1
        AttributePropagatedCallType    1
        AttributeCallID 630
        AttributeConnID 00a702531a639276
        AttributeCallUUID      '028GJJG70GA3HCG4KG4L82LAES0000JM'
        AttributeUserData      [731] 00 18 00 00..
                'CallUUID'      '01J1G8JPJGA3B2D6HC4L82LAES0000KQ'
              [color=red][b]  'Text'  '0613777001'[/b][/color]
                'GVP-Session-ID'        '98565000-AC36-6EAC-6D6C-F6F53E7B3B76;gvp.rm.datanodes=1;gvp.rm.tenant-id=1_Tranfer_test'
                'GVP-Session-Data'      'callsession=98565000-AC36-6EAC-6D6C-F6F53E7B3B76;1;0;;;;Environment;Tranfer_test;'
                'RRequestedSkills'(list)
                'CustomerSegment'      'default'
                'ServiceType'  'default'
                'ServiceObjective'      ''
                'RVQID' ''
                'RVQDBID'      ''
                'RTargetTypeSelected'  '100'
                'RTargetRuleSelected'  ''
                'RTargetObjectSelected' ''
                'RTargetObjSelDBID'    ''
                'RTargetAgentSelected'  ''
                'RTargetPlaceSelected'  ''
                'RTenant'      'Environment'
                'RStrategyName' 'Force'
                'RStrategyDBID' '535'
                'CBR-actual_volume'    ''
                'CBR-Interaction_cost'  ''
                'CBR-contract_DBIDs'    ''
                'CBR-IT-path_DBIDs'    ''
                'RRequestedSkillCombination'    ''
        AttributeDNIS  '809123'
        AttributeThisDN '99999'
        AttributeThisDNRole    2
        AttributeThisQueue      '99999'
        AttributeThirdPartyDN  '1089@10.84.9.166:5060'
        AttributeThirdPartyDNRole      2
        AttributeOtherDN        '1001'
        AttributeOtherDNRole    1
        AttributeExtensions    [23] 00 01 01 00..
                'BusinessCall'  1
        AttributeTimeinSecs    1413400051 (02:07:31)
        AttributeTimeinuSecs    435354
        AttributeEventSequenceNumber    000000000002ef75
02:07:32.369 Trc 20012 current number of interactions per second - 0.20
02:07:32.369 Trc 20013 current number of entries: for longest queue 0, for all queues 0
_G_I_ Version: 8.1.200.16

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: How to get Userdata from INFO Body
« Reply #5 on: October 15, 2014, 03:37:09 PM »
Ok now check MCP logs and see if attached

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2755
  • Karma: 44
Re: How to get Userdata from INFO Body
« Reply #6 on: October 16, 2014, 05:12:16 AM »
Why did you never read the documentation or search for other topics with similiar title? This problematic has been solved for many times here and within docs is entire section describing that funcionality.

May be little hint - User data prefix (X-Genesys)

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: How to get Userdata from INFO Body
« Reply #7 on: October 16, 2014, 12:25:45 PM »
I thought the same Kubig, but according to his description GVP does send the KVPs as URS with a strategy can handle it and do something with it. The problem would be the return to GVP.
Is CTI enabled for that second application?