My Demo Environment - UM

As I posted earlier I am writing a series of posts on how I set up my UC demo environment,

In this post I am going to talk about how I set up UM - this is a pretty basic setup but for me being very new to the whole telephony arena it was a good learning curve. It does not cover OCS integration yet I will come on to that in a later post. If you follow this post you should at the end of it have a UM server, Gateway and phones that can all talk to each other and leave Voicemail and call Outlook Voice Access 

1. Install the UM role ( I have this with Hub Transport/Mailbox and CAS in a VPC.)

image

Don't be alarmed by the SP1 setup - this is just something I was using and all this is available in RTM.

2.Once installed I choose to add some language packs ( these will be installed by default if they are in the UM directory) I don't as they add some time to the install and I do not want all of them.

To add them manually after install run

Setup.com /AddUmLanguagePack:<UmLanguagePackName> /s: d:\<MyLocalFolder>

Where UmLanguagepackname corresponds to Value for the language pack

 

UM language pack    File name Value
US English umlang-en-US.msi en-US
German umlang-de-DE.msi de-DE
French umlang-fr-FR.msi fr-FR
Japanese umlang-ja-JP.msi ja-JP
UK English umlang-en-GB.msi en-GB
Korean umlang-ko-KR.msi ko-KR
Spanish (Iberian) umlang-es-ES.msi es-ES
Mandarin (China) umlang-zh-CN.msi zh-CN
Mandarin (Taiwan) umlang-zh-TW.msi zh-TW

For example if I wanted Spanish Iberian

I would run

Setup.com /AddUmLanguagePack:es_ES /s: d:\<where the msi file is>

BTW double clicking the MSI will not work

3. Configure the Gateway (Mp114) - I used the ini file off the Audiocodes website (anything for an easy life) The file contains the following and I have highlighted (coloured red) some things you may need to change

PREFIX = 2,10.10.10.1,*,0,255 This is the IP address of the Audiocodes gateway
PREFIX = *,10.10.10.3,*,0,255 This is the IP Address of the UM server
FWDINFO_0 = 4,2001@10.10.10.3;transport=tcp,20 2001 - the ext number and 20 is the duration the phone rings before going to UM
FWDINFO_1 = 4,2002@10.10.10.3;transport=tcp,20 2002 the ext number 20 is the duration the phone rings before going to UM 

FXSLoopCharacteristicsFilename = 'MP11x-02-1-FXS_16KHZ.dat'
CallProgressTonesFilename = 'usa_tones_12.dat'

ENABLECURRENTDISCONNECT = 1
ENABLEREVERSALPOLARITY = 1
FarEndDisconnectSilencePeriod = 60
;ENABLESILENCEDISCONNECT = 1

CNGDetectorMode = 2
RFC2833PayloadType = 101
MAXDIGITS = 4
ISTWOSTAGEDIAL = 0
ENABLEVOICEDETECTION = 120
MWIANALOGLAMP = 1
ENABLEMWI = 1
ISFAXUSED = 1
SUBSCRIPTIONMODE = 1
SIPTRANSPORTTYPE = 1
3XXBEHAVIOR = 1
CODERNAME = g711Alaw64k,20,0,8,0
PSTNPREFIX = 2001,0,*,*,0
PSTNPREFIX = 2002,0,*,*,0
PSTNPREFIX = *,2,*,*,0
TARGETOFCHANNEL2 = 1111,1
TARGETOFCHANNEL3 = 1111,1
TRUNKGROUP = 1-1,2001,0
TRUNKGROUP = 2-2,2002,0
TRUNKGROUP_2 = 3-4,2003,0
TRUNKGROUPSETTINGS = 2,2,255,$$
TXDTMFOPTION = 4
DISCONNECTONBROKENCONNECTION = 0
EnableDetectRemoteMACChange = 2
ECNLPMode=1

CDRREPORTLEVEL = 1
GWDEBUGLEVEL = 5
SyslogServerIP = 10.15.6.100
EnableSyslog = 0

For example if you want to reduce the number of rings you would change the 20 to say 10. Likewise if you choose a different extension number then just make sure it is changed anywhere else in the script 

4. Configure the UM server - this is really easy - I am using 4 digit numbers so all I need to do is create a dialplan

New-UMDialplan -Name MyNewDialPlan -NumberofDigits 4

Items in bold are up to you

Then create a Ipgateway

New-UMIPGateway -Name MyUMIPGateway -Address 10.10.10.1

The ip address is the address of the Gateway, in my case an Audiocodes MP-114

Finally associate the Dialplan with the UM server

Set-UMServer -Identity ExUMSrv -DialPlans MyNewDialPlan

The ExUMSrv is the name of the UM server and the Dialplan must be the name of the dialplan created earlier.

And that is it - all you need to do now is enable your users for UM

Enable-UMMailbox -Identity Julian@contoso.com -UMMailboxPolicy MyDomainUMPolicy -Pin <give pin number> -extensions <either 2001 and 2002>

You will notice that it asks for a UMMailboxpolicy, this is automagically created so you will need to find what it is called and use that value.

The pin can be assigned by the server if you want but that will mean you have to log in to the mailbox to get it

And that is it - you can now dial and leave voicemails and access Outlook Voice Access till your heart is content.