Microsoft Exchange
From Pbxnsip Wiki
Basic Setup for pbxnsip / Exchange Server 2007 UM Interoperability
This document describes a simple set up for Microsoft Exchange 2007 UM and pbxnsip V2.x software. Although this setup provides basic functionality to get one started, keep in mind both Exchange 2007 UM and pbxnsip offer extensive customization allowing for much more complex configurations.
Configuring Exchange for pbxnsip
1. Install the Unified Messaging role on your Exchange 2007 Server. Run Exchange Management Console:
2. Create a new unified messaging dial plan: Using the Exchange management console, select "Organization Configuration/Unified Messaging". Under actions select new UM dial plan. Name the dial plan ‘pbxnsip’ and set the ‘number of digits in extension numbers’ to 3. Click ‘new’ and then ‘finish’.
3. Create a new unified messaging IP gateway: Under actions select "New UM IP Gateway". Name the gateway ‘PBXnSIP’, select IP address and enter the IP address of your pbxnsip server. Click the ‘browse’ button next to dial plan and select the ‘pbxnsip’ dial plan you created in step two. Click ‘new’ and then ‘finish’.
4. Associate the dial plan with the unified messaging server: Using the Exchange management console, select "Server Configuration/Unified Messaging". Under actions click properties and then click the ‘UM settings’ tab. Under associated dial plans click the add button. Choose the ‘pbxnsip’ dial plan created in step two. Click OK.
5. Enable mailbox recipients for unified messaging: Using the Exchange management console, select "Recipient Configuration/Mailbox". Select the mailbox you wish to enable and then under actions click enable unified messaging. Next to unified messaging mailbox policy click the browse button and then select the PBXnSIP default policy. Enter a mailbox extension for this user which matches their extension number on the pbxnsip server. Manually specify the PIN and click enable. Repeat this step for each mailbox.
Configuring the pbxnsip Server for Exchange
1. Create a new trunk to connect to Exchange: Using the pbxnsip Domain Administrator, select the "Trunks" tab. Name the new trunk ‘exchange gateway’ and set its type to SIP Gateway. Click the create button. Click the edit icon next to the Exchange Gateway. In the Domain box, enter the FQDN or IP Address of your Exchange Server (i.e., exchange.company.com). In the outbound proxy box, enter: sip:exchange.company.com:5060;transport=tcp but replace exchange.company.com with the FQDN or IP Address of your Exchange Server. The example below assumes the address is 100.200.100.200. Click the ‘Accept redirect’ radio button and then click save.
2. Add the Exchange gateway to your current dial plan: Click the "Dial Plans" tab and then click the edit icon next to your current dial plan. In the top dial plan slot, select ‘Exchange Gateway’, enter 7* as the Pattern and * as Replacement. Click Save.
3. Set the pbxnsip “External Voicemail System": This Domain field value contains the number that will be dialed when the PBX wants to send a call to the mailbox. The redirection target should be a telephone number, not a SIP URI. It must be possible to dial that number through the dial plan and the extension must have the permission to do that. You can use the replacement fields known from the caller-ID representation in the trunks. For example, "$u" is being replaced with the extension number. The redirection to the mailbox works only if the mailbox is enabled for that account.
4. You must not use the "Mailbox Direct Dial Prefix": In the Domain settings, make sure this field is empty because it would interfere with the mailbox redirection logic and create an endless redirection loop.
Supported Features
When using pbxnsip with Exchange, you can:
Redirect calls to the mailbox to the Exchange server. This also includes going to calendar or reading out emails. Of course this also includes voicemail to email. Use the address book in Exchange to initiate outbound calls. You can perform voice activated dialling for internal or external calls. You can also use the auto attendant of Exchange. This way, you can use your voice to call extensions. The following features are not supported:
Exchange does not send MWI (message waiting indication) if there is a new message on the mailbox (see http://technet.microsoft.com/en-us/library/2516dac1-dfdc-47eb-8e6f-18b1537a57b2.aspx).
Retrieved from "http://wiki.pbxnsip.com/index.php/Microsoft_Exchange" by Paul McCabe








