Unified Communications by Yann Espanet

MS Office Communications,Lync,Exchange,VoIP,telephony
Subscribe

Office Communications Server 2007 R2 Workload Architecture Poster

January 25, 2010 By: Yann Espanet Category: Office Communication Server, Training and certification

You will have a global view of Office Communications Server 2007 R2 traffic flow between component like : IM and Presence, Conferencing, Application Sharing, and Enterprise Voice.
You can see the different server roles, the needs in term of server certificate, and also the firewall and DNS configuration requirements.

ocs_poster_thumb

Ref :

http://www.microsoft.com/downloads/details.aspx?FamilyID=AF2C17CB-207C-4C52-8811-0ACA6DFADC94&displaylang=en

Video : OCS 2007 R2 – Deployment Validation Tool Answering Agent

January 17, 2010 By: Yann Espanet Category: Webcast

The Deployment Validation Tool allows you to perform automated testing of calls between agents that are Office Communications Server 2007 R2 clients. It is included with Office Communications Server 2007 R2 Resource Kit Tools, available as a free download at the Microsoft Download Center at :
http://go.microsoft.com/fwlink/?LinkId=145159

You can find the technet page here :

http://technet.microsoft.com/en-us/library/dd572350(office.13).aspx

And watch this video from the Microsoft Technet Chopstick :

Office Communicator for various phones : IPhone, Blackberry, Java Phone

November 01, 2009 By: Yann Espanet Category: Interoperability, Office Communication Server

Communicator for Apple IPhone :

iDialog is an OCS 2007 and OCS 2007 R2 compatible client for the Apple iPhone and iPod Touch.

IMG_0026IMG_0024

Participate in IM message and Forward incoming OCS Voice Calls

iDialog supports the following features:

  • Display OCS contact list and presence information
  • Set presence information, including custom note and location data
  • Search corporate Global Address List (GAL)
  • Send and receive Instant Messages (IM)
  • Add multiple participants to an IM conversation
  • Manage and participate in multiple IM conversations simultaneously
  • Control incoming OCS Voice calls (forward/redirect an incoming OCS call to another device, such as an iPhone, voice mailbox, or another phone number)
  • Call a phone number listed on a contact card (This feature is not available on iPod Touch devices)
    Send an email to an address listed on a contact card

http://www.modalitysystems.com/idialog/

Communicator for BlackBerry :

What you can do :

  • Initiate and manage group chat sessions of three or more participants from your smartphone
  • View the presence status of contacts, such as online, busy, do not disturb, be right back, away or appear offline and set your own status to inform others of your availability
  • Enjoy a synchronized contact list, with the same contacts available on your BlackBerry smartphone and your computer
  • Find contacts quickly with the quick find function and picture association
  • Receive alerts when team members become available

Download the BlackBerry Client for use with Microsoft Office Communications Server 2007

http://na.blackberry.com/eng/services/server/exchange/ocs2007.jsp

 

Communicator for Java Phones :

Java Based Phones (Nokia S40/S60 series and Motorola RAZR v3 Devices)

Microsoft makes a version of Office Communicator Mobile R2 available that is optimized for Java. There are different versions available depending on your phone (listed below). OCS 2007 R2 must be running on the backend.

a) Office Communicator Mobile 2007 R2 for Java (Nokia S60 320X240 resolution)

- Supported Phone Models: E51, E66, N95;  Supported Telecom Network: Vodafone and Orange networks in Europe, Airtel and Vodafone networks in India.

b) Office Communicator Mobile 2007 R2 for Java (Nokia S60 240X320 resolution)

- Supported Phone Models: E51, E66, N95;  Supported Telecom Network: Vodafone and Orange networks in Europe, Airtel and Vodafone networks in India.

c) Microsoft Office Communicator Mobile 2007 R2 for Java (Nokia S40)

- Supported Telecom Networks: Vodafone and Orange networks in Europe, Airtel and Vodafone networks in India;   Supported Phone Models: Nokia S40 5th edition phones including: 3120 Classic, 3600 Slide, 5220 XpressMusic , 5310 XpressMusic , 5610 XpressMusic, 6212 Classic, 6300i, 6301, 6500 Classic, 6500 Slide, 6600 Fold, 6600 Slide, 7210 Super Nova, 7310 Super Nova, 7510 Super Nova, 7610 Super Nova, 7900 Prism and 8800 Arte

