Asterisk/Exchange Voicemail

Shaun Ewing kindly sent me the details of how he got Asterisk working with Exchange UM Voicemail. I will test and integrate this into the instructions shortly. Thanks very much Shaun!


Hi Ryan,

Just wanted to send you through an email thanking you for the instructions for getting Asterisk to talk to Exchange 2007. We don’t actually use Asterisk as our phone system, but I wanted to demo the functionality of Exchange UM for our upcoming Cisco Callmanager rollout.

Thought I’d let you know that using Exchange 2007 for Asterisk voicemail is surprisingly simple.

Let’s say you have the following in extensions.conf (for Asterisk VM):

exten => _93XX,1,Dial(SIP/uri17r)
exten => _93XX,2,Voicemail(su${EXTEN})

All you need to do is adjust it to do the following:

exten => _93XX,1,Dial(SIP/uri17r)
exten => _93XX,2,SIPAddHeader(Diversion: <tel:${EXTEN}\ ;reason=no-answer\;screen=no\;privacy=off)
exten => _93XX,3,Dial(SIP/pilot@exchange60)