Friday, 5 September 2008

Part 2: Exchange Server 2007 UM: Get started

A. Installing Exchange Server 2007

We’re assuming you’ve installed Exchange as recommended by Microsoft; frankly it’s mainly a “point and shoot” but just ensure to install the UM role.

If you’re just enjoying manipulating command lines, here’s one for you to install Exchange Server 2007 with the following roles: Client Access, Mailbox, Hub Transport and Unified Messaging

From your Windows system, open a command prompt and browse to the Exchange install source. In our case, that’s the D: Drive. Then type the following commands:

SETUP /roles:CA,H,M,U /mode:install

This would take some times before it completes, so make sure you grab a cup of coffee or go for a walk or something.

B. Configuring The Microsoft Exchange 2007 Unified Messaging

Here we’re going to spend some time setting up Exchange Unified Messaging; at least only the basic options. One can build from this foundation to suit their needs.
We’ll just keep on ignoring the GUI, so we’ll do the following tasks in the Exchange Management Shell the folks at MS gladly made available; however, you can still use the Exchange Management Console to set up all these options.

First, let’s create a Dial Plan [much like we did with the extensions.conf above but the Microsoft way ]

1. Create new dial plan

We’re going to set up our test Dial plan (TestDialPlan) along with number of extensions (4 digits) allowed as well as the Subscriber Access Number (8800)

new-UMDialPlan –Name TestDialPlan –NumberOfDigitsInExtension 4 -AccessTelephoneNumbers 8800 -VOIPSecurity Unsecured

2. Create a new SIP Gateway

Here, we’re adding Asterisk as our SIP gateway and associate it with the dial plan we’ve just created. You may choose to use an IP address in lieu of a FQDN name.

New-UMIPGateway –Name Asterisk –Address "siptcp.americas.local" –UMDialPlan TestDialPlan

3. Create a new Auto-Attendant

we’re now creating an new auto-attendant called TestAA, linked to our TestDialPlan and can be accessed by phone via two numbers: 8888 & 9999. This Auto-Attendant is speech-enabled so we can dictate commands by voice rather than using a phone keypad to make menu selections. We’ve also chosen to enable to actual Auto-Attendant; by default, it’s disabled.

New-UMAutoAttendant -Name TestAA -UMDialPlan TestDialPlan -PilotIdentifierList 8888,9999 -SpeechEnabled $true -Status Enabled

4. Associate Dial plan to Exchange Server

Up until this point, our dial plan and all the configurations around are basically doing nothing and will stay that until we effectively link a Unified Messaging Server to make use of it.
It’s also important to note if you have other Dialplans other configured with this server, running the following will remove them and only set those [dialplan] you specify here
Set-UMServer –Identity EXBE -DialPlans TestDialPlan

example with previous DialPlan on the server

Set-UMServer –Identity EXBE -DialPlans TestDialPlan, AnotherDialPlan, KewlDialPlan

5. Enable Unified Messaging Services on a user

Now, we’re ready to UM-enable a user. In our case, this is Claude; whose email address is We’re going to assign Claude extension 4455 and PIN for 123654. While we’re here, let’s create another user named James with extension 4466.

Enable-UMMailbox -Identity -UMMailboxPolicy "TestDialPlan Default Policy" –Extensions 4455 -Pin 123654 -PinExpired $false

NB – you can review the Microsoft TechNet Center for additional options one can specify for these commands.


Pat said...

Another small typo for you:

New-UMAutoAttendant -Name TestAA -UMDialPlan TestDialPlan -PilotIdentifierList 8888,9999 -SpeechEnabled $true -Enabled $true

This does not work as it complains about the final -Enabled $true. You have first create the AutoAttendant and then enable it.

Claude Tambu said...

Thanks Pat, the actual command is -Status Enabled rather than -Enabled $true

I'll correct the text above.

Thanks again and have a great one!

Claude T.

Anonymous said...

Again another great doc on how to get 1.6 and um setup. The million dollar question still appears to be unanswered. 1.6 + ex um + mwi = negatory good buddy. I would love to see someone make that work.