UCCE: If you can’t manage OPCcap logs…

Two approach you can follow:

1. The automatic scheduled tasks already should be on the PG server, so learn how to manage the logs from this tech-note.

2. You can simply stop logging by turning off the registry key ‘CaptureMessages’ under OPC at each PG, make it ‘0’ to turn it off.



Single Number Reach on CME

I can remember it was not so single procedure to configure SNR on CUCM, but on CME? It’s more easy! Just few commands and that’s it! So let’s do it…

This is my phone I configured SNR:


ephone-dn 3 octo-line
 number 645
 label 645
 description Mijanur Rahman
 name Mijanur Rahman
 snr 998180433 delay 5 timeout 15

ephone-template  1
 softkeys idle  Redial Newcall Mobility Cfwdall Pickup Dnd
 softkeys connected  Endcall Hold Mobility
ephone  3
 device-security-mode none
 mac-address 0023.5EB7.2949
 ephone-template 1
 type 7961
 button  1:3
dial-peer voice 6 pots
 destination-pattern 99.......
 port 0/0/0
 forward-digits 8


Just arrived my CCIE plaque, it’s cool! I’m loving it!! :)

Just received my CCIE plaque, the CCIE printed certificate and some kits from Cisco. I’m loving it! ๐Ÿ™‚

Simple CVP CallStudio Script: Comprehensive Exercise

Well, this is the continuation of the previous entry ‘Simple CVP CallStudio Script: Standalone Exercise‘. On previous entry the call flow was limited to CUCM, VGW and CVP but on this exercise the ICM would be involved. ICM script would call the CVP script by ECC Variables to execute it, collect data and might be send back to ICM, the CVP VXML script would be like a sub-script of the ICM script.

Okey, let’s talk about the deployment. You will need the ICM installed, that might be the progger or sprawler deployment model. You will need the Distributor (AW), Logger and Router running also you need a Peripheral Gateway (PG) to talk with CVP. I installed the whole ICM components on a single VM image on ESX for lab environment, the PG is installed also into the ICM itself. Though the Cisco Unified CVP Getting Started Guide tells you to install the PG into the CVP box but I found no difference. Here is a single screenshot of my ICM image:

Now let’s move on deployment, how to complete the exercise. I want to recall again, this is the detail view of the exercise explained on Cisco Unified CVP Getting Started Guide chapter 10 (Expand the Initial Exercises) so you must need to be familiar with the previous exercises first.

Configuring the ICM

You will need to configure the Call Type, Dialed Number/Script Selector, creating the script and associating with the Call Type.

The dial-number for the ICM script would be 6005557777 in this case so the dialed number I have configured is here:

Also the Call Type is here:

Associate the Call Type with the DN I created:

The ICM script now:

Most important part here is the ECC Variables. Here is the values of ECC Variables:

Call.user.microapp.media_server = “http://CVPIP:7000/CVP”

Call.user.microapp.app_media_lib = “..”

Call.user.microapp.ToExtVXML[] = concatenate(“application=UserInputTest;”,concatenate(“callid=”,Call.user.media.id))

Call.user.microapp.UseVXMLParams = “N”

The detail of this parameters would be found at chapter 10 of Cisco Unified CVP Getting Started Guide.

Now save the script, associate with the Call Type you created:

That’s all from the ICM side! ๐Ÿ™‚

Configuring the Voice Gateway

You will need to create some dial-peers and applications on voice gateway to accept and forward the call on return path from ICM. Go to Chapter 9, Section A starting from page number 94 to follow the procedures to configure the gateway. I wont repeat those. ๐Ÿ™‚

Configuring the CUCM

You will need to create #1 a CVP SIP Trunk from CUCM, #2 a Route Pattern through the call toward the CVP trunk.

The CVP Trunk:








The Route Pattern:

So all done! I don’t need any modification on CVP because I have already done that on previous standalone exercise! Now make a test call and monitor the ICM script to check the status of the call. I have additionally added a Label (3001) to transfer the call to 3001 after the CVP script execution end, hence to prove the call is following the ICM script even though it’s executing the VXML CVP script.

This was the end of CVP Getting Started Guide. ๐Ÿ™‚ I have plan to study more on CVP specially the CVP scripting part and interaction with CRM to fetching data and playback, playing more with ECC Variables etc. I’ll keep posting if I learn anything new. ๐Ÿ™‚

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! ๐Ÿ™‚


Install Windows XP on VMware ESX Server: Some tweaks and workarounds

It’s so easy to install the Windows XP Professional on VMware Workstation on VMware Server just because of XP installation CD comes with the IDE driver by default. But think the case you are going to install Windows XP Professional on SCSI disks and your XP Installation disk doesn’t contain the SCSI storage drivers! So, you will see the error message “Setup didn’t find any Hard Disk drivers installed on your computer’ and you have no choice ignoring the setup. So how to install the Windows XP on VMware ESX server? Answer is simple: you have to inject the SCSI driver before the installation continue! So how to do it?

Download the SCSI Driver and Create Floppy Image

Download the Buslogic SCSI driver from here: ย http://download3.vmware.com/software/vmscsi-, (this floppy image is ready to use)

Download the LSILogic SCSI driver can be found fromย ย symmpi_SCSI_WinXP_P12_12605.zip, unzip it and put the driver forย LSI20320-R controller into a new floppy image named ‘LSILogic.flp’, I used MagicISO to build the image.

Tweak your XP Installation CD Image

First let me explain why you need this. During installation after you have ejected the SCSI drivers from the floppy image it can recognize the SCSI storage type so the installation continues. But the issue you will must face while it will start copying files on C:\ drive it can’t find the vmscsi.sys, vmscsi.inf and vmscsi.cat just because of these drivers are not included on your installation CD i386 directory, right? So there might be two solutions: #1. you can recreate the CD image by injecting these drivers, #2. you can instruct the installation not to ask the drivers again from the CD image. I preferred #2 just because of simple and quick procedure. So how to do it?

– Go to the installation disk i386 directory, find out the WINNT.SIF file, open it with notepad.exe

– Change the instruction from OemPreinstall=”Yes” to OemPreinstall=”No”, it will prevent asking the SCSI drivers again while starting copying the files.

Start Installation

– Configure the ESX VM instance with BusLogic/LSILogic SCSI disk as per your server supports


– Configure the floppy drive with the image you just build


– Configure the CD/DVD Drive with the customize image you just build.


– At the very starting of the installation press F6 to inject the SCSI driver, it will give you the below options after while, follow the procedures.




Whoa!!! Now close your eyes and wait for the installation finishes. ๐Ÿ™‚

Called/Calling Party Transformation Pattern Behavior on UCM 7.0

While calling out you cannot DM the calling party number using ‘Calling Party Transformation Pattern’, on the same while calling in you cannot DM the called party number using ‘Called Party Transformation Pattern’.

If you require to manipulate as mentioned you can do it either on the Gateway or Trunk for the ‘calling in’ cases (unfortunately you don’t have much choice for such route) and on the Translation Pattern, Route List, Route Pattern, Gateway and Trunk for ‘calling out’ cases (you have lots of choice here!).

Limitations of such ‘Calling/Called Party Transformation Pattern’ is resolved on UCM 8.0 and later versions so far I heard but didn’t tested it yet.