d) Microsoft Office Communicator Mobile 2007 R2 for Java (Motorola Razr V3 U.S.)

- Supported Telecom Network: AT&T (US); Supported Phone Models: Motorola RAZR V3xx

Remove Plus From Request URI OCS 2007 R2 : bypass RFC 3966 compliance for OCS R2

October 25, 2009 By: Yann Espanet Category: Interoperability, Office Communication Server, SIP trunk

How to make OCS 2007 R2 non-RFC 3966-compliant ?
Office Communications Server 2007 Mediation Server uses a plus sign (+) to prefix E.164 numbers in the Request Uniform Resource Identifier (URI) for outgoing calls. Unfortunately, some IP-PBXs don’t comply with RFC 3966 and do not accept numbers that are prefixed with a plus sign (+).

In OCS 2007 R2 use a new WMI setting, RemovePlusFromRequestURI, which is described in this TechNet article called Enterprise Voice Server-Side Components.
According to the TechNet article, Office Communications Server 2007 R2 introduces two new Windows Management Instrumentation (WMI) settings for Mediation Server. The first new setting specifies how Mediation Server processes E.164 numbers in outbound calls. The second new setting enables Quality of Service (QoS) marking on Mediation Server.

Handling E.164 Numbers in Outbound Calls (OCS 2007 R2)
By default, E.164 numbers in the Request Uniform Resource Identifier (URI) for outgoing calls are prefixed with a plus sign (+). Most Private Branch eXchanges (PBXs) process such numbers without problem. Certain PBXs, however, do not accept numbers that are prefixed with a plus sign.

To ensure interoperability with these PBXs, Mediation Server has a new WMI Boolean setting called RemovePlusFromRequestURI, which has two values: TRUE and FALSE. If your PBX does not accept numbers prefixed with a plus sign, the value for the WMI setting should be set to TRUE, which causes Mediation Server to strip the plus sign from a Request URI for outbound calls. The default is FALSE, which causes Mediation Server to pass the outgoing INVITE’s Request URI, To URI, and From URI unchanged.

The TechNet article also discusses compatibility with PBXs that do not support the plus (+) sign.

By default, E.164 numbers in the Request URI of outgoing calls from Office Communications Server 2007 R2 are prefixed with a plus sign. Most PBXs process such numbers without problem. Some PBXs, however, do not accept numbers that are prefixed with a plus sign and do not route those calls correctly.

Additionally, the From headers of inbound calls from some PBXs does not conform to RFC 3966 because they are not prefixed with a plus sign. Microsoft Office Communicator cannot resolve these numbers to the correct user.

To assure interoperability with these PBXs, Office Communications Server 2007 R2 has a new Mediation Server setting for WMI called RemovePlusFromRequestURI. This setting can be set to YES or NO. The default value is NO.

- If a PBX downstream from the Office Communications Server 2007 R2 Mediation server does not accept numbers prefixed with a plus sign, set the value of RemovePlusFromRequestURI to YES. This causes Mediation Server to remove the plus signs from the Request URIs of outgoing calls. It also causes the plus signs to be removed from the To and From URIs.
- If the downstream PBX accepts numbers prefixed with plus signs, leave the value of RemovePlusFromRequestURI set to its default value of NO. This causes Office Communications Server 2007 Mediation Server to pass Request URIs, To URIs, and From URIs unchanged (that is, with plus signs).

Extract from : http://tmcnet.com

Choose between insecure or “not working” : To apply or not MS Crypto API security update KB974571 on OCS …

October 19, 2009 By: Yann Espanet Category: KB articles, Office Communication Server

You have to choose between beeing secure or stop working with OCS according to Microsoft !:

Your evaluation period may be expired with this error in event viewver :

Event source: OCS Server
Event id: 12290
Event text: The evaluation period for Microsoft Office Communications Server 2007 R2 has expired. Please upgrade from the evaluation version to the full released version of the product.

