" /> GVP tenant ID in Play Application Block - Genesys CTI User Forum

Author Topic: GVP tenant ID in Play Application Block  (Read 13870 times)

Offline PFCCWA

  • Hero Member
  • *****
  • Posts: 655
  • Karma: -7
GVP tenant ID in Play Application Block
« on: March 04, 2013, 04:24:50 PM »
Advertisement
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.

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: GVP tenant ID in Play Application Block
« Reply #1 on: March 04, 2013, 05:03:40 PM »
Maybe this can help
http://www.sggu.com/smf/index.php/topic,7573.0.html

Offline rpenney

  • Jr. Member
  • **
  • Posts: 64
  • Karma: 2
Re: GVP tenant ID in Play Application Block
« Reply #2 on: March 07, 2013, 06:06:48 AM »
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

Offline bandorka

  • Full Member
  • ***
  • Posts: 120
  • Karma: 1
Re: GVP tenant ID in Play Application Block
« Reply #3 on: March 07, 2013, 07:58:51 AM »
gvp-tenent-id = gvp-tenant-id
Maybe you mispelled?

Offline PFCCWA

  • Hero Member
  • *****
  • Posts: 655
  • Karma: -7
Re: GVP tenant ID in Play Application Block
« Reply #4 on: March 07, 2013, 04:47:22 PM »
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.

Offline bublepaw

  • Sr. Member
  • ****
  • Posts: 283
  • Karma: 10
Re: GVP tenant ID in Play Application Block
« Reply #5 on: March 07, 2013, 05:36:49 PM »
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

Offline PFCCWA

  • Hero Member
  • *****
  • Posts: 655
  • Karma: -7
Re: GVP tenant ID in Play Application Block
« Reply #6 on: March 07, 2013, 06:41:09 PM »
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.

Offline bublepaw

  • Sr. Member
  • ****
  • Posts: 283
  • Karma: 10
Re: GVP tenant ID in Play Application Block
« Reply #7 on: March 07, 2013, 07:27:11 PM »
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.

Offline PFCCWA

  • Hero Member
  • *****
  • Posts: 655
  • Karma: -7
Re: GVP tenant ID in Play Application Block
« Reply #8 on: March 08, 2013, 11:18:45 AM »
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.
« Last Edit: March 08, 2013, 11:21:49 AM by PFCCWA »

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: GVP tenant ID in Play Application Block
« Reply #9 on: March 08, 2013, 12:08:47 PM »
shouldn't the attach data for GVP have to start with X-Genesys?

Offline PFCCWA

  • Hero Member
  • *****
  • Posts: 655
  • Karma: -7
Re: GVP tenant ID in Play Application Block
« Reply #10 on: March 08, 2013, 12:46:05 PM »
[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?

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: GVP tenant ID in Play Application Block
« Reply #11 on: March 08, 2013, 01:07:10 PM »
I mean, your parameter is:
X-Genesys-gsw-ivr-profile-name

but your attach data is:
gsw-ivr-profile-name

Offline PFCCWA

  • Hero Member
  • *****
  • Posts: 655
  • Karma: -7
Re: GVP tenant ID in Play Application Block
« Reply #12 on: March 08, 2013, 04:42:07 PM »
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.

Offline Kubig

  • Hero Member
  • *****
  • Posts: 2755
  • Karma: 44
Re: GVP tenant ID in Play Application Block
« Reply #13 on: March 08, 2013, 09:51:31 PM »
You have to use KVP "gsw-ivr-profile-id",not "gsw-ivr-profile-name" as you wrote.

Offline bublepaw

  • Sr. Member
  • ****
  • Posts: 283
  • Karma: 10
Re: GVP tenant ID in Play Application Block
« Reply #14 on: March 09, 2013, 08:54:23 PM »
One more thing gsw-ivr-profile-id should contain DBID of profile - not profile name