" /> GVP IVR Application can not be called from routing strategy using playapp block? - Genesys CTI User Forum

Author Topic: GVP IVR Application can not be called from routing strategy using playapp block?  (Read 17299 times)

Offline kevinwang

  • Full Member
  • ***
  • Posts: 159
  • Karma: 0
Advertisement
I tried to call a gvp voice applicaition from a routing strategy in a standlone GVP system, no third party tserver, pbx involved.
the voice application can not be called successfully.

In sip server log, after requestApplyTreatment, there is always an eventTreatmentNotApplied.

I got the error message  from RM like below:


7.28.85.44:5068;voicexml=http://7.28.85.44:8080/CRA/src-gen/CRA.vxml
2009-02-27 20:04:58.875 DBUG 00000000-00000000 5224 09400901 CCPSIPProxyCoreProcessor.cxx:1117 New call session
2009-02-27 20:04:58.875 DBUG 00000000-00000000 5224 09400901 CCPSIPProxyCoreProcessor.cxx:1185 Cluster Information: primary=1 secondary=0
2009-02-27 20:04:58.875 DBUG 00000000-00000000 5224 09400901 PolicyModule.cxx:155 FBEE8A82-A4C2-4545-86BA-756DE2D3EB2B New Call Session Request-URI : sip:dialog@7.28.85.44:5068;voicexml=http://7.28.85.44:8080/CRA/src-gen/CRA.vxml
2009-02-27 20:04:58.875 DBUG 00000000-00000000 5224 09400901 PolicyModule.cxx:218 FBEE8A82-A4C2-4545-86BA-756DE2D3EB2B Handling call using call tenant Resources
2009-02-27 20:04:58.890 DBUG 00000000-00000000 5224 09400901 PolicyModule.cxx:1486 getGVPTenantId returned GVPTenantID:  IncomingApp:
2009-02-27 20:04:58.890 DBUG 00000000-00000000 5224 09400901 PolicyModule.cxx:793 Incoming App from header is:  bIsDbid: 0
2009-02-27T20:04:58.921 Std 20024 EROR 00000000-00000000 5224 09400212 Default IVR Profile not found for Tenant[Resources]
2009-02-27T20:04:58.921 Std 20022 EROR 00000000-00000000 5224 09400210 Matching IVR profile/tenant could not be found [CallSessionID: FBEE8A82-A4C2-4545-86BA-756DE2D3EB2B CallID: D2B7EA0F-CF63-42EC-B9BA-88A97F26FBFC-1@7.28.85.44]
2009-02-27T20:04:58.921 Std 20126 EROR 00000000-00000000 5224 0940023F PolicyModule RequestResource failed: -7 Call Session: FBEE8A82-A4C2-4545-86BA-756DE2D3EB2B
2009-02-27 20:04:58.921 DBUG 00000000-00000000 5224 08500000 VGSIPTransport.cxx:612 VGSIPTransport::ResolveDNS for 7.28.85.44
2009-02-27 20:04:58.921 DBUG 00000000-00000000 5224 09400901 CCPSIPMessageInterceptor.h:577 RM - SIP Message sent (434): SIP/2.0 404 Not Found
Via: SIP/2.0/UDP 7.28.85.44:5060;branch=z9hG4bKBC9AAE2D-493E-47F1-8103-06FE554BF79B-1
From: <sip:2003@7.28.85.44:5060>;tag=5807A08B-CEC8-42E1-B73B-4363C05A53BD-2
To: <sip:PlayApp@7.28.85.44:5060>;tag=8B246653-2623-4025-0CA9-980461CBA6D6
CSeq: 1 INVITE
Call-ID: D2B7EA0F-CF63-42EC-B9BA-88A97F26FBFC-1@7.28.85.44
Content-Length: 0
Warning: 399 7.28.85.44 "Matching IVR profile/tenant could not be found"