So, you follow the “Upgrading Office Communications Server 2007 Evaluation to the Full Released Version” document :

http://www.microsoft.com/downloads/details.aspx?FamilyId=54A5521D-A928-46F2-8BF7-125DA636DD2E&displaylang=en

BUT here’s the result :

OCS Setup log :

Failure
[0xC3EC78D8] Failed to read the Office Communications Server version information. This can happen if the computer clock is not set to correct date and time.

 

After some research I’ve found that the workaround was to remove the MS Crypto API security update KB974571. So I removed the update, rebooted the machine, and OCS 2007 R2 was up and running again, without any issues.

What is the position of MS regarding this issue :

http://support.microsoft.com/kb/974571/en-us

Microsoft recommends to postpone installing KB974571 on any LCS 2005 / OCS 2007 /OCS 2007 R2 servers.

Microsoft is investigating this issue, and will determine the most appropriate way to address it. Customers who are not running OCS or LCS server are not affected by this known issue, and can safely ignore this issue.

Customers who have deployed the OCS or LCS product on a server should assess the risk that is involved to decide whether to install the security update on that server. These customers should revisit this Knowledge Base article often, because this article will be updated as soon as more information and a resolution are available.

Nice one from MS !

Evaluate Microsoft Exchange Server 2010 Release Candidate on Windows 2008 R2

August 27, 2009 By: Yann Espanet Category: Exchange 2010, Webcast

You can download Exchange Server 2010 Release Candidate to the Microsoft Download Center!

This is the build number 14.00.0639.011 and you can download it from here :  http://www.microsoft.com/downloads/details.aspx?FamilyID=c6d27da1-ba2c-4570-a491-c0d7b39ede8b

This build is compatible with both Windows 2008 SP2 and Windows 2008 R2 (from RC1 through to RTM). As we changed the store schema between the Exchange Beta and RC, there’s no in-place upgrade from the Beta release. However, we will support in-place upgrade from the Release Candidate through to the final RTM build.

Extract from “Paul Bowden – Release Manager – Exchange Server”

 ——————————————————————————————–

Here’s a quick start guide to get you up and running as quickly as possible with the new build:

 

Windows 2008

1.       Install Windows Server 2008 x64 (Standard or Enterprise – but not Core or Web Server) and join the appropriate domain

2.       Install Service Pack 2 from http://technet.microsoft.com/en-us/windows/dd262148.aspx

3.       Install .NET Framework 3.5 Service Pack 1 from http://www.microsoft.com/downloads/details.aspx?FamilyID=ab99342f-5d1a-413d-8319-81da479ab0d7

4.       Install the .NET Framework 3.5 SP1 Update from http://www.microsoft.com/downloads/details.aspx?FamilyID=98E83614-C30A-4B75-9E05-0A9C3FBDD20D

5.       Install the combined PowerShell v2/Windows Remote Management package (Windows 6.0-KB968930.msu) from Connect (public link TBD)

6.       Open a command prompt, and use the installation scripts from the \Scripts sub-folder on the installation media to enable operating system components:

a.       For a typical installation of Client Access, Hub Transport, and the Mailbox role, run:

  • ServerManagerCmd –ip <media>\Scripts\Exchange-Typical.xml

a.       For a Client Access role only, enter:

  • ServerManagerCmd –ip <media>\Scripts\Exchange-CAS.xml

b.      For a Hub Transport role, enter:

  • ServerManagerCmd –ip <media>\Scripts\Exchange-Hub.xml

c.       For a Mailbox role, enter:

  • ServerManagerCmd –ip <media>\Scripts\Exchange-MBX.xml

d.      For a Unified Messaging role, enter:

  • ServerManagerCmd –ip <media>\Scripts\Exchange-UM.xml

e.      For an Edge Transport role, enter:

  • ServerManagerCmd –ip <media>\Scripts\Exchange-Edge.xml

7.       For Hub Transport and/or Mailbox roles, install the Office Filter Pack from http://www.microsoft.com/downloads/details.aspx?FamilyId=60C92A37-719C-4077-B5C6-CAC34F4227CC

