Tue 1 Jul 2008
How to setup Cisco Unified Call Manager Express (CUCME) router using GNS3
Posted by admin under Cisco Unified Call Manager Express , GNS3 , GNS3 video tutorials , Session Initial Protocol(SIP)In a previous tutorial, i had showed how to use CME Graphical User Interface(GUI) in order to configure Call Manager Express in GNS3. Here, i will show you step-by-step how you can setup CME router in GNS3 using telephony-setup wizard. I have used Cisco IP Communicator (CIPC ) in this tutorial.You can integrate different IP phone’s (SIP IP phones e.g X-lite , SJphone ) with SCCP based IP Phones using CME router in order to setup a full-blown Small-Office Home-Office (SOHO) environment.
Enjoy!
If you liked this tutorial ,don't hesitate to buy me a Cup of Coffee today !


July 17th, 2008 at 7:08 pm
Do you use VMware to run GNS3?
Do I need to run the archive command and unzip the CME to the router for the TFTP to work for the CIPC to work?
I get error messages that show up on solarwindz that says error SB…xml
And my CIPC phone never registers.
By the way you are GOD sent. I just started studying and I do not have the cash to purchase lab equip. So these tutorials are excellent.
July 17th, 2008 at 11:48 pm
No.I don’t.I run it natively on my machine as you can see in tutorial.It would be waste of system resources if vmware is used solely for running gns3, in my view.
Archive command helps you copy files to router’s flash and extract them in one go rather than doing it manually for each single file.You don’t need it for this scenario.
You don’t need Solarwinds TFTP server for this to work.Check connectivity b/w your CIPC and CME router and if you have configured CME correctly, it should work just fine.
Thanks for appreciation.Please go through tutorial step-by-step.You won’t face any problems then.
July 18th, 2008 at 3:35 pm
This is probably a no brainer but CIPC registered with 192.168.15.10, is this CCM ?
what CCM version are you running and is it bridged with the loopback adapter ?
Can CIPC connect to CME with out registering with the CME and downloading a tftp file ?
This site rocks !!
July 18th, 2008 at 3:53 pm
CIPC registered to CME and not CCM.CME was configured with Ip address: 192.168.15.6 although it could be any IP address as you like.
If you mean CME version , this tutorial covered CME version 4.1.
No,you must register it to either CME or CCM in order to work.
Thanks!
July 19th, 2008 at 5:47 am
The reason i asked is because on starting CIPC it asks for a tftp server; on cancelling the option it goes to the preferences page where i select the microsft loopback adapter. But it does not register with the CME. Connecetivity is not a problem between the looback and the CME. Im using CIPC ver 2.1.2.0.
Could you tell me how to setup CIPC to communicate with the CME?
July 19th, 2008 at 6:46 am
@Lc, You need to specify TFTP server IP address(192.168.15.6) in CIPC preference page in order to register it to CME.
Thanks!
July 19th, 2008 at 12:30 pm
It worked as you said, thanks for my first step to CCVP from the NP.
July 19th, 2008 at 1:52 pm
Great to know that. Welcome Onboard to CCVP/CCIE Voice journey!!!
July 30th, 2008 at 2:57 pm
can you tell me why i do not have the “voice register global” command? i only have “voice register pool”.
i have run the 3725 and 3745 Enterprise IOSs. i have also tried the 2691 and the 3625.
i followed the tutorial with each, but i still don’t have the “voice register global” command available.
i have googled and googled … nothing.
thanks a bunch.
July 30th, 2008 at 7:03 pm
You need to have Cisco IOS release 12.4(4)T or later for voice register global command to work.
This Command Reference guide will help you find more details:
http://www.cisco.com/en/US/docs/voice_ip_comm/cucme/command/reference/cme_v1ht.html#wp1016309
Thanks
July 31st, 2008 at 10:21 am
WG2R1#sh ver
Cisco IOS Software, 3600 Software (C3640-A3JS-M), Version 12.4(19b), RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2008 by Cisco Systems, Inc.
Compiled Fri 13-Jun-08 08:17 by prod_rel_team
ROM: ROMMON Emulation Microcode
ROM: 3600 Software (C3640-A3JS-M), Version 12.4(19b), RELEASE SOFTWARE (fc1)
WG2R1 uptime is 19 hours, 10 minutes
System returned to ROM by unknown reload cause - suspect boot_data[BOOT_COUNT] 0×0, BOOT_COUNT 0, BOOTDATA 19
System image file is “tftp://255.255.255.255/unknown”
Cisco 3640 (R4700) processor (revision 0xFF) with 187392K/9216K bytes of memory.
Processor board ID 00000000
R4700 CPU at 100MHz, Implementation 33, Rev 1.2
1 FastEthernet interface
4 Serial interfaces
DRAM configuration is 64 bits wide with parity enabled.
125K bytes of NVRAM.
8192K bytes of processor board System flash (Read/Write)
Configuration register is 0×2102
————————————————
that’s my Show Version (obviously
)
when i try the Voice Register command, i get the following:
WG2R1(config)#voice register ?
pool Define pool tag
WG2R1(config)#voice register
am i missing something blatantly obvious???
thanks again…
jim
July 31st, 2008 at 8:20 pm
Jim, you are using the ‘mainline or non-T release’.You would require Cisco IOS release 12.4(4)T (Train release) as i mentiioned earlier.
As far as difference b/w two releases goes, here is what cisco has to say:
“The mainline or non-T release accumulates features in the 12.3 T and “letter” releases. New features will be added to the 12.4 T train of releases, whereas 12.4 mainline is for bug fixes.”
Hope this helps!
August 6th, 2008 at 3:44 am
Hello again, please I need to connected my gns3 topology to a cloud to connect my local PC (where I am running Gns3).
I have connected other external PC by your begin explication and all ok; for that I created a NIO TAP by bridge interface in linux, but now, to connect my local PC to the cloud I suppose that now I need to create a linux Nio Ethernet. Do you now anythings?
Best regards.
August 13th, 2008 at 4:22 pm
Please, You can check with the IOS version:
c3745-adventerprisek9-mz.124-15.T6.bin
Now, with this version I can place the comand:
“voice register global”
September 10th, 2008 at 7:48 am
Hi Admin,
I can’t ping my GNS3 CME router from my PC.Not sure how to bind the interface. Can you help please? To access CME this way would be fantastic
Cheers
Rich
September 11th, 2008 at 2:11 pm
Rich,I have shown in several tutorials the way you can bind physical interface/virtual interface/loopback interface to your GNS3 router.You will need to bind your Network Cloud to proper physical/virtual interface in GNS3 by simply selecting the proper interface and hitting ‘add’ button. Then , you can attach that interface to your router’s fast ethernet interface and ping should work from both sides.If you can’t ping , check your PC firewall settings and make sure that ping is allowed.I hope this will be helpful for you.Let me know if you need any further help.
Thanks!
September 15th, 2008 at 7:57 am
@Ktmr23 , please be more specific with your question.I couldn’t get it.If you are looking for “voice register global” command to work,you need to have Cisco IOS release 12.4(4)T or later . Check “Cisco’s Feature Navigator” http://www.cisco.com/web/go/fn for more detail.
September 24th, 2008 at 3:45 am
hi, i have done all things, my pc is able to ping the GNS3 router, but IP Comunicator is not been get registered. im geting “Registeration Rejected:Max Phones Exceeded” error on IP Communicator screen and on CME im getting this error
”
R-1#
*Mar 1 00:14:30.735: %IPPHONE-6-UNREGISTER_NORMAL: ephone-1:SEP02004C4F4F50 IP:
10.0.0.10 Socket:1 DeviceType:Phone has unregistered normally.
*Mar 1 00:14:41.639: %IPPHONE-6-REG_ALARM: 22: Name=SEP02004C4F4F50 Load= 2.1.4
.0 Last=Reset-Reset
*Mar 1 00:14:41.771: %IPPHONE-6-REG_ALARM: 24: Name=SEP02004C4F4F50 Load= 2.1.4
.0 Last=Phone-Reg-Rej
R-1# ”
can u pleas tell me where im doing mistake?
when i start the IP Communicator for 1sec it shows it get registered and then again it start to search tftp-server. in setting of IPCommunicator i have put ip of cme router as tftp-server address .. please help me its really urgent im facing this problem from 1week …
September 24th, 2008 at 6:59 am
Hi!
I am new in VoIP, I reproduced all steps as shown in your video, but the phone cannot find xml load files SEP0..xml, XMLdefault.cnf.xml and Ldapdialingrules.xml, etc… (according to tftp logs), there is no such files (or any directory structure) related to the softphone in my tftp.
I guess I missed something obvious, are those files somehow automatically generated? or I have to copy them manually? if so where from?
Thank you in advance!
September 25th, 2008 at 8:56 am
Anis, “Max Phones Exceeded Error” is related to ‘max-ephones’ configuration under telephony setup. Set this value to number of ephones you have in your network.Sample configuration would look like this:
CUCME(config)#telephony-setup
CUCME(config-telephony)#ip source-address X.X.X.X
CUCME(config-telephony)#max-ephone 5
CUCME(config-telephony)#max-dn 10
Here,i have set maximum ephones to 5 and max no of directory numbers (DN’s) to 10. By following this approach, you should be able to get rid of error.
Also, for setting TFTP address, Under Preferences Option in Cisco IP Communicator, you should be able to setup TFTP server address to source IP address of CUCME.
Hope this helps!
September 25th, 2008 at 9:06 am
@ajn, you are missing a command under telephony-setup which is “create cnf-files”.This command is required in order for CUCME to create configuration files (cnf) XML files and push them over to Cisco Ip Communicator when it registers. This will resolve your problem!
You may use “debug tftp events” command which comes in handy for troubleshooting purposes.
October 16th, 2008 at 2:57 pm
First of all, let me congratulate you on doing a fabolous job. It is very useful for lots of people who are trying to setup virtual lab at home.
I am having a problem establishing a connection between the CME router and the cloud. I am using the 7200 router and my IOS version is 12.4(T). I have 4 adaptor on my Windows XP, wireless and 3 VMnet. I am able to ping all these adaptors in windows.
When I try to connect the CME router to the cloud, I keep getting following error;
205-VM R1 : unable to add binding for slot 0/0.
It does not matter whichever adaptor I select for the cloud. When I go into configure mode for the cloud, I am able to see all the four adaptors. I tried all of them one by one but to no avail.
The funny thing is I am able to connect the CME router to the cloud using ethernet 1/0. However, I am not able to ping the cloud.
My adaptor addresses are:
wireless : 192.168.10.2
VMnet1 : 10.10.1.254
VMnet2 : 192.168.195.1
VMnet3 : 192.168.10.1
I will very much appreciate if you could help me in fixing this problem.
November 2nd, 2008 at 10:16 pm
I’m getting the “Max Phones Exceeded” as well through CIPC.
My config:
telephony-service
max-ephones 100
max-dn 500
ip source-address 192.168.1.110 port 2000
auto assign 1 to 2
max-conferences 8 gain -6
transfer-system full-consult
create cnf-files version-stamp Jan 01 2002 00:00:00
!
voice register global
max-dn 500
max-pool 192
November 16th, 2008 at 6:51 pm
@jj, Which IOS version are you using and on which Router Model? Seems like you have platform limitation.