login | register
Wed 01 of Aug, 2007 [10:22 UTC]

voip-info.org

Search with Google
Search this site with Google. Results may not include recent changes.

Web www.voip-info.org
Shoutbox
  • Aykut, Wed 01 of Aug, 2007 [07:53 UTC]: Hi all, does anybody know about Thomson ST2030 SIP phone. I have upgraded it to latest version (1.56) but "Hold" and "Conf" features are not working after the upgrade ?? Do you know any solution or do you have Ver. 1.52 ?? Where can I find it?
  • Edward J Brown, Tue 31 of Jul, 2007 [23:33 UTC]: Has anybody experienced Choppy voice quality when using a Linksys SPA942 in an Asterisk Conference bridge? It works fine with my polycom and Cisco, but sucks with my Linksys.
  • www.astawerks.com, Fri 27 of Jul, 2007 [18:00 UTC]: does anyone use asterisk on top of clark connect? does it work good?
  • simon, Fri 27 of Jul, 2007 [14:16 UTC]: Hi All, Has anyone here managed to get the Cisco79x1 to successfully fail over to the backup proxy. I have 2 asterisk servers , handsets all register and function, except that backup proxy function doesn't work. Any working example would be very apprecia
  • Matthew Richmond, Thu 26 of Jul, 2007 [03:40 UTC]: using the page() application to page across our building...often the meetme conferences don't disconnect after the caller hangs up. Anyone else having this problem. (using Polycom phones)
  • Matthew Richmond, Wed 25 of Jul, 2007 [02:58 UTC]: thanks Nicholas Blasgen! I haven't worked with AGI before, but there's always a first! Thanks again!
  • Nicholas Blasgen, Tue 24 of Jul, 2007 [19:18 UTC]: Matthew Richmond, AGI will handle all that for you.
  • sam, Mon 23 of Jul, 2007 [16:39 UTC]: need help - certain voicemail extension will stop working and recording voicemail on asterisk - anyone know why and how to fix it? Thanks
  • john haji, Mon 23 of Jul, 2007 [14:55 UTC]: free calls to pakistan
  • bong, Sat 21 of Jul, 2007 [19:09 UTC]: hi good day to all can anyone help me how to configured the nortel sip to the signaling server and how to activate in mobile w/ sip compatible without mcs
Server Stats
  • Execution time: 0.33s
  • Memory usage: 2.21MB
  • Database queries: 30
  • GZIP: Disabled
  • Server load: 1.28

Asterisk Cisco CallManager Voicemail Integration

This is my first wiki entry and needs to be tidied up a bit. I'll do that when I get around to it, my main priority for now was getting this information online as it seems to be in demand.

Some time ago I wrote a tutorial on using Asterisk as a voicemail for CCM using H323. This has not been wikified, but is available at http://asterisk.edropbox.net/ccmasteriskvm.pdf. H323 does not provide the high level of integration that SIP does.

Overview

Asterisk provides a flexible voicemail system that is a viable option for companies using Cisco Callmanager that do not wish to implement Cisco Unity.

Current version of Cisco Callmanager support SIP trunks with the features required to setup a fully integrated voicemail system. (particularly RDNIS).

Requirements

  • A version of Asterisk. This guide was written with Asterisk 1.0.8.
  • Callmanager 4.0 or higher. This guide was written with Callmanager 4.1(2)sr1 and some menu options may differ between versions. This will NOT work with Callmanager 3.3(5) or lower.
  • Asterisk needs to be integrated with Callmanager using a SIP trunk as detailed Here.

Caveats

  • If a SIP telephone registered to the Asterisk machine acting as voicemail calls through to a Callmanager user and subsequently is sent to voicemail, the call will be dropped. This can be resolved by configuring the device in sip.conf as something like [sipexten] (eg: [sip7222]) rather than [exten] (eg: [7222]).

Features provided

  • MWI
  • Voicemail on the CCM side is enabled by selecting Forward to 'Voicemail' rather than forwarding calls to a mailbox specific extension number.
  • Messages are accessed by pressing the 'Messages' button on the CCM phones, or dialing the VM pilot number.
  • If a CCM user doesn't want to take a call, they can press the iDivert softkey to send to voicemail immediately.
  • CCM users can forward all calls to voicemail in the ccmuser pages, or by pressing CFwdAll and entering the pilot number or messages.
  • All the standard Asterisk voicemail features work just fine, eg: vm to email.
  • etc

Before we begin

You need to plan the following:
  • What your voicemail number will be. This guide will use 8888.
  • What number will disable message waiting on Callmanager. This guide will use 28888.
  • What number will enable message waiting on Callmanager. This guide will use 28889.
  • What number will disable message waiting on Asterisk. This guide will use 230XXXX (we have four digit extensions).
  • What number will enable message waiting on Asterisk. This guide will use 231XXXX (we have four digit extensions).

Callmanager Configuration

  • You need to ensure that "Redirecting Number Delivery - Outbound" is checked on your SIP trunk configuration in Callmanager.

Voicemail pilot configuration


  • Go to Feature -> Voice Mail -> Voice Mail Pilot.