8.       Run the Setup.exe program from the Exchange 2010 installation media

Windows 2008 R2

1.       Install Windows Server 2008 R2 (Standard or Enterprise – but not Core, Web Server or Foundation Server) and join the appropriate domain

2.       Open a Windows PowerShell console window from the Accessories menu

3.       Enter “Import-Module ServerManager” and press return

4.       Use the Add-WindowsFeature cmdlet to enable operating system components:

a)      For a typical installation of Client Access, Hub Transport, and the Mailbox role, enter:

  • Add-WindowsFeature NET-Framework,RSAT-ADDS,Web-Server,Web-Basic-Auth,Web-Windows-Auth,Web-Metabase,Web-Net-Ext,Web-Lgcy-Mgmt-Console,WAS-Process-Model,RSAT-Web-Server,Web-ISAPI-Ext,Web-Digest-Auth,Web-Dyn-Compression,NET-HTTP-Activation,RPC-Over-HTTP-Proxy

b)      For a Client Access role only, enter:

  • Add-WindowsFeature NET-Framework,RSAT-ADDS,Web-Server,Web-Basic-Auth,Web-Windows-Auth,Web-Metabase,Web-Net-Ext,Web-Lgcy-Mgmt-Console,WAS-Process-Model,RSAT-Web-Server,Web-ISAPI-Ext,Web-Digest-Auth,Web-Dyn-Compression,NET-HTTP-Activation,RPC-Over-HTTP-Proxy

c)       For a Hub Transport role or Mailbox role, enter:

  • Add-WindowsFeature NET-Framework,RSAT-ADDS,Web-Server,Web-Basic-Auth,Web-Windows-Auth,Web-Metabase,Web-Net-Ext,Web-Lgcy-Mgmt-Console,WAS-Process-Model,RSAT-Web-Server

d)      For a Unified Messaging role, enter:

  • Add-WindowsFeature NET-Framework,RSAT-ADDS,Web-Server,Web-Basic-Auth,Web-Windows-Auth,Web-Metabase,Web-Net-Ext,Web-Lgcy-Mgmt-Console,WAS-Process-Model,RSAT-Web-Server,Desktop-Experience

e)      For an Edge Transport role, enter:

  • Add-WindowsFeature NET-Framework,RSAT-ADDS,ADLDS

5.       For Hub Transport and/or Mailbox roles, install the Office Filter Pack from http://www.microsoft.com/downloads/details.aspx?FamilyId=60C92A37-719C-4077-B5C6-CAC34F4227CC

6.       Restart the computer

7.       Run the Setup.exe program from the Exchange 2010 installation media

Exchange 2010 and Upgrades from Windows 2008 R2 RC1 (build 7100) to RTM (build 7600)

You can upgrade the R2 operating system of a server that currently has Exchange 2010 installed. The steps are as follows:

i.                     Take an existing server running Windows 2008 R2 Release Candidate (build 7100) and Exchange 2010 pre-RTM

ii.                   Upgrade Exchange 2010 to R4 DF-Final

iii.                  Copy c:\windows\system32\inetsrv\config\schema\wsmanconfig_schema.xml to a safe place

iv.                 Insert the Windows 2008 R2 RTM (build 7600) installation media and choose ‘Upgrade’

v.                   After several restarts, the server should now be upgraded

vi.                 Copy your saved-off wsmanconfig_schema.xml file to c:\windows\system32\inetsrv\config\schema\

NOTE: In-place upgrades of Exchange 2010 servers running Windows 2008 SP2, to Windows 2008 R2 are not tested or supported.

Active Directory Configuration

a.       The schema master must be running a minimum of Windows Server 2003 with Service Pack 1

b.      The forest must be in Windows Server 2003 functionality mode (or later)

c.       All Exchange 2010 servers must be able to communicate with a global catalog server which is running Windows Server 2003 with Service Pack 1 (or later)

d.      Read-only domain controllers (RODC) are not supported with Exchange 2010

e.      We generally recommend that you install Exchange 2010 on member servers versus domain controllers. This helps to secure your installation

Enjoy your test !

