{"id":1202,"date":"2013-05-25T13:18:14","date_gmt":"2013-05-25T17:18:14","guid":{"rendered":"http:\/\/jyong.ca\/?p=1202"},"modified":"2016-01-21T15:56:30","modified_gmt":"2016-01-21T20:56:30","slug":"how-to-setup-failover-servers-with-voip-ms-using-an-obihai-obi110","status":"publish","type":"post","link":"https:\/\/jyong.ca\/?p=1202","title":{"rendered":"How to Setup Failover Servers with voip.ms using an Obihai OBi110"},"content":{"rendered":"<p>Recently, one of the voip.ms servers (Chicago) was experiencing high packet loss. As a result, my analog telephone adapter (ATA) was unable to register with their server which, in turn, resulted in our home phone connection going down.<\/p>\n<p>After doing some Googling, I&#8217;ve found that it&#8217;s possible to set up failover servers in the Obi110 (credit goes to: <a href=\"http:\/\/www.broadbandreports.com\/forum\/r27605149-Voip.ms-Failover-options-when-server-down~start=20\">obiliving<\/a>). Please note that this only solves <strong>OUTGOING<\/strong> calls. If the point of presence (POP) for your phone number goes down, there&#8217;s nothing you can do until voip.ms redirects traffic from that server. You could potentially change your phone number&#8217;s POP to a different server but that would involve utilizing their API or logging into their Portal area to change it manually.<!--more--><\/p>\n<p>I&#8217;ve included the failover steps below:<\/p>\n<ol>\n<li>Login to your Obi110 Admin screen.<\/li>\n<li>Go to<em> Service Providers &gt; ITSP Profile A &gt; SIP<\/em><\/li>\n<li>Proxy server: <strong>voip.ms<\/strong><br \/>\nRegistrar server: <strong>(blank)<\/strong><br \/>\nX_ProxyServerRedundancy: <strong>Checked<\/strong> (The default is off \/ unchecked)<\/li>\n<li>Go to <em>System Management &gt; Network Settings<\/em><\/li>\n<li>Under Local DNS Records, you can use the following to setup your failover servers:<strong>voip.ms={chicago.voip.ms,0},{toronto.voip.ms,1},{toronto2.voip.ms,2},{montreal.voip.ms,3}<\/strong>The format is:<strong> {host:port, priority, weight}<\/strong>. Each entry is separated by commas.<br \/>\n<strong>port\u00a0<\/strong>is optional;\u00a0default is 5060 for SIP, 80 for HTTP, etc.<br \/>\n<strong>priority <\/strong>is 0 (highest) to 65535 (lowest); 1 = default; also optional<br \/>\n<strong>weight <\/strong>is 0 (lowest) to 65535 (highest); 1 = default; also optional<\/li>\n<li>Save your settings and reboot the ATA.<\/li>\n<\/ol>\n<p>For a more detailed explanation regarding Local DNS Records, check out <a title=\"Obihai Device Administration Guide\" href=\"http:\/\/www.obihai.com\/docs\/OBiDeviceAdminGuide.pdf\">Obihai&#8217;s Device Administration Guide<\/a>\u00a0(page 64-65).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Recently, one of the voip.ms servers (Chicago) was experiencing high packet loss. As a result, my analog telephone adapter (ATA) was unable to register with their server which, in turn, resulted in our home phone connection going down. After doing some Googling, I&#8217;ve found that it&#8217;s possible to set up failover servers in the Obi110 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22],"tags":[],"class_list":["post-1202","post","type-post","status-publish","format-standard","hentry","category-technology"],"_links":{"self":[{"href":"https:\/\/jyong.ca\/index.php?rest_route=\/wp\/v2\/posts\/1202","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jyong.ca\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jyong.ca\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jyong.ca\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jyong.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1202"}],"version-history":[{"count":18,"href":"https:\/\/jyong.ca\/index.php?rest_route=\/wp\/v2\/posts\/1202\/revisions"}],"predecessor-version":[{"id":1678,"href":"https:\/\/jyong.ca\/index.php?rest_route=\/wp\/v2\/posts\/1202\/revisions\/1678"}],"wp:attachment":[{"href":"https:\/\/jyong.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1202"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jyong.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1202"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jyong.ca\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1202"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}