Exchange Unified Messaging and Trixbox 2.8 Howto

Posted on May 18, 2009 | Written by Jonathan

Now that Trixbox has incorporated Asterisk 1.6, as of Trixbox 2.8 Beta, configuring it to access Exchange Unified Messaging is pretty simple.  This will be a quick and dirty howto in which I will assume that the reader is somewhat familiar with both Exchange 2007 and Trixbox.

Once you have Trixbox installed and working with one or more extensions, you will need to configure SIP to allow TCP connections by editing /etc/asterisk/sip_general_custom.conf and adding the following lines:


tcpenable=yes
tcpbindaddr=0.0.0.0

This will enable SIP over TCP and bind the protocol to all network adaptors in the system.

Your next step is to configure a SIP trunk from the PBXConfig section of the Trixbox Web Administration Tools.  It should be created as follows:

Outgoing Settings:

Trunk Name: Exchange

PEER Details:
host=[IP Address of Exchange 2007 UM Server]
type=friend
insecure=very
transport=tcp
port=5065
context=from-internal

Save this trunk and add a new outbound route:


Name: Exchange

Intra Company Route: Checked

Dial Patterns:
8800
9999
8888

Trunk Sequence:
Exchange

Save the route and apply the changes.

Now we need to configure Exchange:

In the Exchange Management Console under Organization Configuration -> Unified Messaging:

New UM Dial Plan:
Name: Asterisk
Number of digits in extension numbers: I chose 4, but if you use a different number of digits in you extensions, put what makes sense for your configuration.

New UM IP Gateway:
Name: Asterisk
IP Address: IP of your Trixbox Server
Dial Plan: Choose the Asterisk Dial Plan you just created.

New UM Mailbox Policy:
Name: Asterisk
Dial Plan: Choose the Asterisk Dial Plan you just created.

New UM Auto Attendant:
Name: Asterisk AA
Dial Plan: Choose the Asterisk Dial Plan you just created
Extension Numbers:
8888
9999
Create auto attendant as enabled: checked
Create auto attendant as speech-enabled: checked

Now view the properties of the Asterisk Dial Plan and go to the Subscriber Access tab. Add a new telephone number to associate: 8888. Go to the Setting tab and choose G711 for the Audio codec. Press OK.

Now, in the Exchange Management Console, go to Server Configuration -> Unified Messaging. View the properties of your UM server there and click on the UM Settings tab. Add the Asterisk Dial Plan and click OK.

The last step is to go to Recipient Configuration -> Mailbox and enable Unified Messaging on a mailbox there.

Now just dial 8800 from your extension on the Trixbox server and if everything went right you should be connected to Exchange Unified Messaging!

Thanks to the author of this page for the Asterisk configuration example:

http://blog.itcons.net/2008/09/part-3-integrating-asterisk-with.html

Tags: , , ,

5 Responses

  1. Savi Thomas
    September 3, 2009

    Super simple, I was looking for this, thank you so much.


  2. Alex P
    October 1, 2009

    This guide is great.I have tried the setup with trixbox 2.8.1 However everytime I dial extension 8800 i get all circuits are busy.Anybody else having this issue?


  3. Rick
    December 20, 2009

    YES! I am having the exact same problem. I am not sure if it is the tb server giving me the “all circuits are busy”, or the UM server. I am playing around with the settings right now. This article is good but seems to assume an awful lot instead of giving all instructions.


  4. Jonathan
    December 22, 2009

    Sorry, I believe it was a typo. You should dial 8888 to access UM.


  5. Andy
    January 11, 2010

    Awesome, this article made it a breeze. Of course I always forget to apply the config changes on trixbox so it didn’t work the first time, but not this articles fault!


Leave a Reply


Contact Information

We a located north of downtown Indianapolis in Carmel, Indiana.


Proactive Networking, Inc.
Fidelity Plaza Tower 1
11550 North Meridian, Suite 190
Carmel, Indiana 46032


Telephone: (317) 590-0851
FAX: (317) 705-2716


Please click for Contact Form.

Get Social!

become a facebook fan!


find us on flickr!


follow us on twitter!

 Flickr Photos