2009-02-27 20:04:58.921 DBUG 00000000-00000000 5224 09400901 CCPSIPMessageInterceptor.h:577 RM - SIP Message received (427): ACK sip:dialog@7.28.85.44:5068;voicexml=http://7.28.85.44:8080/CRA/src-gen/CRA.vxml SIP/2.0
Via: SIP/2.0/UDP 7.28.85.44:5060;branch=z9hG4bKBC9AAE2D-493E-47F1-8103-06FE554BF79B-1
From: <sip:2003@7.28.85.44:5060>;tag=5807A08B-CEC8-42E1-B73B-4363C05A53BD-2
To: <sip:PlayApp@7.28.85.44:5060>;tag=8B246653-2623-4025-0CA9-980461CBA6D6
Call-ID: D2B7EA0F-CF63-42EC-B9BA-88A97F26FBFC-1@7.28.85.44
CSeq: 1 ACK
Content-Length: 0


I also made another call, directly to a did number, which I configured in ga, associated with a ivr profile,  then I got an EventDestinationBusy in sip log.

Thanks in advance.


Offline kevinwang

  • Full Member
  • ***
  • Posts: 159
  • Karma: 0
Quote from message of RM

"New Call Session Request-URI : sip:dialog@7.28.85.44:5068;voicexml=http://7.28.85.44:8080/CRA/src-gen/CRA.vxml
"

5068 is my sip port for resource manager'
I can call 'sip:dialog@7.28.85.44:5070;voicexml=http://7.28.85.44:8080/CRA/src-gen/CRA.vxml' directly from eyebeam, 5070 is my sip port for MCP.

Offline René

  • Administrator
  • Hero Member
  • *****
  • Posts: 1832
  • Karma: 62
Hi Kevin,

You must create at least one IVR Profile to make it working. Check Deployment/User's Guide and look for "default IVR Profile".

R.

Offline kevinwang

  • Full Member
  • ***
  • Posts: 159
  • Karma: 0
I found the following description in the deployment document about default ivr profile:

If GVP is configured to map DIDs to IVR Profiles or a tenant, the Resource
Manager uses DNIS to determine which IVR Profile to invoke for the session.
If GVP is not configured in this way, the Resource Manager uses a default IVR
Profile that is specified for the Environment (or default) tenant.

However, my Ivr application is called from routing strategy, using play application block , in which the ivr application address is specified directly, like http://ipaddress:8080/JavaComposerProject/src-gen/Main.vxml,
In this case, do I have to configure anything in ivr profile, DID group etc using GA?


Offline fnunezsa

  • Full Member
  • ***
  • Posts: 213
  • Karma: 5
How is your play app block configured?

Offline kevinwang

  • Full Member
  • ***
  • Posts: 159
  • Karma: 0
APP_ID : 1
LANGUAGE: English(US)
{s}APP_URI: http://roswell:8080/JavaComposerProject/src-gen/Main.vxml (I checked this vxml can be accessed in browser)

I have a question:
In this situation, (I mean calling a ivr application in routing strategy using play application block)
where to specify which voice over ip service DN will be used for this ivr application?
Since in the play application block, only APP_URI is requried to configure.

Offline kevinwang

  • Full Member
  • ***
  • Posts: 159
  • Karma: 0
