Author Topic: SIP Server, GVP, MSML and User Data  (Read 4715 times)

Offline ldevanny

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
SIP Server, GVP, MSML and User Data
« on: April 28, 2011, 11:47:58 AM »
Hi All,

I'm trying to integrate an MSML enabled SIP server with GVP 8.1. In a routing strategy, if I apply a treatment (TreatmentPlayApplication) and call a VXML application which adds user data to the call SIP server does not detect the newly generated user data. Here is an example resulting from the VXML app.

INFO sip:00XXXXXXXXX@XX.XX.XX.XX:5060 SIP/2.0
Via: SIP/2.0/TCP XX.XX.XX.XX:5060;branch=z9hG4bK1159d118b94e59abcdef09
Via: SIP/2.0/TCP XX.XX.XX.XX:5070;branch=z9hG4bK1af07b70b94e59;received=XX.XX.XX.XX
From: <sip:GVP_KX@XX.XX.XX.XX:5060>;tag=A3565000-1A14-7962-7201-1CA59FCE8B76
To: sip:00XXXXXXXXX@XX.XX.XX.XX;tag=00476BC0-4640-1DB9-B305-1CB60C0AAA77-12
Max-Forwards: 69
CSeq: 1 INFO
Call-ID: 00476B98-4640-1DB9-B305-1CB60C0AAA77-5@XX.XX.XX.XX
Content-Length: 652
Content-Type: application/vnd.radisys.msml+xml
X-Genesys-GVP-Session-ID: A3565000-C707-600F-746C-716EE9D5F528;gvp.rm.datanodes=2|1;gvp.rm.tenant-id=101_IVRAppDefault
X-Genesys-Brand: MyBrand
X-Genesys-Channel: IVR
X-Genesys-AccessID: 11447700
X-Genesys-AccessIDType: TYPE
Remote-Party-ID: <sip:00XXXXXXXXX@XX.XX.XX.XX>;party=calling;screen=yes;privacy=off
Date: Thu, 28 Apr 2011 11:24:00 GMT
Cisco-Guid: 3652091789-1891635680-2361021557-3504984704
User-Agent: Cisco-SIPGateway/IOS-12.x
Timestamp: 1303989840
Expires: 180
X-Genesys-geo-location: KX
Min-SE: 90
Supported: timer, uui

<?xml version="1.0" encoding="US-ASCII"?>
<msml version="1.1">
<event name="msml.dialog.exit" id="conn:A3565000-1A14-7962-7201-1CA59FCE8B76/dialog:ivr_application">
<name>AccessID</name>
<value>11447700</value>
<name>AccessIDType</name>
<value>TYPE</value>
<name>AuthenticationApplication</name>
<value>MyBrand IVR</value>
<name>AuthenticationMethod</name>
<value>DTMF</value>
<name>Brand</name>
<value>MyBrand</value>
<name>Channel</name>
<value>IVR</value>
<name>IVR_ExitCode</name>
<value>UE</value>
<name>IVR_ExitReason</name>
<value>No Response</value>
<name>IVR_Result</name>
<value>3</value>
<name>__reason</name>
<value>exit</value>
</event>
</msml>

What I have deduced is that GVP 8.1, when integrated with SIP server uses Content-Type: application/x-www-form-urlencoded in any SIP INFO message that contains extensions that should be mapped to user data. However when you enable MSML on SIP server the content type in SIP signaling for a PlayApplication treatment is Content-Type: application/vnd.radisys.msml+xml as shown above.. this results in no EventAttachedDataChanged.

Has anyone encountered this issue? Is there another way attached data get be processed by SIP server when MSML is enabled as opposed to Netann?

Anyone had similar issues?

Offline René

  • Administrator
  • Hero Member
  • *****
  • Posts: 1832
  • Karma: 62
Re: SIP Server, GVP, MSML and User Data
« Reply #1 on: April 29, 2011, 08:45:52 AM »
Hi,

Can you post here full SIP Server log showing request to play announcement and messages related to this?

R.

Offline ldevanny

  • Newbie
  • *
  • Posts: 4
  • Karma: 0
Re: SIP Server, GVP, MSML and User Data
« Reply #2 on: April 29, 2011, 10:47:07 AM »
I'm having trouble attaching anything to my post. Getting an error saying the upload directory is not writable. Can I share the log with you in another way?

Just out of interest I started dissecting MCP and found that the Prompt & Collect treatment is actually just a simple piece of VXML. If I attempt a Prompt and Collect the DTMF I enter is actually recognized by SIP server. Looking at the MSML content from a prompt and collect I see:


<?xml version="1.0" encoding="US-ASCII"?>
<msml version="1.1">
<event name="app.digits" id="conn:A3565000-1A14-8607-5DCB-F6767791A7AD/dialog:AnnouncementAndDigits">
<name>dtmf.digits</name>
<value>#</value>
<name>dtmf.end</name>
<value>undefined</value>
</event>
</msml>

And from a PlayApplication:

<?xml version="1.0" encoding="US-ASCII"?>
<msml version="1.1">
<event name="msml.dialog.exit" id="conn:A3565000-1A14-76D9-2FDB-B4DFB844AB5C/dialog:ivr_application">
<name>AccessID</name>
<value>11447700</value>
<name>AccessIDType</name>
<value>AccessType</value>
<name>Authenticated</name>
<value>N</value>
<name>AuthenticationApplication</name>
<value>MyBrand IVR</value>
<name>AuthenticationMethod</name>
<value>DTMF</value>
<name>Brand</name>
<value>MyBrand</value>
<name>Channel</name>
<value>IVR</value>
<name>IVR_ExitCode</name>
<value>UE</value>
<name>IVR_ExitReason</name>
<value>No Response</value>
<name>IVR_Result</name>
<value>3</value>
<name>__reason</name>
<value>exit</value>
</event>
</msml>

Please let me know how I can make the log available to the forum members and I will provide it right away.