AI, ML, Development + Cisco Learning Blog Learning about Machine Learning, Artificial Intelligence, related devlopment topics and formerly Routing and Switching, Datacenter, Security and other topics, CCIE #23664, Frank Wagner

26. Mai 2007

CallManager Express and Dynamips

Filed under: dynamips,Voip — ocsic @ 22:17

As you know maybe, CallManager Express is able to manage small sites with up to 100 phones. I installed a CME capable IOS on a dynamips 3660 router and i’m able to connect a real phone to the dynamips router.

Here i explained who you could make your local device and network available to your dynamips routers. Keep in mind that you have to allow traffic on your newly created interfaces, for example br0 and allow the new traffic, if you have a firewall enabled.

For using tap0 and br0 look at this link:

http://blog.sazza.de/?cat=26

You need an image that is callmanager express capable IOS. Look at cisco.com and IOS Feature Navigator http://www.cisco.com/go/cfn and search for CallManager Express. You need a valid CCO account for downloading IOS images.

Currently dynamips is able to simulate a lot of 3600’er and 3700’er routers. So choose the one that matches your needs.The 3660 only support CME 3.0 though.

You have to add then some extra flash to keep up the files for the phones.

Dynamips supports the disk option. So „disk0 = 256“ gives you a lot of space for files.

You have to format the flash before using it.Do thi dependend on the router IOS with „erase flash:““ or „format flash:“

On the 3725:

cme#erase flash:
Erasing the flash filesystem will remove all files! Continue? [confirm]
Erasing device… eeeeeeeeeeeeeeeeeeeeeeeeeeeeee …erased
Erase of flash: complete

Then you can tftp files to flash, for example moh file „music-on-hold.au“

cme#copy tftp flash
Address or name of remote host []? 1.1.1.29
Source filename []? music-on-hold.au
Destination filename [music-on-hold.au]?
Accessing tftp://1.1.1.29/music-on-hold.au…
Erase flash: before copying? [confirm]n
Loading music-on-hold.au from 1.1.1.29 (via FastEthernet2/0): !OOO!OO
[OK – 496521 bytes]

Verifying checksum… OK (0x206E)
496521 bytes copied in 15.516 secs (32001 bytes/sec)

cme#dir
Directory of flash:/

1 -rw- 757 <no date> startup-config
2 -rw- 496521 <no date> music-on-hold.au

268435452 bytes total (267938040 bytes free)

To setup moh (music on hold) do the following:

telephony-service
ip source-address 192.168.1.31 port 2000
moh flash:music-on-hold.au

…..

And configure, as it’s not the default, „multicast-moh“ under each ephone you want the feature.

You should hear now the moh sound.

You should also copy the cme-gui archive to the flash:

cme#archive tar /xtract tftp://1.1.1.29:/cme-gui.tar flash:/

Login to your router through:

http://1.1.1.31/telephony_service.html

Keine Kommentare »

No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment

Powered by WordPress