Archive for the ‘Uncategorized’ Category

Forwarding calls back across a SIP trunk between CUCM and CME

Uncategorized | Posted by admin
Aug 25 2010

So lets say you have a Cisco Unified Communications Manager (CUCM) system with Unity or Unity Connection. You also have a remote site running on Callmanager Express (CME) with a SIP trunk to the CUCM as the primary gateway. To keep costs down, you decided to use your centralized unity system as the VM provider rather than purchase the Unity Express module for the router.
Here’s the problem: When you call an extension on the CME box and it rolls to voicemail, you get a fast busy.

If you do a debug, you will see the following messages:

Router# debug ccsip messages


SIP/2.0 302 Moved Temporarily
Via: SIP/2.0/UDP 192.168.1.10:5060;branch=4gsi4lsi84o57osh7j6ps
From: <sip:1000@192.168.1.10>;tag=91837ae4-cf98-d1ae-7f23-95fe870ab193-d4875345
To: <sip:5000@192.168.2.1>;tag=92FE84D7-CB6
Date: Wed, 25 Aug 2010 22:00:00 GMT
Call-ID: fe1edf80-c7519084-a9be7-5ff1bac@192.168.1.10
CSeq: 101 INVITE
Allow-Events: telephone-event
Server: Cisco-SIPGateway/IOS-12.x
Content-Length: 0

This SIP message tells the CUCM that the number has been forwarded. By default, the CUCM will not know what to do with this and so will return a reorder tone.

This is an easy problem to fix, though probably hard to describe in a few words.
You could disable this SIP feature in IOS, but that would route all voice traffic for those users (to voicemail) out to the remote site and then back to the VM server. It works if your system doesn’t support this feature… but it’s not the best solution.

Instead we can just configure CUCM to reroute calls when it receives these messages.

Start by adding a new SIP profile if you use the Standard SIP Profile.
Go to : Device -> Device Settings -> SIP Profile
Click on Find and select the Standard SIP Profile
Click the Copy button to create a copy, then give the copy a new name. Something like Custom SIP Profile or Enhanced SIP Profile is fine or use your own naming standard.
Then before you save it, check the box that says Redirect by Application… this allows the CUCM system to process redirect messages on SIP devices using this profile.
Then click Save.

Next we go configure our SIP Trunk
Device -> Trunk
Click the Find button and click on your Trunk name.
Scroll all the way down. The second to the last line is your SIP profile. Change this to the custom profile we just created.
Lastly we need to tell the trunk where to reroute calls to… look a few lines farther up and you’ll see a Rerouting Calling Search Space field. Set that to your outgoing CSS. (Or a CSS that provides access to your VM or other required services)
Save the changes and Reset the trunk.

That’s it! The CUCM system will now process the SIP redirection messages and reroute the caller accordingly.

Back to the Grind

Uncategorized | Posted by admin
May 18 2009

And so it begins again… the helplessly frustrating, yet incredibly entertaining monotony we call work.

Regularly scheduled updates, including new challenges, will begin this week… stay tuned…

Vacationing and Influenza

Uncategorized | Posted by admin
May 04 2009

My family and I have recently embarked on a vacation to Japan.  The trip was much easier than I thought it would be with 3 young children.  There were some very interesting changes though with Swine Influenza spreading.  We had a long layover in Taiwan and when we left the aircraft, there were a very good deal of people wearing masks in the airport.  Probably a good idea even without an influenza scare since there are people in the airport from all over the world.  Our arrival in Japan, however, was even more involved.  Before passing through customs, we were required to fill out a document regarding our recent health and travel.  Since we were coming from the U.S. we were further required to undergo a simple health check.  Apparently on some flights, the health inspectors actually board the flight and check people before allowing anyone to leave the plane.

What a week…

Uncategorized | Posted by admin
Apr 24 2009

This week has just been too busy.  I was working from the time I got up to the time I passed out for the night.  Next week I expect to be posting regularly again.

I’m finishing up this weeks lab and will post it later tonight.  Sorry for the delay.

Monsters vs. Aliens

Uncategorized | Posted by admin
Apr 11 2009

mvaWe took the kids to see Monsters vs. Aliens 3D this weekend.  Special treat, since we almost never go to the theater.

I really enjoyed the movie.  It was entertaining, for kids and adults, and the art was great.  This isn’t a movie review blog and I hardly think I could do it justice if it was.  Suffice it to say that I thought it was a well made, fun movie.  Definitely one I plan to add to my collection.

Praise for Wordpress

Uncategorized | Posted by admin
Apr 10 2009

So, when I originally started this blog, I searched high and low for various blog scripts.  I wanted to host my blog on my own server, but wanted a great deal of flexibility and control.  I had never really researched blogging too much and had always assumed that Wordpress was a hosted service.

I came across a webpage that mentioned that Wordpress could be downloaded and installed on a personal server.  I immediately went to check it out.  Within 10 minutes, I was up and running.

I have used wordpress for a little over a week now and I am very impressed.  It provides a very solid interface with a SQL engine backend.  Extremely customizable with a large user base.  This means there are a lot of themes and plugins available for use.

Wordpress was written in PHP, so as a PHP programmer, I have had no problem adjusting the themes to fit my needs perfectly.  Wordpress provides detailed API documentation for theme/plugin creation which makes it very easy to put together customized content.

I absolutely recommend Wordpress to anyone looking to start a blog or any personal webpage for that matter.

http://www.wordpress.org/