Genesys CTI User Forum
Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: PFCCWA on March 04, 2013, 04:24:50 PM
-
Hello,
I am trying to overcome an issue where a call fails in SIP if I have the gvp-tenant-id added to the Play Application block within IRD.
The line it self is :
[i]file://D:/Program%20Files/GCTI/Composer%208.0/workspace/JavaComposerProject/src-gen/ivr.vxml;gvp-tenent-id=PROFILE_IVR[/i]
SIP and MCP logs show an external fetch error.
If I remove the text from ...;gvp-tenant-id onwards, all works well.
I have seen a support ticket stating this issue can occur because sip to rm does not separate gvp-tenant-id from vxml:
[i]"Sip server is not sending a sip invite dialog but an MSML invite to RM.
RM does not parse the tenant id out from the APP URI and passes the entire string to MCP."[/i]
With a solution of:
[i]"Attach a piece of data called gsw-ivr-profile-name with the value of the ivr profile before the play treatment block.
Keep APP_URI as just http:\\was\app.vxml
Have userdata-map-filter set to *, or include this user data in the filter.
This value will get sent in the header info properly and the correct profile be used when RM sends to MCP."[/i]
I am wondering if this is the solution, and where the userdata-map-filter is defined.
We use sip 8.1, gvp mcp 8.1.5, gvp rm 8.1.5, urs 8.1.2, gvp rs 8.1.5 with voip services indirectly using rm to request media services.
thanks.
-
Maybe this can help
http://www.sggu.com/smf/index.php/topic,7573.0.html
-
I could be wrong but I dont think the "file://" access will let you have any parameters at all.
Deploy your app to a web server and try a http url to see if there is a difference
-
gvp-tenent-id = gvp-tenant-id
Maybe you mispelled?
-
Thats a typo, just tried again and same result with correct spelling.
The issue in the link is definitely the same problem I am experiencing.
We are using msml voip services to play announcements/applications.
The solution doesnt work for me.
The default profile increments within the call dashboard in GA voice platform section however the one I associate as attached data does not.
thanks.
-
Hi,
With attached data You have to use different header. As mentioned in my previous post gsw-ivr-profile-id is name used in headers while in rURI we use gvp-tenant-id. With msml enabled You have to use gsw-ivr-profile-id
-
To get this right.
In ird strategy add an attach block with key=gsw-ivr-profile-id, and value=ivrprofilename, followed by play application block without gvp-tenant-id in URI?
Where should the userdata-map-filter option be set? sipserver? voips (msml and application voips?). What value should it be set? to *?
Im pretty sure all this was followed by RM continued to associate the default ivr profile.
thanks.
-
You got it correct PFCCWA, userdata-map-filter should be set on voips with type msml. I am against putting * in this option (in anyt case) as it tend to generate huge SIP messages. Put there names of all attached data that You want to send from URS to GVP app. This option is not affecting attached data transfer from GVP to URS.
-
I have folllowed it through but cannot get the IVR Profile to increment within GA IVR Profile Utilization Section.
[u][b]SIP Logs show attached data correctly:[/b][/u]
'gsw-ivr-profile-name' 'PROFILE_IVR'
'GVP-Session-ID' 'EBCA3DF7-DD39-4107-49A4-1EAF5D4F97B5;gvp.rm.datanodes=1;gvp.rm.tenant-id=101_PROFILE_DEFAULT
'geo-location' 'geo1'
'GVP-Session-Data' 'callsession=EBCA3DF7-DD39-4107-49A4-1EAF5D4F97B5;1;0;;;;Resources;PROFILE_DEFAULT;'
<?xml version="1.0" encoding="UTF-8"?>
<msml version="1.1">
<dialogstart target="conn:C23F62DE-83D9-4FBB-26B7-0231469042C7" name="ivr_application" src="file://D:/Program%20Files/GCTI/Composer%208.0/workspace/JavaComposerProject/src-gen/IVR.vxml" type="application/vxml+xml">
<gvp:params>
<gvp:param name="X-Genesys-gsw-ivr-profile-name">PROFILE_IVR</gvp:param>
</gvp:params>
</dialogstart>
</msml>
The default ivr profile is incrementing data within the dashboard.
If I change the default ivr profile to PROFILE_IVR , then it increments as well.
thanks.
-
shouldn't the attach data for GVP have to start with X-Genesys?
-
[quote author=cavagnaro link=topic=7697.msg33316#msg33316 date=1362744527]
shouldn't the attach data for GVP have to start with X-Genesys?
[/quote]
There is a sipserver option, userdata-map-trans-prefix, with value=-X-Genesys-.
This attaches the X-Genesys- to the KVP as per sip log above.
[i]<gvp:param name="X-Genesys-gsw-ivr-profile-name">PROFILE_IVR</gvp:param>[/i]
Is this what you mean?
-
I mean, your parameter is:
X-Genesys-gsw-ivr-profile-name
but your attach data is:
gsw-ivr-profile-name
-
The parameter is generated automatically.
If I add X-Genesys- to the key within the attach block of the strategy, sip logs no longer generate that dialogstart target information.
In addition the ivr profile still does not increment in this scenario, and once again the default profile does.
-
You have to use KVP "gsw-ivr-profile-id",not "gsw-ivr-profile-name" as you wrote.
-
One more thing gsw-ivr-profile-id should contain DBID of profile - not profile name