New ressources and whitepapers for OCS R2

August 11, 2009 By: Yann Espanet Category: Office Communication Server, Whitepapers

Office Communications Server 2007 R2 Capacity Planning Tool

http://www.microsoft.com/downloads/details.aspx?familyid=F8CBDDD6-7608-4BBE-9246-16E96C62BEF4&displaylang=en

 Integrating Telephony with Office Communications Server 2007 and 2007 R2

 http://www.microsoft.com/downloads/details.aspx?FamilyID=8cde0c3a-042e-445b-a514-2d12ed5b2ac2&displaylang=en

Microsoft Office Communications Server 2007 R2 Client and Devices Technical Reference

http://www.microsoft.com/downloads/details.aspx?familyid=7EEA9543-EC18-4BEB-BA49-1023A441147C&displaylang=en

 

Microsoft Office Communications Server 2007 R2 Site Resiliency White Paper

http://www.microsoft.com/downloads/details.aspx?familyid=C930FEBB-3A44-4BF3-969D-1C52675A7063&displaylang=en

 

Live Meeting 2007 Technical Considerations Whitepaper

http://www.microsoft.com/downloads/details.aspx?familyid=E52C945A-BF33-48AC-B5D8-D8C4E93C71CC&displaylang=en

 

Unified Communications Phones and Peripherals Datasheet

http://www.microsoft.com/downloads/details.aspx?familyid=74BD3EC0-C7DC-4111-A9B7-A9AFBDC86AA9&displaylang=en#filelist

Using Asterisk to pass and receive SIP calls from Microsoft OCS to a SIP Trunk in UDP

August 04, 2009 By: Yann Espanet Category: Hardware Device, Interoperability, SIP trunk

Enabling Any SIP Phone & Any SIP Trunking Service Provider with OCS 2007 R2 !

Goals of the demo :

Use asterisk like a UPD/TCP translator between OCS and a SIP trunking services in UDP mode.

  • make calls from Microsoft Office Communicator to the sip trunk
  • dial froma external mobile or a PSTN phonetrough the sip trunk and answer the call on eithera hard or soft phone or Office Communicator.
  • control forwarding and simultaneous ringing options from the Communicator

I use Asterisk 1.6 which support TCP and UDP installed on CentOS 5 – Kernel 2.6.18

Installation steps :

  1. Add a mediation server to the OCS infrastructure
  2. Add an asterisk server
  3. Configure Mediation server to use the asterisk box
  4. Resolve NAT problem (if needed)
  5. Create two SIP trunks :
    1. Asterisk to OCS
    2. Asterisk to SIP Trunk service
  6. Define the context used by this trunks
  7. Configure follow me
  8. Test the infrastructure

Basic schema :

OCS R2 —- Mediation —- Asterisk —— Firewall — SIPTrunk
MTLS —- TCP —- UDP —- NAT —– UDP

I use Hyper-V for the two OCS servers and VMware for the Asterisk server.

Step-by-steps

Step 1 : Add a mediation server to your infrastructure

  1. Install a mediation server
  2. Configure certificate
  3. Add the OCS reskit tools (useful for troubleshooting)
  4. Create a dial plan
  5. Create a location profile with two normalization rules.
The first will be use for internal numbering and the second is a generic rule that redirect all call that do not correspond to a valid extension number in OCS to the default gateway.
Internal : OCS user have an three digit extension beginning by 2
Phone pattern : ^2(\d{2})$
Translation pattern : +2$1
Generic rule : All number are concerned (be careful to put this rule in second position in your location profile)
Phone pattern : ^(.*)$
Translation pattern : $1
Assign your location profile to front-end server (properties of the pool / properties of front-end / Voice Tab)
NB : Test your dial plan using the Enterprise Voice route helper

The first will be use for internal numbering and the second is a generic rule that redirect all call that do not correspond to a valid extension number in OCS to the default gateway.

  • Internal : OCS user have an three digit extension beginning by 2

Phone pattern : ^2(\d{2})$

Translation pattern : +2$1

  • Generic rule : All number are concerned (be careful to put this rule in second position in your location profile)

