Step by Step Lync 2010 Enterprise Voice with Cisco Call Manager Express (or UC500) Part 2

Posted: May 25, 2011 in Lync 2010

Words of warning!!

Be careful if you use these configurations on a live system and do not simply copy and paste this configuration in to a running CME or UC500 system, check your dial-peers and translation rule numbers (“show run” is your friend) otherwise you might overwrite something you later come to regret!

Call Manager Express Inbound Call Configuration

This first key to enterprise voice is to allow the users on Lync to dial our Cisco phone users as well as external numbers on the PSTN. The following example below is from my live running CME router:

dial-peer voice 552 voip
 description **Incoming Call from LYNC**
 b2bua
 session protocol sipv2
 session target ipv4:192.168.100.64:5068
 incoming called-number .%
 voice-class codec 1
 voice-class sip dtmf-relay force rtp-nte
 dtmf-relay rtp-nte
 no vad
!

Nothing clever above, the IP address above is that of your Lync mediation server and the standard mediation server port (5068), keep an eye on the port number and ensure it matches up with your mediation server port if you changed it and do not simply enter 5060 because it is your UC’s SIP port. This port number is the number the UC talks BACK to your Lync server on.

Although the above doesn’t appear to be mandatory as our UC still dialled a number coming out of Lync without this, we found that it was intermittent at best and we could no longer control things such as class of restrictions without it.
Call Manager Express Outbound Call Configuration

The next step is to allow a user to call a user who is on the Lync platform, to do this is a little bit more complicated. To make the experience a little easier on the user (and you can’t easily dial a + on a Cisco phone) we are going to create a translation rule and link this to our dial peer.

By creating this translation rule it will allow a user to dial simply 5xxx and the CME/UC500 router will automatically add the + to the extension as it exits the CME/UC500 system, remember Lync requires e.164 style numbers so this is going to give Lync what it wants.

Be aware single number reach will not work with this configuration, my next blog post will be on how to co-exist with Lync using Cisco Signal Number Reach on the CME/UC platform.

Translation Rules

A translation rule consists of 2 parts, the rule itself and a profile that the rule is linked to, below is the translation rule and translation profile created on our system to make this work. Be aware you need to create the rule first before creating a profile.

The rule below simply adds a + in front of anything dialled that starts with a 5 and is 4 digits long.

voice translation-rule 4000
 rule 1 /\(5...\)/ /+\1/
!

Translation Profile Creation

This profile simply calls the above translation rule.

voice translation-profile LYNC_ADD_PLUS
 translate called 4000
!

Now that we have create the translation profile and translation rule it is time to create a dial peer that will call the Lync server when a user dials 5xxx.

Below is the live running configuration from our CME router, again be wary of the port as it needs to be the port of the mediation server.

dial-peer voice 551 voip
 description ** SIP Trunk to Lync Core **
 translation-profile outgoing LYNC_ADD_PLUS
 destination-pattern 5...
 notify redirect ip2pots
 session protocol sipv2
 session target ipv4:192.168.100.64:5068
 session transport tcp
 dtmf-relay rtp-nte
 codec g711ulaw
 fax rate disable
 fax protocol pass-through g711ulaw
 no vad
!

Once you have done the above is you should now have a fully functional enterprise voice installation, ensure that you enable a user with Enterprise voice.

Enabling a User for Enterprise Voice

An example Lync user configuration is below, enabling Enterprise voice is simple just select the option. It is important to set the Line URI.

In the example below I have configured the “tel:” to be my Lync phone number so in my example below it is 5346 and have also included my Cisco desk phone which is “6346” it is important if you use the extension that you do not add the + to the front of it.

Adding your desk extension improves the Lync experience as Lync will recognise you from your desk phone when you dial in to things such as the conference centre.

image

Until next time have fun with Lync and Enterprise Voice!!

I would like to give special thanks to my colleague Matt Johnson who assisted me greatly in this configuration on our environment!

Comments
  1. [...] In Part 2 we will configure Cisco Call Manager Express to work with the above configuration. Part 2 either HERE or HERE. [...]

  2. geryatric says:

    Hi what features does this give you?
    Is it just call control of Deskphone / Softphone or can you see Presence information for users e.g. when they are offhook?

    • James Botham says:

      Hi,

      This just gives you enterprise voice i.e. calls to and from Lync, I have done similar integration with RCC which lets you control the phone and gain presence information for the phone. I am going to be blogging about how to do this shortly.

      Thanks

      James

  3. Milen Stanchev says:

    Hi,

    this series was very informative for me and I finally managed to enable Enterprise voice thanks to it. Are you planning to publish integration with RCC any time soon?

    Thanks

    • James Botham says:

      Hi,

      Apologies for the length of time this has taken, yes I do intend to do RCC and a followup troubleshooting article for this as after a few months of running with this we have found a couple of fun integration tasks that we needed to resolve but the integration is very stable.

      Thanks

      James

  4. shameer says:

    Hi James

    Is it possible to make both Lync client and Desk phone ring simultaneously if some one ring the Lync extension OR ipphone extension

    shameer

    • James Botham says:

      Hi,

      yes this is possible, on the Lync client set simultaneous ring to also be your desk extension. For the other way around to make a Cisco phone ring your desk phone enable Single Number Reach on the Cisco extension that you wish to do this for.

      Thanks

      James

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s