• Home
  • My Tools
  • Visio Stencils
  • Online Tools
  • PS Scripts
  • PS One Liners
  • Downloads
  • Product Review
  • About

Smarter Together

~ by I.M.H.O.

Smarter Together

Category Archives: SIP Response Code Translation

Lync Dial Plan Redundancy

18 Monday Mar 2013

Posted by Paul Bloem in Fail over, SIP Options, SIP Response Code Translation

≈ Leave a comment

It gets a bit frustrating trying to match gateways to Lync for good functionality. It is even more frustrating when its not a certified gateway.

With this introduction I fire into a new post about gateways, resilience and fail-over options.

Usually when an alternative route exists for fail over one assumes that the trusty SIP options will take care of failing over in the event that a positive response isn’t received from the gateway.

But what if the SIP Options responses are positive and yet there is another issue? Possibly routing beyond the gateway in question…

SIP Options aside, there is another influencing factor that triggers fail over – SIP Error messages!

Lync will not fail over on 4xx SIP Response codes, an error code reporting a 5xx SIP Response is required for Lync to attempt an alternate route.

For example, if a gateway was responding positively to SIP Option requests from the Lync Mediation Server but was unable to route to the ITSP a 408 SIP Response code may be received (Request Timeout).

As this is a 4xx SIP message no fail over will be attempted!!!

All certified gateways usually send the correct response codes as described by Microsoft for fail over. But we are in a world where all things are not perfect and so…we may need to tell Lync to respond differently to a the 408 SIP Response code.

How to do this?
As with all things truly powerful…Lync Powershell of course.
You can set a SIP Response Code Translation Rule per Gateway and below is an example:

New-CsSipResponseCodeTranslationRule -Identity “PstnGateway:192.168.99.47/Rule_for_SIP_406” -ReceivedResponseCode 406 -TranslatedResponseCode 503

NOTE
The Identity MUST be in the format PstnGateway:/
You can check the naming convention in Lync Control Panel Voice Routing – Route – Associated Trunks.

TechNet reference: http://technet.microsoft.com/en-us/library/gg413041.aspx

Advertisement

Share this:

  • Click to share on Twitter (Opens in new window)
  • Click to share on Facebook (Opens in new window)
  • Click to share on LinkedIn (Opens in new window)
  • Click to share on WhatsApp (Opens in new window)
  • Click to share on Reddit (Opens in new window)
  • Click to share on Pocket (Opens in new window)
  • Click to share on Pinterest (Opens in new window)
  • Click to share on Tumblr (Opens in new window)
  • Click to share on Skype (Opens in new window)
  • Click to email a link to a friend (Opens in new window)
  • Click to print (Opens in new window)

Like this:

Like Loading...

IMHO YouTube Channel

Follow Smarter Together on WordPress.com

Enter your email address to subscribe and receive notifications of new posts.

Join 674 other subscribers

Show your appreciation by donating

Archives

Category

ABS ABServer ADContacts Address Book AddressBook AddressBook Service Communicator contacts CX500 Devices DHCP DNS Edge Server Error Codes event id Exchange UM 2010 GAL Install Guide Lync 2013 Tools Lync Edge Lync Tools Microsoft Teams Monitoring Polycom Powershell Scripts Product Review QOS Quick Reference Guide Reskit RGS RTC Database SIP SIP Options Skype for Business Skype for Business Monitoring Skype for Business Tools SQL Teams TMG Tool Tools Troubleshoot Edge UC Sorted Tools UM Uncategorized Unified Messaging visio Visio Stencil voicemail

Create a free website or blog at WordPress.com.

Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy
  • Follow Following
    • Smarter Together
    • Join 63 other followers
    • Already have a WordPress.com account? Log in now.
    • Smarter Together
    • Customize
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar
%d bloggers like this: