Monday, May 26, 2014

Microsoft Lync Voice gateway failover - SipResponseCodeTranslationRules

In Lync environments that utilize multiple gateways for path failure it is important to understand the differences between a voice gateway hard and soft failure.  Lync does a great job with a hard failure and will mark that gateway down and proceed to try the next gateway/trunk that has been selected in the users Voice Policy.

There are two different types of Voice gateway failures in the Lync world. They include:

1. Hard down with the voice gateway being unreachable and marked down by Lync
2. Soft down with the voice gateway is reachable but the Carrier is having an issue.

The concentration will be focused on handling a soft down failure. Our example is based on a pair of Audiocodes Mediant 2600 SBC's that have independent circuits terminating to each gateway to provide high availability and failover. In the event of a soft failure the Audiocodes gateway responds with a 408 Request timeout which is defined as "couldn't find the user or determine the location of the user in time".  Because this is a client side response Lync will not failover to another gateway.  In order to get Lync to try the next gateway the response code must be a 5XX Server response failure.




So we need a way to tell Lync Server when it receives a 408 client response failure to try another gateway.  By using SipResponseCodeTranslationRulesList on the Lync Trunk we can translate both Sip and ISDN response codes to different Sip Response codes. In this case we will create a rule to map the client response code failure of 408 to a server side response code failure of 503 Service unavailable. Lync recognizes this as a gateway down issue and will try next PSTN usage record that is associated with the route and gateway/trunk as defined in the users Voice Policy.

Below is the command we used on the Global Trunk Configuration to convert 408 response code into a 503 response code.


New-CsSipResponseCodeTranslationRule -Parent Global -Name "Rule-408-to-503" -ReceivedResponseCode 408 -TranslatedResponseCode 503

 

 Viola! Lync will now try secondary route to alternate SBC gateway

9 comments:

  1. I have go through your site, this is a good one. If you want to know more about this please visit our website :
    The samsung call recording software will will allow the software to the voice saved for later listening. The voice recording applications can be downloaded at low cost from the internet. . The call logger software will be useful for those who is either being disturbed by an unknown person or if their job is to receive many calls. The SIP recording software will complement the entire process.

    ReplyDelete
  2. I have go through this page and its blog for more information please follow us:-The article SIP recording software make sure of the best call logging facelifts which can help you to overcome and deal with the digital call logger common problems that will help every individual to overcome that use of call tracking. This can be done once you are digital voice logger confident and using that ranges of items that panasonic call recording are available in the market.

    ReplyDelete
  3. I have go through your site, this is a good one. If you want to know more about this please visit our website :If you are looking for a Panasonic call recording software which will be easy to buy, install and use, then your wait is over. With Revcord you will be able to record any phone calls, even VoIP calls also with SIP recording software. You can use digital call logger to collect all the data about call records and digital voice logger to record the telephone conversations easily.

    ReplyDelete
  4. I have go through your site, this is a good one. If you want to know more about this please visit our website :If you are looking for a Panasonic call recording software which will be easy to buy, install and use, then your wait is over. With Revcord you will be able to record any phone calls, even VoIP calls also with SIP recording software. You can use digital call logger to collect all the data about call records and digital voice logger to record the telephone conversations easily.

    ReplyDelete
  5. I have go through your site, this is a good one. If you want to know more about this please visit our website :If you are looking for a Panasonic call recording software which will be easy to buy, install and use, then your wait is over. With Revcord you will be able to record any phone calls, even VoIP calls also with SIP recording software. You can use digital call logger to collect all the data about call records and digital voice logger to record the telephone conversations easily.

    ReplyDelete
  6. I think the things you covered through the post are quiet impressive, good job and great efforts. I found it very interesting and enjoyed reading all of it...keep it up, lovely job..
    voice over studios  

    ReplyDelete
  7. Transcription refers to the tactic of changing speech into papers or textual matter. it's terribly useful in cases of interviews, seminars, conferences, etc. online voice over service

    ReplyDelete
  8. Bài thuốc chữa benh trao nguoc da day thực quản, Thảo dược đặc trị rụng tóc ở nam giới , Bài thuốc gia truyền chữa bệnh rối loạn kinh nguyệt cực nhanh , bị bệnh thoái hóa đốt sống cổ chữa ra sao ,liệu pháp giam dau benh da day hiệu quả tại nhà . Bài thuốc tây y mới chữa bệnh viêm gan b , Bạn tôi đã chữa khỏi viem amidan man tinh rồi ,Tôi đã cắt viem amidan mu song rất dễ chịu , Bài thuốc người dân tộc chữa bệnh viêm đại tràng cấp tính . cần kiêng hay không kiêng benh dau da day nen an gi cho tốt . tìm hiểu thêm về trieu chung benh da day ra sao. ho do benh viem hong chữa được không , Tôi chữa benh amidan cho tre em rất tốt, Khi bị viêm amidan sau khi cat amidan kieng gi .
    Thuốc từ dau rong chua benh dau da day .
    Viêm mũi dị ứng hay trieu chung viem xoang .
    thuốc tây hay những bài thuoc dan gian chua benh da day bệnh mề đay ở người lớn và bệnh nổi mề đay ở trẻ em hay sảy ra không ?.

    ReplyDelete
  9. Thuốc cách chữa đau dạ dày chữa thế nào , làm thế nào để chua benh loet da day ta trang , thế nào là bệnh viêm amidan , Chúng tôi có nhiều cach chua viem amidan hoc mu mãn tính ,Nhiều bài thuốc trị nổi mề đay ban đỏ , Thuốc đông y chữa gan nhiễm mỡ , Làm thế nào chữa viêm phế quản phổi ở trẻ , tôi đã thuốc trị ho rứt điểm,bệnh viêm mũi dị ứng ,Cách trị viêm mũi xoang mãn tính, Bài thuốc chữa đau dạ dày cấp tính , Phương pháp chữa trào ngược dạ dày thế nào ?

    ReplyDelete