Simple CVP CallStudio Script: Standalone Exercise

The basics of this exercise came from Cisco Unified CVP Getting Started Guide, three wonderful exercises explained there briefly, even it’s the best guide for any newbie on CVP. I have explained the ‘way to configure’ the last exercise of the book, you can find it on chapter 10 (i.e. Expand the Initial Exercises). Let me tell you first, you must have to follow the previous exercises first to completely understand this details otherwise there must be confusions on configurations as I have skipped some of the very detail.

Again, please read the guide initial chapters if you have any confusion on call flow, how voice gateways are interacting with CVP VXML server and following the script instructions.

I have installed the CVP7.0.2 (all in one box), ICM 7.2.2 (all in one box), CUCM 7.0 PUB and SUB, Windows XP (for CallStudio) on VMware ESX 3.5 to meet all my requirements, also I have installed the Peripheral Gateway (PG) on the ICM box itself. The gateway I’m using is 2821 model though you can even use any of the 3700 series, AS5300XM, AS5350XM, AS5400XM, 2800, 2900, 3800 or 3900 series routers. I haven’t tried virtualizing the router image by Dynamips but you can have a try with the 3700 image IF you can’t manage the physical router.though I’m not sure of it’s performance Okey let’s start now….

 

Design the CallStudio Script

I have installed the Cisco Unified Call Studio on Windows XP platform. The script is shown below but the detail of the notations and the elements can be found at Cisco Unified CVP Getting Started Guide, so I don’t want to repeat the same explanations here. For more info please follow the guide.

Save the project at any location, copy the project files at CVP Server at the location: “C:\Cisco\CVP\VXMLServer\application”. I saved the project with the name ‘UserInputTest’.

Now deploy the VXML application by the tool ‘deployApp.bat’ from the location C:\Cisco\CVP\VXMLServer\applications\UserInputTest\admin, it will prompt for confirmation.

Now you can verify if the application is running along with other previous applications by the tool ‘status.bat’ from the location C:\Cisco\CVP\VXMLServer\admin\ . It should show like below:

So you are good on designing the project and deploying on Cisco Unified VXML Server. 🙂

 

Configure the Voice Gateway

You must have to upload the gateway files for standalone exercise explained on getting started guide. Also you have to add the Voice Gateway from the CVP Operations Console also make sure your VXML server is up and running on CVP.

Now let’s concentrate on the voice gateway. You have to create an application where the CVP VXML server IP and the application would be defined. It’s pretty simple like the below:

Now you need a dial-peer with ‘incoming called-number’ where you have to call the application just you have created.

 

Configure the CUCM

I have used my CUCM IP phones as the test phones to test the script functionality, so I had to create a SIP trunk from CUCM to the voice gateway first, then create a Route Pattern towards the gateway.

 

The configuration is done, let’s discuss the call flow now. If you are an ICM expert then it’s so easy to you I know but it was also confusing to me rather than thinking it easy. 🙂 If you dial 6005551234 from your IP Phone which will access the route pattern and will hit the voice gateway thru the SIP trunk, it will match the dial-peer with ‘incoming called-number 6005551234’. The dial-peer will call the service ‘userinputtest’ hence the service will call the CVPSelfService.tcl script, the TCL will call the CVP with appropriate application name. The application is already running on the CVP VXML Server so it will begin processing. I have taken the screenshot of the phone while the call was in progress:

On next I shall discuss the same project on comprehensive scenario where ICM will take take control of the calls and refer the CVP script when required. That would be a great fun!

Happy labbings! 🙂

 

Advertisements

About Mijanur Rahman
I have started blogging to save and share my study notes, findings and research notes as I have already lost some important! Wish you find something helpful from my blogs, if you have anything to ask you are always welcome to comment or contact me directly. Thanks, Md. Mijanur Rahman

8 Responses to Simple CVP CallStudio Script: Standalone Exercise

  1. senthil says:

    senthil:
    like this Mijanur.. am new to this tech, would be great if you post some more..

  2. Shabbar says:

    am trying to integrate voice to vxml the user calls a no which triggers a url to send to the script how would i do this

  3. Mijanur you are doing great job .. Shaikh Junaid

  4. Muhammad says:

    Hi Mijanur,
    Nice work. Please let me know if you able to doing some testing with CRM and VXML…

  5. jose says:

    Nice !, I know a bit of VoIP tech, but would like to make a career doing ICM/CVP implementations.
    is there a way to get a demo version of the software for a homelab?

  6. Juned Ahsan says:

    Super Mijanur, i like your post….comprehensive….. im new to this world but hope to find similar posts to learn quickly. Thanks for sharing.

  7. Pingback: Simple CVP CallStudio Script: Comprehensive Exercise « Mijanur Rahman's Blog

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: