05-22-2016 11:32 AM - edited 03-14-2019 04:08 PM
Hi,
I am facing some issue with VXML application. I am using gns3 and have tried multiple router images.
If i am referencing vxml script int the ICM script the gateway goes into vm is not running will be unresponsive (status=1).
The call runs fine if i am using PM message in Run external script.
Can anyone help me in setting up a ingressvxml gateway in lab(gns3 or VMware). I am stuck at this point as i am not able to test any call studio scripts.
Thanksu
Himansh
05-23-2016 03:50 AM
You can look at the VXML ingress/vxml gateway template available with CVP to set up you VXML gateway.
the template is available at ops console --> IOS Configuration --> IOS template management --> Ingress VXML Gateway template.
just mimic the above template configuration and set up your VXML gateway.
05-23-2016 06:52 AM
Hi Chintan,
I am using the same template from CVP which are inbuilt. I have identified that when i use user.microapp.app_media_lib to ".." the gns goes into VM not running status=1 oterwise the call fails at Run external script node.
1. My script is customhelloworld which shows it is running when i execute status.
2. Do i need to transfer VXML applications from CVP bulk transfer tool. Currently i am making a Call Studio script and deploying in the folder.
3. If i use a cisco virtual router the call just fails at send to vru node with the same config as done with gns3. What image on Cisco is recommended.
Thanks
Himanshu
05-23-2016 07:15 AM
looks like there is something wrong with GNS itself, looks like the new GNS is not at all user friendly.
can you share your sample ICM and CVP Script?
can you also try downloading older version of GNS which is not integrated with virtual machine and try the above.
there are quite lot ios images available for voice browser (VXML functionality), but the best worked for me years ago was 3725 and 3745 ones.
05-24-2016 01:17 AM
Hi Chintan,
I am attaching the screenshot of the ICM and CVP script. The call goes out to "X" branch of run External script.
Also i am not using ".." in app.media.lib ECC variable as it hangs up the gns router. It signifies the media path right?
Also seeing the following error messages in CVP error logs
73: 192.168.2.34: May 24 2016 13:27:46.973 +0530: %CVP_10_0_IVR-3-CALL_ERROR: CALLGUID=3081BB0000010000000000020202A8C0 DNIS=55888888881 External VXML located at http://192.168.2.34:7000/CVP/en-us/192.168.2.34:/Server?_dnis=8001&application=customhelloworld&callid=3081BB0000010000000000020202A8C0&_ani=4001 resulted in a bad fetch (Client: 192.168.2.1) [id:3023]
74: 192.168.2.34: May 24 2016 13:27:46.973 +0530: %CVP_10_0_IVR-3-CALL_ERROR: RunScript Error from 192.168.2.1 [MEDIA_FILE_NOT_FOUND(9)] CALLGUID: 3081BB0000010000000000020202A8C0 DNIS=55888888881 {VRUScriptName: 'GS,Server,V' ConfigParam: ''} [id:3023]
94: 192.168.2.34: May 24 2016 13:31:37.584 +0530: %CVP_10_0_IVR-3-CALL_ERROR: CALLGUID=BB62B58000010000000000030202A8C0 DNIS=55888888882 External VXML located at http://192.168.2.34:7000/CVP/en-us/192.168.2.34:/Server?_dnis=8001&application=customhelloworld&callid=BB62B58000010000000000030202A8C0&_ani=4001 resulted in a bad fetch (Client: 192.168.2.1) [id:3023]
95: 192.168.2.34: May 24 2016 13:31:37.584 +0530: %CVP_10_0_IVR-3-CALL_ERROR: RunScript Error from 192.168.2.1 [MEDIA_FILE_NOT_FOUND(9)] CALLGUID: BB62B58000010000000000030202A8C0 DNIS=55888888882 {VRUScriptName: 'GS,Server,V' ConfigParam: ''} [id:3023]
CVP all in one server: 192.168.2.34
Gateway: 192.168.2.1
CUCM: 192.168.2.2
ICM :192.168.2.30
05-24-2016 02:44 AM
You have to set the app media lib to "..", i know it crashes your GNS router but that the way to invoke external VXML application.
try setting it and paste the CVP logs here. and also try to download the older version of GNS3 and try to do the same thing.
05-24-2016 08:51 AM
Hi Chintan,
I have tried various versions of gns3 but no effect.
I was reading the config guide which says:
"
Directory for all application-specific media files and grammar files.
You can also set this value to ".." (literally two periods in quotes), which bypasses the user.microapp.app_media_lib and user.microapp.locale ECC Variables when writing a URL path. For example, if you set the user.microapp.app_media_lib to "..", the path:
http://server/locale/../hello.wav
would really be:
http://server/hello.wav"
Does that mean that i need to specify user.microapp.locale ??
Thanks
Himanshu Vaish
05-24-2016 09:01 AM
nope, no need to set locale.
its by default taken as "en-us", and that's the main reason behind setting app media lib to "..".
we are actually trying to form below url to invoke CVP app:
http://<vxml server ip address>:7000/CVP/server?application="HelloWorld"
but by the nature of ECC variable, the defuallt of locale will try to defer url as below:
http://<vxml server ip address>:7000/CVP/en-us/app/server?application="HelloWorld"
so that's why we put ".." in app media lib, and we achieve below:
http://<vxml server ip address>:7000/CVP/en-us/../server?application="HelloWorld"
Which is nothing but
http://<vxml server ip address>:7000/CVP/server?application="HelloWorld"
You can also try to put the above url in you internet explorer with correct application name and IP add of VXML server, and you will see the basic VXML page generated and returned to you.
05-25-2016 01:27 AM
Hi Chintan,
Thanks for the wonderful explanation on this. I set again to ".." and it crashed.
I am attaching the CVP logs. What set of logs should i set on gateway to see whether it is actually asking for the file.
Looks like i have to abandon this activity and move on learing other aspects of UCCE.
Thanks
Himanshu
05-25-2016 01:56 AM
Himanshu,
Lets give one more try, looks like some time your send to VRU operation fails.
can you attach your gateway configuration.
and also attach the show flash output.
Regards
Chintan
05-25-2016 03:57 AM
Hi Chintan,
The send to VRU operation failed for the 2nd call in the logs because the gateway had already crashed.
Also i have zero knowledge of reading logs.
May 25 2016 00:48:58.075 +0530: %CVP_10_0_IVR-7-CALL: {Thrd=http-processor1} VBServlet:service: HTTP Request from 192.168.2.1: { RECOVERY_VXML=flash:recovery.vxml, VERSION=CVP_10_0_1_0_0_0_490, CALL vc_DNIS=55888888881, CALL_UUI=, MSG_TYPE=PING, CALL_ID=5985688000010000000000010202A8C0, ERROR_CODE=NONE(0), CLIENT_TYPE=IOS, CALL_LEGID=5985688000010000000000010202A8C0-14641175363441@192.168.2.34, CALL_ANI=sip:9001@192.168.2.34:5060 }
Is the gateway requesting Recovery.vxml ?
67: 192.168.2.34: May 25 2016 00:48:58.497 +0530: %CVP_10_0_IVR-7-CALL: {Thrd=http-processor2} VXMLManager:generateVXML: CALLGUID=5985688000010000000000010202A8C0 Generated VXML from template 'GetSpeech-External.template' for client: 192.168.2.1 clientType: IOS
I am not seeing any reference to customhelloworld application that i am referring in the script. Are the VXML logs differently stored?
Thanks
Himanshu
05-25-2016 04:31 AM
CVP is instructing Gateway to use the flash:recovery.vxml to recover the calls.
the VXML application detailed logs can be found at:
C:\Cisco\CVP\VXMLserver\Applications\<APP NAME>\log\
the application will only generates the logs when call enters in application.
09-16-2022 03:10 AM
Hello Guys,
I know its a older post but how does this issue fixed for you ?
I am also experiencing the same issue on a lab setup.
19010: 192.168.1.127: Sep 16 2022 02:57:17.703 -0700: %CVP_12_0_VXML_SERVER-7-CALL: {Thrd=http-processor40} CALLGUID=F1B7588000010000000000246A01A8C0 External VXML located at http://192.168.1.127:8180/CVP/en-us/app/Server?callid=&_ani=8001223344&application=demoproject1&_dnis=5137212235 resulted in a bad fetch (Client: CVP-IVR
09-16-2022 05:54 AM - edited 09-16-2022 06:12 AM
Have you tried the steps above like to see if you can see the application when you enter it in a browser?
Do you see the application running on the CVP/VXML server if you look at the status for demo project?
Do you see any entries in the CVP/VXML application logs for your application demo project?
What does the caller experience?
What do you see in the ICM script editor? What does your script look like?
I think you need to provide a little more background as far as the setup.
You may also find this step by step troubleshooting guide helpful.
https://www.cisco.com/c/en/us/support/docs/customer-collaboration/unified-customer-voice-portal-901/116178-technote-cvp-00.html
09-16-2022 06:08 AM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide