Trixbox/Exchange Voicemail setup

No sooner had I posted Shaun's Asterisk/Exchange setup instructions, James Brooks emailed me with instructions specifically for Trixbox. I have included his email below. Thanks very much for taking the time to work this out and send it in James.



First of all can I just thank you for adding to the efforts of Alginald in interfacing Asterisk to Exchange 2007 UM; your instructions are concise and accurate, and I for one could not have got this far without them.

Secondly my best wishes for a speedy recovery of your Dad.

Following on from Shaun's Asterisk instructions, in order to get Trixbox diverting voicemail calls to Exchange 2007 you need to do the following:

1. Make sure that Trixbox Voicemail module is installed

2. Enable Voicemail for each extension you want to have voicemail in FreePBX within Trixbox, assign a PIN/password although it won't be used

3. Modify your extensions.conf file within /etc/asterisk (I used the Trixbox - Admin > Asterisk > Config Edit option) as follows:

a. Locate the [macro-exten-vm] section

b. Comment out the line:

exten => s,n,Macro(vm,${VMBOX},${DIALSTATUS})

so that it reads:

;exten => s,n,Macro(vm,${VMBOX},${DIALSTATUS})

c. Beneath the newly commented-out line, add the following two lines, replacing 222 and sipx.lithnet.local with the Exchange Subscriber Access number and your sipX FQDN respectively:

exten => s,n,SIPAddHeader(Diversion: <tel:${EXTTOCALL}>\;reason=no-answer\;screen=no\;privacy=off)
exten => s,n,Dial(SIP/222@sipx.lithnet.local|30)

4. Save/update the modified extensions.conf file and restart the Asterisk services or reload config.

Hope the above is of help...

Warm regards,