- Red, 2250 points or more
I have a working CVP 3.1 system that I'm migrating to CVP 4.0(2).
I upgraded my 2811 GW/GK to IOS 12.4(6)T and applied the config that was OK in CVP 3.1. I uploaded new .tcl and .vxml files from the distribution and reloaded the router so they are active with new code.
The switch leg worked fine. If I changed my ICM script to return a label on the CVP routing client for one of my phones, the phone rang.
If I inserted a "Send to VRU" node it dropped the call, and I could see from the gateway trace (debug on application vxml error) that it was trying to call my Call Server with undefined://undefined:undefined/cvp/VBservlet.
I managed to get it working by hacking the bootstrap.vxml to define the things that should have been filled in the above URL:
making the script look a bit like the bootstrap.vxml on CVP 3.1. Here are my edits:
<!--<var name="PROTOCOL" expr="getValue('PROTOCOL')"/> -->
<var name="PROTOCOL" expr="'http'"/>
<!--<var name="PORT" expr="getValue('PORT')"/> -->
<var name="PORT" expr="'8000'"/>
<!--<var name="PRIMARY" expr="getValue('HOST')"/> -->
<var name="PRIMARY" expr="'isn-vxml'"/>
<!--<var name="CALL_DNIS" expr="getValue('DNIS')"/> -->
<var name="CALL_DNIS" expr="session.telephone.dnis"/>
isn-vxml is defined through the ip host table.
I had to define the DNIS a different way as above - I could see the error in the CallServer that DNIS was a mandatory argument.
My question is this.
I assume that the CallServer is supposed to be passing the values like PORT, PROTOCOL etc in to the bootstrap.vxml file when it calls it, but mine obviously is not and I don't know what I should have done to make this work.
Things are definitely different with CVP 4. ;-)
Those variables get set in bootstrap.tcl. It sounds to me like bootstrap.vxml is getting invoked directly instead of via bootstrap.tcl. Check:
1. That the incoming voip dial-peer on the VRU leg is invoking the service attached to bootstrap.tcl.
2. Turn on "debug voip application script" and "debug voip application tcl" and make sure you see bootstrap.tcl getting invoked. The debugs should show a handoff to bootstrap.vxml with all those parameters.