« Back to CVP - All Versions

RE: Unable to pass values from CVP to ICM

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Hi,
 
I am trying to call a CVP application from an ICM script.
 
My CVP application asks the user to enter digit based on a menu and I am passing this caller entered  value in CVP Subdialog return element's Caller input as well as FromExtVXML[0] by using the tag {Data.Element.Digits_01.value} . Now based on this entered value I want to route to different skillgroups in ICM.
 
In my ICM script I am calling this CVP application using Run Ext Script Node. My CVP application is getting called and playing all the options . But after this I am unable to use the value in ICM script using user.microapp.caller_input or user.microapp.FromExtVXML ECC variables. 
 
To test it further after my CVP application plays I am simply playing another VRU script (PM micro app) in my ICM script . But that is also not playing .
So after my CVP application plays the control is not coming back to my ICM script. Do I need to to put some other element in my script so that after playing CVP application control comes back to ICM script ?
 
Any inputs would be helpful.
 
Thanks,
Dipika Gupta

When you return from the Studio app, is the ICM script continuing down the Success or the Failure branch?
If it's returning down the Success branch, then it's returning properly from Studio.
In order to speak to the caller using PM, you'll have to reassing the user.microapp.media_server variable (using a SetVariable node) to point to the actual media server (recall, you'd assigned something like this into that variable in order to send the call to VxmlServer 'http://IP:7000/CVP').

>> In order to speak to the caller using PM, you'll have to reassing the user.microapp.media_server variable (using a SetVariable node)

Janine is correct.

Actually, you have to reassign two important ECC variables – user.microapp.media_server and user.microapp.locale (the latter you would have set to “..” prior to calling GS,Server,V).

Regards,
Geoff

Thanks Janine.

Thanks Geoffrey .

Earlier I had set app_Media_lib to ".." . Now what should it be set to ?

When you return from the Studio app, is the ICM script continuing down the Success or the Failure branch?
If it's returning down the Success branch, then it's returning properly from Studio.
In order to speak to the caller using PM, you'll have to reassing the user.microapp.media_server variable (using a SetVariable node) to point to the actual media server (recall, you'd assigned something like this into that variable in order to send the call to VxmlServer 'http://IP:7000/CVP').


Hi Jainne,
 
I have set the Media Server and Media Lib and I have run external script after that which calls the call studio app. the control comes back to success legand I transfer the call. It's working good.
 
But When I add Run external script for playing a wavefile ie. PM, <sample. wav> before transfering the call. I get an error message.
 
I could see your post that you are recommeding to re initialize the variable. may I know the reaon ? and can you explain how this architecture works.
 
Thanks,
Gopal.

>>>I have set the Media Server and Media Lib and I have run external script after that which calls the call studio app. the control comes back to success legand I transfer the call. It's working good.
>>>But When I add Run external script for playing a wavefile ie. PM, <sample. wav> before transfering the call. I get an error message.
>>>I could see your post that you are recommeding to re initialize the variable. may I know the reaon ? and can you explain how this architecture works.

Janine answered this.

>> In order to speak to the caller using PM, you'll have to reassing the user.microapp.media_server variable (using a SetVariable node)

And Janine is partially correct.

Actually, you have to reassign two important ECC variables – user.microapp.media_server and user.microapp.locale (the latter you would have set to “..” prior to calling GS,Server,V).

Look up microapps.

They were the original way of running VXML – before the External VXML server, before the integration of Audium as the only supported External VXML server, and before the acquisition of Audium to bring it under the Cisco name.

Study the microapps - described in detail in the CVP Guide. It will become clear if you know that these were FIRST!

Regards,
Geoff

When using the microapps, the system performs concatenation of the following variables to create the URI address for the audio prompting:

http://<user.microapp.media_server>/<locale>/<xxx_media_lib>/<2nd parameter of the Network VRU Script Name field>.wav
Where xxx_media_lib is either the contents of sys_media_lib (if the VRU Script Name is PM,fileName,S) or app_media_lib (if the VRU Script Name is PM,fileName,A)
And the 2nd parameter of the Network VRU Script Name is the fileName from the different microapps: PM,pleasehold,S or PM,welcome,A

So, if you've set the media_server variable to point to your VxmlServerIP:7000/CVP then it'll be an incorrect URI for serving audio from IIS.
And if you've set the app_media_lib to ".." (as required for invoking a VxmlServer app), then the URI for serving audio will be incorrect if you're using audio from an app-specific directory of IIS.