Genesys CTI User Forum

Genesys CTI User Forum => Genesys CTI Technical Discussion => Topic started by: kevinwang on January 28, 2011, 03:13:00 PM

Title: GVP IVR Application can not be called from routing strategy using playapp block?
Post by: kevinwang on January 28, 2011, 03:13:00 PM
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.

Title: Re: GVP IVR Application can not be called from routing strategy using playapp block?
Post by: kevinwang on January 28, 2011, 04:18:40 PM
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.
Title: Re: GVP IVR Application can not be called from routing strategy using playapp block?
Post by: René on January 28, 2011, 06:30:26 PM
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.
Title: Re: GVP IVR Application can not be called from routing strategy using playapp block?
Post by: kevinwang on January 31, 2011, 02:26:33 PM
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?

Title: Re: GVP IVR Application can not be called from routing strategy using playapp block?
Post by: fnunezsa on February 01, 2011, 12:43:23 AM
How is your play app block configured?
Title: Re: GVP IVR Application can not be called from routing strategy using playapp block?
Post by: kevinwang on February 01, 2011, 01:13:26 AM
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.
Title: Re: GVP IVR Application can not be called from routing strategy using playapp block?
Post by: kevinwang on February 01, 2011, 02:06:53 AM
[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
Title: Re: GVP IVR Application can not be called from routing strategy using playapp block?
Post by: fnunezsa on February 02, 2011, 07:08:35 PM
Ar you using GVP 8.x?
Title: Re: GVP IVR Application can not be called from routing strategy using playapp block?
Post by: kevinwang on February 02, 2011, 09:53:10 PM
yes, 8.1
Title: Re: GVP IVR Application can not be called from routing strategy using playapp block?
Post by: IF on February 02, 2011, 10:35:30 PM
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
Title: Re: GVP IVR Application can not be called from routing strategy using playapp block?
Post by: kevinwang on February 03, 2011, 03:43:39 PM
[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"
Title: Re: GVP IVR Application can not be called from routing strategy using playapp block?
Post by: kevinwang on February 03, 2011, 03:51:21 PM
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]
Title: Re: GVP IVR Application can not be called from routing strategy using playapp block?
Post by: Fra on February 03, 2011, 06:44:11 PM
I think it means none, as the value should appear after semicolon..

Fra
Title: Re: GVP IVR Application can not be called from routing strategy using playapp block?
Post by: IF on February 03, 2011, 11:33:56 PM
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
Title: Re: GVP IVR Application can not be called from routing strategy using playapp block?
Post by: kevinwang on February 04, 2011, 12:39:42 AM
[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..?
Title: Re: GVP IVR Application can not be called from routing strategy using playapp block?
Post by: IF on February 06, 2011, 03:02:54 AM
Hi Kevin (again  :) ),

As I don't have logs from you, then you can compare with my working environment some things:
In your Resource Manager log, do you have entries similar to the following:

1) 2011-02-03 23:20:55.968 DBUG 00000000-00000000 4064 08500000 CCIMFGenericObject.cpp:794 utilAddTKVSection >> Read config kv pair [b](gvp.general.default-application=DefaultIVRApp)[/b].

2) 2011-02-03T23:20:56.374 Std 20141 NOTE 00000000-00000000 4064 0940040B convertToTenantObject >> [b]set Default IVR Profile [DefaultIVRApp][/b]

This second line is mandatory to exist somewhere in RM log so "GVP" knows which is the default IVR profile and not drop you all the time the "Matching IVR ...not found...".

Also, in your SIP Server log, does your entry for the VoIP Service look like the following:

01:57:02.343:(1) DN 'GVP_PlayAppButton',29, 2 changed
[118] dn = 'GVP_PlayAppButton' [b]type = VoIPService[/b] xtype = DN cfgtype = 29 [b]contact = '192.168.204.138:5060' [/b][b]service-type = 'application'[/b]
01:57:02.343:(1) dn = '[b]GVP_PlayAppButton' [TServer]: contact = '192.168.204.138:5060' service-type = 'application'[/b]

I assume also that you have created correctly the Resource Groups in GA Wizard (for MCP, GW and possibly CCP).

Which versions of Genesys components you have? You mentioned GVP 8.1, but which exactly? For example, depending always on the exact version, you might need (or not) to create manually connections between RM and managed resources. In other versions they are created automatically and in others they are needed only for specific reasons.
If you have version 8.1.2 and later then are you sure that you have framework 8.0.2/8.0.3 + SIP Server 8.0.3 or later (ok, I've played with it with much older versions but officially is not supported and you never know if the issue is there, especially if you ever use HMT environments). Finally, make sure that the sequence you start components is always SIP Server, then RM and then MCP/CCP.

If you have all the above then I suspect there is possibly any "typo" error somewhere in your configuration (like [b]"Contact"[/b] instead of [b]"contact"[/b], or any extra spaces in the end of any option like [b]"contact "[/b] instead of [b]"contact"[/b])?
Last resort of course is to raise SR with Genesys Support  ;D

Kind Regards,
IF
Title: Re: GVP IVR Application can not be called from routing strategy using playapp block?
Post by: kevinwang on February 09, 2011, 01:53:49 PM
Thank you very much, IF.Sorry for late response.
I checked the configurations you mentioned.
It looks like they're all correct.

My gvp verison is 8.1.310.xx
but my sip server version is 7.6.000.40, maybe I should upgrade sipserver to 8.0.

There is another thing I don't know if related to this issue, when I used wizard in cme to create a voice ove ip service DN, There is not a application in the service type drop list, I input 'application' manually, is that normal?

Title: Re: GVP IVR Application can not be called from routing strategy using playapp block?
Post by: IF on February 10, 2011, 10:17:51 PM
Hello Kevin,

Last resort from my point of view is to raise a SR with Genesys (considering you have this option of course).
If it is easy for you then upload startup logs of RM and SIP Server (from startup) including just one call - it would be good to have a look.

To be honest I do everything stuff so I cannot answer your question. The only sure thing is that in the end you should have, in one way or the other, in your VoIP DN: Annex Tab>TServer>service-type=application

Kind Regards,
IF
Title: Re: GVP IVR Application can not be called from routing strategy using playapp block?
Post by: bublepaw on February 11, 2011, 07:17:53 AM
Hey Kevin,

Try upgrading SIPS to at least 8.0.4. I remember I had similar issues with lower versions of SIPS
Title: Re: GVP IVR Application can not be called from routing strategy using playapp block?
Post by: OmarElhawary on April 23, 2019, 05:56:59 AM
Hello Dears,
Actually i had the same issue i recieve below error in the standard RM logs:

2019-04-23T07:48:33.194 Std 20003 WARN 00000000-00000000 4290120000 0940020C Cannot find application matching DNIS: MediaServer try using default application in tenant [Environment]

im using 8.5 environment, and I'm calling the application by DID no in the play application block (app_id = DID), and only the default ivr profile is being played.

and i have it works with this way in another environment.

Your support is highly appreciated.

Regards,
Omar El-Hawary
Title: Re: GVP IVR Application can not be called from routing strategy using playapp block?
Post by: Kubig on April 23, 2019, 06:57:46 AM
Did you configure the DID to IVR profile mapping?