IPCC Script to call my own VXML Server not a Cisco VXML Server

Unanswered Question
Sep 17th, 2008

CVP Call Server 4.02

CVP VXML Server 4.02

ICM 7.2.3

Comprehensive Call Flow

I want to execute an ICM script to get a VXML document from my own web server (Microsoft IIS) instead of the Cisco VXML Server.

In other words, I need to execute a microapplication that call to:

http://10.10.0.242:8080/vxmlserver/default.aspx

I configure that as follow:

1)In the ICM Script, first Set the media_server ECC Variable to "http://MY-IIS-SERVER/vxmlserver"

2)Set the app_media_lib ECC Variable to ".."

3) Set user.microapp.ToExtVXML[0] ECC variable to "application=HelloWorld"

(in my case this is not neccesary, but I did it)

4)Set the UseVXMLParams ECC Variable to "N"

5) Create a VRU Script with VRU Script Name = "GS,default.aspx,V"

I run this VRU script in the ICM Script but I did not get the HTTP Request on my server and the script fail in the last step (Run External Script)

The documentation says:

"Finally, open the CVP Application Administrator on the Application Server and select the “Allow

External VXML” checkbox on the EngineConfiguration screen."

But I did not find that checkbox in my CVP Console Manager (probably my version is different)

Any clues?

thank you in advance

marcelo

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Average Rating: 0 (0 ratings)
geoff@hp.com Thu, 09/18/2008 - 04:35

In CVP VXML (Audium), the microapp setting is "GS,Server,V". Keyword "Server".

I wonder if that would apply to you?

Regards,

Geoff

rolecram1960 Thu, 09/18/2008 - 06:15

Geoff, thank you for you answer.

Let me know if I am wrong:

When a script from IPCC wants to invoke an application from Cisco VXML Server you execute the "Run External Script".

Suppose you want to reach the application HelloWorld (included as sample in the VXML Server) and that application is in the following URL (Tomcat Web Server):

http://10.86.137.238:8080/CVP/Server?application=HelloWorld

Now, how the microapplication in the Application Server conform this URL?

Well, the "http://10.86.137.238:8080/CVP" is get from the ECC variable media_server.

The "Server" path (I guess) is get from the first parameter of the GS microapplication. i.e. GS,Server,V.

The query string "application=HelloWorld" is get from the user.microapp.ToExtVXML[0] ECC variable.

Am I right?

Now I want the Application Server invokes my own VXML Server (running on MS IIS) on the following URL:

http://10.10.0.242:8080/vxmlserver/default.aspx?

I set:

ECC variable media_server=http://10.10.0.242:8080/vxmlserver

And

the first parameter on the GS microapp to:

default.aspx. i.e. GS,default.aspx,V

Is that correct?

On the other hand, the manual Cisco Customer Voice Portal (CVP) Release 3.0(0) Configuration and Administration Guide

says:

"Finally, open the CVP Application Administrator on the Application Server and select the “Allow

External VXML” checkbox on the EngineConfiguration screen."

But, I did not find this option in the CVP Call Server 4.02

thank you in advance.

geoff@hp.com Thu, 09/18/2008 - 12:06

I'm sorry, I did not mean to mislead you - I've never done this. Now that I re-read what you wrote, there is sense to it. We are trying to build the path in CVP as you say above, and that's why "Server" is there. I wasn't thinking clearly.

Regards,

Geoff

Chuck Smith Thu, 09/18/2008 - 21:21

The media server ECC should be "http://x.x.x.x/default.asp"

The toExtVXML[0] Array variable should be "CustomVXML" just as an example. Your application name may be different. This will construct URL "http://x.x.x.x/default.asp?CustomVXML" and send it to the VXML Gateway for processing.

Obviously your server will need to be configured to accept the GET paramater of "CustomVXML" but that should be all you need to do.

rolecram1960 Fri, 09/19/2008 - 06:00

Dzam:

Unfortunatly it does not work.

I set:

1) user.microapp.media_server ECC variable to: "http://10.10.0.242:8080/vxmlserver/default.aspx"

2) user.microapp.app_media_lib = ".."

3) user.microapp.ToExtVXML[0]= "application=HelloWorld"

4) user.microapp.useVXMLParams = "N"

Run External Script: "GS,Server,V"

In the CVP log I've got:

External VXML located at http://10.10.0.242:8080/vxmlserver/defau/en-us/../Server.vxml resulted in a bad fetch (Client: 192.168.31.10) [id:3023]

68: 192.168.31.50: Sep 18 2008 17:14:47.140 -0300: %CVP_4_0_IVR-3-CALL_ERROR: RunScript Error from 192.168.31.10 [MEDIA_FILE_NOT_FOUND(9)]

It adds the "en-us", ".." paths and the "Server.vxml" file and note that the filename default.aspx was truncated.

rolecram1960 Fri, 09/19/2008 - 11:55

Hi Chris:

Thank you for your response.

You are right the variable was truncated at 40 characters. But listen...

I want the Application Server reach the following URL:

http://10.10.0.242:8080/vxmlserver/default.aspx

In the ICM script, I set:

user.microapp.media_server="http://10.10.0.242:8080/vxmlserver"

user.microapp.app_media_lib = ".."

user.microapp.local="en-us" (I did not modify this ECC variable)

And finally set the RunScript Node to:

GS,default.aspx,V

Well, this would conform the URL as follow:

http://10.10.0.242:8080/vxmlserver/en-us/../default.aspx

But, the CVP log, give me the following error:

CVP_4_0_IVR-3-CALL_ERROR: RunScript Error from 192.168.31.10 [SEMANTIC(10)] CALLGUID: EA0C581B-85CB11DD-84CFBADF-12D5E68D DNIS=919944 {VRUScriptName: 'GS,default.aspx,V' ConfigParam: ''}

Now, if I set the RunScript Node to:

GS,Default.aspx,V

(all the same but the letter D of Default in uppercase)

IT WORKS!!!! The CVP Log says:

External VXML located at http://10.10.0.242:8080/vxmlserver/en-us/../Default.aspx

INCREDIBLE.

Now, I have another issue:

I want to pass a VXML variable to my vxml server.

I set:

user.microapp.ToExtVXML[0]="var=hello"

and

user.microapp.UseVXMLParams="N"

I suppose the variable "var=hello" is send as part of the URL query string i.e.

http://10.10.0.242:8080/vxmlserver/en-us/../Default.aspx?var=hello

But I have nothing in the query string.

I change the attribute variable to persistent but nothing happen.

What am I doing wrong?

thanks in advance.

marcelo

Actions

Login or Register to take actions

This Discussion

Posted September 17, 2008 at 12:48 PM
Stats:
Replies:9 Avg. Rating:
Views:1551 Votes:0
Shares:0
Tags: No tags.

Discussions Leaderboard