[quote author=René link=topic=6139.msg26687#msg26687 date=1296239426]
Hi Kevin,

You must create at least one IVR Profile to make it working. Check Deployment/User's Guide and look for "default IVR Profile".

R.
[/quote]

Hi, Rene

My environment is not a multi tenant environment, do I have to add the Environment Tenant to the Resource Manager and create a Default Profile for the Default Tenant???

Kevin

Offline fnunezsa

  • Full Member
  • ***
  • Posts: 213
  • Karma: 5
Ar you using GVP 8.x?

Offline kevinwang

  • Full Member
  • ***
  • Posts: 159
  • Karma: 0
yes, 8.1

Offline IF

  • Newbie
  • *
  • Posts: 18
  • Karma: 1
Hi Kevin,

Please make sure that you have configured the following:

1) In the tenant Resources (the default tenant as you use Single-Tenant configuration server), in the Annex tab create section [b]gvp.general[/b] and in there add an option [b]default-application=DefaultIVRrofile[/b] (the name can be whatever you want but usually something like Fedaultxxx is used for obvious reasons).
2) Using Genesys Administrator create an IVR Profile with the previously used name [b]DefaultIVRProfile[/b]. Don't forget to configure a URL for this newly created profile. This URL will be used in case GVP cannot match an incoming DNIS with an existing profile - don't worry, your application triggered by Application Button in IRD will play the URL specified there
3) In the Switch object of your SIP Server, under DNs, create a DN of type [b]Voice over IP Service[/b]  and in the Annext tab configure section [b]TServer[/b] and in there configure two options: First create an option named [b]contact[/b] with value the IP address and SIP port of your RM (e.g. 192.168.204.129:5060) and then create second option with name [b]service-type[/b] and value [b]application[/b].

Now place your calls and let us know :)

IF

Offline kevinwang

  • Full Member
  • ***
  • Posts: 159
  • Karma: 0
[quote author=IF link=topic=6139.msg26760#msg26760 date=1296686130]
Hi Kevin,

Please make sure that you have configured the following:

1) In the tenant Resources (the default tenant as you use Single-Tenant configuration server), in the Annex tab create section [b]gvp.general[/b] and in there add an option [b]default-application=DefaultIVRrofile[/b] (the name can be whatever you want but usually something like Fedaultxxx is used for obvious reasons).
2) Using Genesys Administrator create an IVR Profile with the previously used name [b]DefaultIVRProfile[/b]. Don't forget to configure a URL for this newly created profile. This URL will be used in case GVP cannot match an incoming DNIS with an existing profile - don't worry, your application triggered by Application Button in IRD will play the URL specified there
3) In the Switch object of your SIP Server, under DNs, create a DN of type [b]Voice over IP Service[/b]  and in the Annext tab configure section [b]TServer[/b] and in there configure two options: First create an option named [b]contact[/b] with value the IP address and SIP port of your RM (e.g. 192.168.204.129:5060) and then create second option with name [b]service-type[/b] and value [b]application[/b].

Now place your calls and let us know :)

IF
[/quote]

Thank you very much, IF.
I noticed related description in 8.1 deployment document as follow:

• Procedure: Adding the Environment Tenant to the Resource Manager
• Procedure: Creating a Default Profile for the Default Tenant, on page 229
• Procedure: Updating the Environment Tenant Data, on page 230