You should have a pilot called 'Default' which we will use. If you don't add a new one. We will configure this pilot as follows:

Image

  • Update the pilot.

Voicemail Profile configuration.


  • Feature -> Voice Mail -> Voice Mail Profile

You should have a profile called 'Default'. If not, add one. Configure it as follows:

Image

MWI configuration


  • Feature -> Voice Mail -> Message Waiting

We will be adding two new numbers, 28888 and 28889 as follows:

Image
Image

Activate Voicemail


  • Activate voicemail on any CCM phones that require it. This is configured in Device -> Phone -> Device Name -> Directory Number.

The settings are fairly straightforward and look like:

Image

iDivert configuration


Where you want the user to be able to send a call to voicemail (whether it's ringing, on hold, etc.) open up the softkey template and add the iDivert softkey to the relevant call states. I'm assuming you know how to do this, so I won't go into detail. Your phones will need to be reset after doing this.

Asterisk Configuration

The fun part.

First we need to configure extensions.conf to handle the voicemail.

In a context that Callmanager has access to (set in sip.conf), add the following:

exten => 8888,1,GotoIf($[${RDNIS}]?2:400)
exten => 8888,2,MailboxExists(${RDNIS}@default)
exten => 8888,3,Congestion
exten => 8888,103,Voicemail(su${RDNIS})
exten => 8888,104,Playback(vm-goodbye)
exten => 8888,105,Hangup
exten => 8888,400,VoicemailMain

If there is no rdnis, Asterisk believes that a user is trying to access their own mailbox and says the login prompt.

Next is the mwi, still in extensions.conf.

You need to add a context that matches your voicemail context. For example, [default].

In this context, we'll add:

exten => _230XXXX,1,SetCallerID(${EXTEN:3})
exten => _230XXXX,2,Dial(SIP/28888@ciscocm)
exten => _230XXXX,3,Answer
exten => _230XXXX,4,Wait,1
exten => _230XXXX,5,Hangup

exten => _231XXXX,1,SetCallerID(${EXTEN:3})
exten => _231XXXX,2,Dial(SIP/28889@ciscocm)
exten => _231XXXX,3,Answer
exten => _231XXXX,4,Wait,1
exten => _231XXXX,5,Hangup

Change the dial lines to match your configuration.

We'll now create the script that calls voicemail. We shall call this /var/lib/asterisk/scripts/vm.sh

This script can be downloaded from http://asterisk.edropbox.net/ccmasteriskvm/vm.txt

Don't forget to chmod to 755, and make sure the script can write in /var/spool/asterisk/outgoing/

In voicemail.conf, add:
externnotify=/var/lib/asterisk/scripts/vm.sh

Save and reload Asterisk.

Conclusion

That should be it. Leave yourself a message and hopefully everything should work.






Created by shaunewing, Last modification by roger on Thu 17 of Aug, 2006 [03:52 UTC]

Comments Filter

Help for running asterisk as an ivr with cisco call manager

by smehrs on Saturday 24 of March, 2007 [23:45:03 UTC]
We are looking for a solution for integrating asterisk as an IVR with cisco call manager 4.1.3, CISCO routers as the Voip gateways; H.323 and G.729 as the protocal.
Can you help us in this integration?

Working MWI

by roger on Thursday 17 of August, 2006 [03:53:26 UTC]
I want to thank you this it a very informative document.

MWI was the only tricky part and now that I now what it is. It's not that tricky

When setting up the MWI in Call Manager Make Sure that:
The MWI and the trunks to the asterisk server are in the same partition and calling search space. Everything else works great


by keli on Friday 28 of April, 2006 [12:12:33 UTC]

MWI - how?

by keli on Friday 28 of April, 2006 [12:11:36 UTC]
I'm in the same boat - it all seems to work OK, except the MWI. Care to explain how you made it work?

When I debug sip on my * server, I can see it dialing the MWI numbers on CCM, but it fails. debug details here: http://pastebin.ca/51992 any idea would be appreciated

MWI Working now

by JJ on Friday 17 of March, 2006 [19:51:00 UTC]
Thank you ,

MWI is working all dandy now.


Asterisk MWI Sip CallDamager

by JJ on Friday 17 of March, 2006 [17:23:12 UTC]
I cant seem to get the MWI light to work, I can dial it from CCM , as well as * and that works just fine and dandy but the script that is available for download doesnt seem to work. I am using * @ Home server. Any Ideas?

Awesome, thank you

by n2lbt on Monday 12 of December, 2005 [15:22:53 UTC]
I hope this is a appropriate, I just wanted to say thanks for writing this up. I had a little trouble making the default *97 on A@H work as the voice mail pilot. I just added an additional VM extension of 8888 and then I don't have to muck with the A@H defaults. I haven't gotten the MWI working yet, but it's low priority as I send my vmail to email an delete anyway.

Please update this page with new information, just login and click on the "Edit" or "Add Comment" button above. Get a free login here: Register Thanks! - support@voip-info.org

Page Changes | Comments

Sponsored by:

Terms of Service Privacy Policy
© 2003-2007 Arte Marketing, Inc.

Powered by bitweaver