Phone pattern : ^(.*)$

Translation pattern : $1

Assign the location profile to the front-end server (properties of the pool / properties of front-end / Voice Tab)
NB : Test your dial plan using the Enterprise Voice route helper

Step 2 : Add an asterisk server

  1. Download trixbox 2.2 Virtual Appliance from VMware website http://www.vmware.com/appliances/directory/939
  2. Configure basic settings (Ip address, ..)
  3. Add this line in the begining of sip.conf

tcpenable = yes
bindport = 5060

  1. Access the web Trixbox interface (use Mozilla) In system menu / Network / Configure IP, Subnet, DNS and a valid hostname on internet : Ex : sip.mydomain.com

Step 3 : Configure Mediation server to use the asterisk box

  1. Open the properties of your mediation server verify that :
  2. in General tab : the gateway listening port is 5060
  3. In next hop connections tab : put the IP address of your asterisk server in PSTN gateway next hop with 5060 for the port number

Step 4 : Resolve NAT problems (if needed)

  1. In Asterisk, Go to PBX / Config File Editor / and edit SIP_NAT.conf

nat=yes

externip=Valid_FQDN

localnet=Your_Localnet/Your_Subnet

  1. Open in your firewall port
    • 5060 in UDP and TCP for SIP
    • RTP: 10000 to 20000 UDP
  2. Verify that you can see you valid public IP in the Trixbox system status

Step 5 : Create two SIP trunk in Trixbox : asterisk to OCS and Asterisk to SIP Trunk service

  • Asterisk to OCS

Trunk Name : ocs

PEER Details :

host=ip-mediation-server

type=peer

qualify=yes

transport=tcp

insecure=very

port=5060

canreinvite=yes

fromdomain=yourdomain

context=from-ocs

Incoming Settings :

User context : (I put a OCS username here)

User details :

host=ip-mediation-server

type=peer

transport=tcp

insecure=very

port=5060

context=from-ocs

register string :

(leave blank)

  • Asterisk to SIP Trunk service

Trunk Name : siptrunk

PEER Details :

type=friend

disallow=all

allow=ilbc&speex&gsm&alaw&ulaw

username=username

secret=password

host=yoursipregistrar

canreinvite=no

context=from-siptrunk

Incoming Settings :

Clear all

register string :

username:password@yoursipregistrar (/yournumber if needded)

Step 6 : configure context

Edit Extension_Custom.conf and add a the end of the file :

[from-ocs]

exten => _X.,1,Answer

exten => _X.,2,Dial(SIP/${EXTEN}@siptrunk,,tr)

#include extensions-away-status.conf

[from-siptrunk]

exten => _X.,1,Set(numDialled=+${EXTEN:Number_of_X_to_ignore})

exten => _X.,2,Set(__FROM_DID=${EXTEN})

exten => _X.,3,Answer

exten => _X.,4,Dial(SIP/${numDialled}@ocs,,tr)

exten => _X.,4,Dial(SIP/${numDialled}@ocs)

Step 7 : Configure follow-me in Asterisk

Assign line number from your sip trunk to Asterisk extension and redirect to phone extension in OCS by using a # after the number.
DID number from your SIP trunk provider —> Extension in Asterisk —> Follow-me to OCS extention (use # after the number to precise that it’s external to asterisk)

Step 8 : Test the infrastructure

  1. Troubleshooting tools that you can use in Asterisk :
    1. Log as root with a terminal tools (putty) / Type asterisk –r / Type sip set debug on
    2. Assign a line prefix to test the trunk from a softphone directly connected to Asterisk
      Ex : Create a outbound route with “9|.” to test the trunk by dialing 9 before the number
  2. Troubleshooting tools that you can use in OCS :
    1. Eventviewer
    2. Use the Debug tools (right click your mediation server)
    3. MS Netmon
    4. OCS Route helper to validate your dial plan.

Have fun with that and leave me a message if encounter some problems!

It’s probably possible to do the same withother IP/PBX like : Freeswitch, OpenSer, SipxECS, …

Date : 04/08:2009 – Author : Yann Espanet – mail : yann@unifiedcommunications.eu