HTTP Request in CVP v7 URI

Unanswered Question
May 4th, 2010

I'm attempting to configure ICM and CVP to run a VMXL script but I keep getting %HTTPC-6-REQUEST_FAILED: on my GW.


Here's what the error in my debug says:


*May  4 14:36:23.524: %HTTPC-6-REQUEST_FAILED: request URI http://UCCECVP:/Server?application=Test failed
*May  4 14:36:23.524: //235/3E8BF8718354/VXML:/vxml_bgload_post_done: 
   CALL_ERROR; http://192.168.11.11:8000/cvp/VBServlet?MSG_TYPE=CALL_NEW&CALL_DNIS=811111111110064&CALL_UUI=&CALL_ANI=sip:[email protected]:5060&RECOVERY_VXML=flash:recovery.vxml&CLIENT_TYPE=IOS&CALL_ID=63B3ADBD100001280E0979F80AD78D4A&ERROR_CODE=0
   Loading fail with url (http://UCCECVP:/Server?application=Test)
*May  4 14:36:23.572: %HTTPC-6-REQUEST_FAILED: request URI http://UCCECVP-backup:/Server?application=Test failed
*May  4 14:36:23.572: //235/3E8BF8718354/VXML:/vxml_bgload_post_done: 
   CALL_ERROR; http://192.168.11.11:8000/cvp/VBServlet?MSG_TYPE=CALL_RESULT&CALL_ID=63B3ADBD100001280E0979F80AD78D4A&CALL_SEQ_NUM=1&ERROR_CODE=9
   Loading fail with url (http://UCCECVP-backup:/Server?application=Test)


The biggest problem I see with this is the URLs are not what I'm specifing in my Set node in ICM.  I set the medias server to http://UCCECVP:7000/CVP but the router keeps cutting it short.  I've tried a hostname and an IP address but the IP keeps getting cut short as well.


Any help would be appreciated.


Thanks,

Travis

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Travis Cassell Tue, 05/04/2010 - 08:12

I do need the port and I do specify that in the microapp variables but when I debug the GW I don't see the full URL, it's almost like it's knocking it down somehow.


The url should be http://UCCECVP:7000/CVP/Server?application=Test and I get my VXML in my browser.  I guess my issue is that my GW isn't seeing the correct URL for some reason.

I see two errors.


The first - cutting things short - check the length of the ECC variable. Make this long enough to hold the complete string.


The second - the Audium URL is wrong. It should be set in ICM as :7000/CVP">http://:7000/CVP where some_name is resolved by the gateway through the IP host table.


Also, you must set the app_lib to be "..", otherwise it doesn't work. You should see the invocation line in the trace on the Call Server something like:


:7000/CVP/en-us/../Server?application=Foobar">http://:7000/CVP/en-us/../Server?application=Foobar


It automatically inserts the locale en-us, so you have to climb up a level.


I see you looking at the gateway trace, but the Call Server trace will show the error also - maybe it's easier to follow and you will see why the "-backup" is being attempted.


Regards,

Geoff

Travis Cassell Tue, 05/04/2010 - 10:46

Well I made it past the URL issue by modifying the ECC variable.  I now get the cvperror prompt.  Here's what I see in the Error log



3667: 192.168.11.74: May 04 2010 13:38:56.782 -0400: %CVP_7_0_IVR-3-CALL_ERROR: CALLGUID=64661159100001284EDFED8D0AD78D4A DNIS=811111111110097 CVP VXML Server encountered an Application error - URL: http://192.168.11.74:7000/CVP/en-us/../Server?application=Test (Client: 192.168.11.79) [id:3023]
3668: 192.168.11.74: May 04 2010 13:38:56.782 -0400: %CVP_7_0_IVR-3-CALL_ERROR: RunScript Error from 192.168.11.79 [CVP_APP_ERROR(41)] CALLGUID: 64661159100001284EDFED8D0AD78D4A DNIS=811111111110097 {VRUScriptName: 'GS,Server,V' ConfigParam: ''} [id:3023]
6484: 192.168.11.74: May 04 2010 13:38:56.829 -0400: %CVP_7_0_SIP-3-SIP_CALL_ERROR: CALLGUID = 64661159100001284EDFED8D0AD78D4A LEGID = 64661159100001284EDFED8D0AD78D4A-1272994736797250 - [RING-OUT] - DsSipInvitation - ;tag=7F180-2642 - 1 INVITE REJECTED WITH 500 - Internal Server Error Reason: Q.850;cause=63
[id:5004]
6491: 192.168.11.74: May 04 2010 13:38:57.860 -0400: %CVP_7_0_SIP-3-SIP_CALL_ERROR: CALLGUID = 64661159100001284EDFED8D0AD78D4A LEGID = 64661159100001284EDFED8D0AD78D4A-1272994737829251 - [OUTBOUND] - DsSipInvitation - ;tag=7F584-238A - 1 INVITE REJECTED WITH 500 - Internal Server Error Reason: Q.850;cause=63
[id:5004]


Here's what I get on my GW


*May  4 17:57:57.447: //12/671649BF801B/VXML:/vxml_media_done: 
   CALL_ERROR; fail with vapp error 34, protocol_status_code=0
*May  4 17:57:57.475: //12/671649BF801B/VXML:/vxml_bgload_post_done: 
   SOFTWARE_ERROR; vxml
   Wrong bgload event vxmlhandle=47DB72BC status=0 async_status=180000000
*May  4 17:58:02.567: %CALL_CONTROL-6-APP_NOT_FOUND: Application ringtone in dial-peer 9191 not found.  Handing callid 15 to the alternate app .

I assume you already have a microapp working validating your understanding and configuration of Send To VRU, bootstrap and media server? It looks OK (the xfer label) but I always recommend starting with a simple PM microapp.


It appears you have an error in the actual application Test. Check the error logs under VXMLServer\application\Test\logs\ErrorLog


A SIP 500 error indicates an error in your application. Maybe a bad fetch - the usual problem.


Regards,

Geoff

One more thing:


*May  4 17:58:02.567: %CALL_CONTROL-6-APP_NOT_FOUND: Application ringtone in dial-peer 9191 not found.  Handing callid 15 to the alternate app .


Doesn't that look strange to you? You probably have your dial peer


dial-peer voice 9191 voip
description CVP: to provide ring-tone on transfers
translation-profile incoming BLOCK
service ringtone
incoming called-number 91919191
dtmf-relay rtp-nte h245-signal h245-alphanumeric
codec g711ulaw
no vad


and you SHOULD have


application
  service ringtone flash:ringtone.tcl
  paramspace english index 0
  paramspace english language en
  paramspace english location flash
  paramspace english prefix en


but it's complaining about it. If you have the settings correct you maybe have not activated the application - something like "call voice application load ringtine". Or reboot the gateway.


You should have sorted all this out during your testing with mircroapps.


Regards,

Geoff

Travis Cassell Tue, 05/04/2010 - 11:21

I do see that error on every call but I've got everything in my config


service ringtone flash:RINGTONE.TCL
  paramspace english language en
  paramspace english index 0
  paramspace english location flash
  paramspace english prefix en



dial-peer voice 9191 voip
description Ringtone Dial-Peer
translation-profile incoming BLOCK
service ringtone
incoming called-number 91919191
dtmf-relay rtp-nte h245-signal h245-alphanumeric
codec g711ulaw
no vad


CVP#sh flash
-#- --length-- -----date/time------ path


13        3188 Mar 14 2008 16:44:48 RINGTONE.TCL


Microapps work fine, but this is my first go around on VMXL.  It's a very simple script but I've got to be missing something obvious.  I'm not using a speak server so in my Run External Script do I need to do a PM?  Right now I'd just like it to play a wav file that I list in my app.

Have you reloaded your gateway since installing the service?


OK, let's do the easiest of things.


Try changing it to "application=HelloWorld" because I know that this one works. Cisco put the required WAV file in place when you installed it.


If that one works, you know VXML is OK - now debug Test.


The Run Ext Script GS,Server,V hands it off to the external VXML Server. You don't need anything further.


Regards,

Geoff

Travis Cassell Tue, 05/04/2010 - 12:33

I was able to get it working.  It appeared to be a problem with my application and thinking I had TTS.  Just working on queuing now.


Thanks for the help!

Actions

This Discussion