Office Communications Server

From Pbxnsip Wiki

Jump to: navigation, search

Basic Setup for pbxnsip / Office Communications Server 2007 Interoperability OCS

This document describes a simple setup for Microsoft Office Communications Server 2007 and pbxnsip V2.x software (V2.1.6 or higher are recommended!). Although this setup provides basic functionality to get one started, keep in mind both Office Communications Server 2007 and pbxnsip offer extensive customization allowing for much more complex configurations.

This guide assumes that you have deployed pbxnsip, OCS 2007 & OCS Mediation Server, Certificate stuff etc. and you only need configuration infos, to get the telephony integration running.

If you don't have licensed pbxnsip, you can order a trial key here: Take it out for a test drive! . You can find versions for Windows or Linux based operation systems here: Download.


Configuring pbxnsip for Office Communications Server 2007 (for configuring Office Communications Server 2007, see below)


1. Create a trunk to your SIP-provider:

Type = SIP Registration, enter all account infos (username, domain, outbound proxy etc.) given by your provider. If you dont use a SIP-Provider create a trunk to your VoIP-PSTN gateway.


2. Create a trunk to OCS-Mediation Server:

Type = SIP Gateway

Domain = FQDN of OCSMediation Server (or IP)

Username = Anonymous

Password = BLANK

Outbound Proxy = sip:FQDN of OCSMediation Server:5060;transport=tcp (example: sip:ocs03.extranet.itacs.de:5060;transport=tcp)

Assume that call comes from user = primary name of an existing pbxnsip-account (Type = extension) which will be charged for calls from OCS-Mediation-Server to the real world. This account must not be in use / registered.

Image:OCS-mediationtrunk.png


3. Create or edit a dialplan:

Pref = 100

Trunk = TRUNK to SIP-provider, or a trunk to your VoIP-PSTN gateway (screenshot shows a configuration example with an AudioCodes Mediant 1000)

Pattern = *, Replacement = * or 0* or something like this (depends on your enviroment)

Image:OCS-dialplan.png


4. Create Static Registrations related to OCS-Users:

Select one of the extensions (accounts) that you have configured in pbxnsip, switch to Registrations:

Image:OCS-staticreg1.png


Image:OCS-staticreg2.png


Under Add Contact, fill in (example): sip:+493039978418@ocs03.extranet.itacs.de;transport=tcp and Click Save.

Repeat this for all extensions/users that should receive an additional ringing in Office Communicator like this:

Image:OCS-addringing.png

Users can decide if they want to take the call at the deskphone or with Office Communicator.



Configuring Office Communications Server 2007 for pbxnsip


1. Configuring OCS 2007 Voice Properties

a) Open the OCS-ServerManagement. Select Forest, then Properties -> Voice Properties, Click Add...

Image:OCS-locprofile.png

Fill in a profilename and a description. Click Add...

Image:OCS-addlocprof.png

Fill in a rule name and a description.

Image:OCS-normrule.png

Fill in a Phone pattern regular expression like ^(\d*)$ and a Translation pattern regular expression like $1

These pattern worked for me, maybe you need others! Test and Play with it or ask a .NET developer how it works. :) Click OK twice!

A screenshot with more pattern examples can be found here: CeBIT_2008_-_Microsoft_UCC_Infrastructure_Phone_Pattern


b) Switch to Phone Usages, you should find here: Name = Default Usage , Description = Sample phone usage, if not click Add..., and Add it.

Image:OCS-phoneusage.png


c) Switch to Policy, activate your preffered Global policy setting, Defined Policies: you should find here: Name = Default Policy, click Edit.

Image:OCS-defpolicy.png

Check Allow simultanous ringing of phones and check if the phone usage is configured Default Usage.

Image:OCS-simring.png

If it is not, click Add..., Add a policy and configure the usage. Click OK twice.

Image:OCS-phoneuserecords.png


d) Switch to Routes: Click add...,

Fill in a Name (example: OCS to PBX via MEDIATION) and Description.

Fill in a Target regular expression like ^(\d*)$

Image:OCS-routeprop.png

These pattern worked for me, maybe you need others! Test and Play with it or ask a .NET developer how it works. :)

Go to Gateways Click add..., Your Mediation Server(s) should be listed here.

Image:OCS-gatewayselect.png

Select one and OK

Go to Phone usages click Configure... See if the Default is configured. OK twice.

One OK more and you leave Voice Properties. Please Check your voice settings again by clicking Voice beside the Status informations!

Image:OCS-voicesett.png


2. Configuring OCS 2007 Frontend Properties

Select Server/Pool Properties: Frontend Properties

Image:OCS-selectfrontendprop.png

Under Voice check if the Location Profile is set. Maybe configure phone lock. Click OK.

Image:OCS-voicefront.png


3. Configuring OCS 2007 User Properties

Switch to Users Properties/additional Options

Image:OCS-userprop.png

Make sure that your ocs-activated-user's are enabled for Enterprise Voice (not pbx-integration) and that the Line URI is filled corresponding to the user. (example: tel:+49303999784xx) This depends on your enviroment! Especially how the called number was send to the ocs mediation server.

Image:OCS-useroptions.png

Note: If you want to know more about "Enterprise Voice with PBX integration", please check out the forum here.


4. Configuring OCS 2007 Mediations Server Properties

Select the Mediation Server Properties

Image:OCS-medgeneral.png

Under General: If you use 1 NIC/ 1IP in OCS Medation Server (not supported, but it works) the Communications Server listening IP address and the gateway listening IP address are the same. If you use 2 IPs select the corresponding one. (Select the A/V Edge Server if you deployed one, not required). Select your default location profile and change the media port range if you want. For the first tests, use the default settings.

Image:OCS-mednexthop.png

Switch to Next Hop Connections, Select the FQDN of your OCS Server/Pool, Port:5061 (default). PSTN Gateway net hop IP address, enter the pbxnsip IP address. Port:5060


5. Testing your new pbxsnip - OCS 2007 enviroment


1. Start communicator, login with an enterprise enabled user and type a phone number, start the call.

2. Call a voip-phone registered at pbxnsip and check if the related Communicator is ringing.

3. Try picking up calls in Communicator, HOLD (works in V2.1.6.2367 and higher), and Call Forwarding features etc...


I hope this helps you with the first steps. Best regards, Jan Boguslawski, ITaCS GmbH, Berlin

You like to see a real world complete topology example of a UC-VoIP enviroment? Take a look at what our team created (planning & deployment done in only 20 days). Note: this was running the whole productive Microsoft booth!

Image:CeBIT_2008_-_Microsoft_UCC_Infrastructure.png

Personal tools
Getting Help