?
Solved

What are the correct normalization rules to enable dial-out from a Lync conference bridge to Cisco Callmanager 7.1.5 extension?

Posted on 2011-03-01
11
Medium Priority
?
2,182 Views
Last Modified: 2012-05-11
Hi.  I need to create the proper normalization rules in Microsoft Lync to enable dial-out to internal four digit extensions on a Cisco Communications Manager 7.1.5 phone system.  The numbers in Lync are stored in E.164 format (+1 (262) 555-0123).

I have built normalization rules which strip all but the last four digits of the number to dial, but the call still fails in Lync, with the error that the number is not in service.  See the attached file that contains the rule.

Does anyone have experience with bridging a Lync (or OCS) and Cisco voice environments that knows how this should be setup?


 screenshot of normalization rule.
0
Comment
Question by:mptcmanage
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 5
11 Comments
 
LVL 33

Expert Comment

by:MikeKane
ID: 35011371
I had this EXACT same issue.   I was using normalization to strip off all but the last 4 of a E164 formatted number to send to the SIP trunk to CUCM.    I discovered that this does not work.    Instead, Use normalization to format everything LYNC sends to a e164 number +12223334444 and route this through the SIP trunk.   Then on the sip trunk, use translation rules to change it to a 4 digit extension here....     I banged my head over this for a week.  


So on the normalization rules, I use:
National                   ^1?([2-9]\d\d[2-9]\d{6})(\s*\S*)*$                     +1$1
International      ^011(\d{7,})$                                                             +$1
7xxx Extensions      ^(7\d{3})                                                     +1222333$1
NA-ServiceCodes      ^([2-9]11)$                                                     $1

This way, everything that is dialed becomes a +12223334444 style number.     In case someone just dials a 4 digit extension, i.e. 7344, this also becomes a full E164 number.  

Then on the SIP trunk config, use a translation pattern to match
(assume 222 is areacode and 333 is prefix)
^\+1222333(79\d{2})$   becomes    $1       (strip off all but the last 4)
^\+(\d*)$  becomes                           9$1     (i use 9 for an outside line)
That way the trunk handles stripping off the extension and adding a outbound prefix for everything else.  


Hope that helps.


0
 

Author Comment

by:mptcmanage
ID: 35017375
This is a good start.   I have internal four digit extensions working.  What do you translation patterns look like to get external calls routed to the PSTN?
0
 
LVL 33

Accepted Solution

by:
MikeKane earned 2000 total points
ID: 35017962
I use these 2:
^\+1222333(79\d{2})$   becomes    $1       (strip off all but the last 4)
^\+(\d*)$  becomes                           9$1     (i use 9 for an outside line)

The 1st one takes any e164 that starts with +1222333 and leaves the last 4 which is are the extensions.   So +12223337001 becomes 7001.  

The 2nd one takes every other number and tags on a 9 to go outbound.   So +12223335555 becomes 912223335555.  

That's all I needed.   Your setup may be different, especially if you need to route out to other SIP trunks for remote branches.
0
Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

 

Author Comment

by:mptcmanage
ID: 35018081
Hmm.  The first rule for internal extension works well.  The second rule for outside calls does not work, even to custom numbers that are already properly formatted.

Any advice?  I'm a Lync novice.
0
 
LVL 33

Expert Comment

by:MikeKane
ID: 35018321
Do you have any other rules in there?  

On that rule, I assumed the '9' would be the number to get an outside line.    Is true in your environment.    From a desk phone on CM, what would a sample oubound number look like.     On the CM, do you have and translation patterns that could further adjust the number.      On the PSTN router, you should run some debugs so show outbound dialed numbers and see if they are coming across with the proper format.   For example "debug isdn q931 detail"    then "term monitor" to watch the packets.(Don't leave debugging on indefinitely)
0
 

Author Comment

by:mptcmanage
ID: 35018351
We do use 9 for outbound access.  A sample outbound number is 9-1-262-334-3413.  There are minimal translation patterns on CM and they do not change the number.  I'll have a look at the router to see what digits are being sent, if any.
0
 

Author Comment

by:mptcmanage
ID: 35022356
I don't see any digits making it to the router.  This could be in the css and partition config, which I'll have to look at tomorrow.
0
 
LVL 33

Expert Comment

by:MikeKane
ID: 35028014
Any luck today?
0
 

Author Comment

by:mptcmanage
ID: 35031126
Not yet.
0
 
LVL 33

Expert Comment

by:MikeKane
ID: 35098769
Updates?
0
 

Author Comment

by:mptcmanage
ID: 35131414
The problem is in CallManager.  This will suffice for Lync.  I will post the complete solution once testing is complete.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
Check out this step-by-step guide for using the newly updated Experts Exchange mobile app—released on May 30.
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
Suggested Courses

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question