Since my environment is single tenant, so I don’t have to do first step? Right?
I did exactly what you told me to do, but I still got the same error message:
(after I added these configuration, I restarted rm, mcp, sip)
D
2009-03-06 06:07:56.734 DBUG 00000000-00000000 5696 09400901 PolicyModule.cxx:155 7F877950-D811-4D47-AEA7-E3F55A3D88BC New Call Session Request-URI : sip:dialog@7.28.85.44:5068;voicexml=http://7.28.85.44:8080/CRA1.0/src-gen/CRA.vxml
2009-03-06 06:07:56.734 DBUG 00000000-00000000 5696 09400901 PolicyModule.cxx:218 7F877950-D811-4D47-AEA7-E3F55A3D88BC Handling call using call tenant Resources
2009-03-06 06:07:56.734 DBUG 00000000-00000000 5696 09400901 PolicyModule.cxx:1486 getGVPTenantId returned GVPTenantID:  IncomingApp:
2009-03-06 06:07:56.734 DBUG 00000000-00000000 5696 09400901 PolicyModule.cxx:793 Incoming App from header is:  bIsDbid: 0
2009-03-06T06:07:56.734 Std 20024 EROR 00000000-00000000 5696 09400212 Default IVR Profile not found for Tenant[Resources]
2009-03-06T06:07:56.734 Std 20022 EROR 00000000-00000000 5696 09400210 Matching IVR profile/tenant could not be found [CallSessionID: 7F877950-D811-4D47-AEA7-E3F55A3D88BC CallID: DDB595FE-F571-4F73-954B-95BB8DD71F87-1@7.28.85.44]
2009-03-06T06:07:56.734 Std 20126 EROR 00000000-00000000 5696 0940023F PolicyModule RequestResource failed: -7 Call Session: 7F877950-D811-4D47-AEA7-E3F55A3D88BC
2009-03-06 06:07:56.734 DBUG 00000000-00000000 5696 08500000 VGSIPTransport.cxx:612 VGSIPTransport::ResolveDNS for 7.28.85.44
2009-03-06 06:07:56.734 DBUG 00000000-00000000 5696 09400901 CCPSIPMessageInterceptor.h:577 RM - SIP Message sent (434): SIP/2.0 404 Not Found
Via: SIP/2.0/UDP 7.28.85.44:5060;branch=z9hG4bK403877A0-E215-4FC4-B813-1ED72EBC56F8-1
From: <sip:2001@7.28.85.44:5060>;tag=8CACFD5B-5C1E-40BB-AEB2-59CF2052B087-2
To: <sip:PlayApp@7.28.85.44:5060>;tag=6A67CC45-B1D3-4574-BE9A-204DA547878C
CSeq: 1 INVITE
Call-ID: DDB595FE-F571-4F73-954B-95BB8DD71F87-1@7.28.85.44
Content-Length: 0
Warning: 399 7.28.85.44 "Matching IVR profile/tenant could not be found"

Offline kevinwang

  • Full Member
  • ***
  • Posts: 159
  • Karma: 0
It looks like something wrong happened during these three lines of log:

GVPTenantID : IncomingApp? where did RM get this info?  bisDbid: 0???

2009-03-06 06:07:56.734 DBUG 00000000-00000000 5696 09400901 PolicyModule.cxx:1486 getGVPTenantId returned GVPTenantID:  IncomingApp:
2009-03-06 06:07:56.734 DBUG 00000000-00000000 5696 09400901 PolicyModule.cxx:793 Incoming App from header is:  bIsDbid: 0
2009-03-06T06:07:56.734 Std 20024 EROR 00000000-00000000 5696 09400212 Default IVR Profile not found for Tenant[Resources]

Offline Fra

  • Hero Member
  • *****
  • Posts: 856
  • Karma: -3
I think it means none, as the value should appear after semicolon..

Fra

Offline IF

  • Newbie
  • *
  • Posts: 18
  • Karma: 1
Hi Kevin,

I just had a similar strange behavior. I had a fresh machine with GVP 8.1.3 since some time ago but I hadn't configured it for URS centric applications. So, I configured default-application=defaultivrapp and I had exactly the same behavior like you.

Then I changed the default-application=[b]IVRAppDefault[/b], as stated in the documentation. I just tested it and works. After, I renamed the default-application again to something else and now it works also for this...Strange thing, I've never seen it in my GVP 8.x projects. Could you please try this?

Kind Regards,
IF

Offline kevinwang

  • Full Member
  • ***
  • Posts: 159
  • Karma: 0
[quote author=IF link=topic=6139.msg26776#msg26776 date=1296776036]
Hi Kevin,

I just had a similar strange behavior. I had a fresh machine with GVP 8.1.3 since some time ago but I hadn't configured it for URS centric applications. So, I configured default-application=defaultivrapp and I had exactly the same behavior like you.

Then I changed the default-application=[b]IVRAppDefault[/b], as stated in the documentation. I just tested it and works. After, I renamed the default-application again to something else and now it works also for this...Strange thing, I've never seen it in my GVP 8.x projects. Could you please try this?

Kind Regards,
IF
[/quote]


I tried exactly what you did, but unfortunately, I got the same error message. so weird..?