How to configure server failover with Obihai (and Poly 4xx) ATAs and IP Phones

Here you can post your own working configurations of hardware or software to share with other users who may be using the same device!
Fongo recommends Fongo Home Phone for a fully supported Home Phone system for only $4.95/mo
Forum rules
DISCLAIMER
This forum is for those users who have already purchased a configuration file with the SIP settings needed to configure any SIP compatible device.

1. Please use this forum only as a means to share your configuration advice and guides for ATA devices and SIP clients that you are using with our service.
2. For any questions relating to device configuration, please use the other forum sections or post your question directly in the device topic that your question is meant for.
3. Please title your topics with only the name and model of your device so users can easily find the information they need.
4. Preferable format for posting here is compressing your screenshots of your successfully configured device into a .zip file, and post a brief description of the configuration.

Please stay on topic
User avatar
Liptonbrisk
Technical Support
Posts: 3476
Joined: 04/26/2010
SIP Device Name: Obihai 202/2182, Groundwire
Firmware Version: various
ISP Name: FTTH
Computer OS: Windows 11 Pro
Router: Asuswrt-Merlin & others

How to configure server failover with Obihai (and Poly 4xx) ATAs and IP Phones

Post by Liptonbrisk »

(OutboundProxy should be left blank with Freephoneline. There is no separate OutboundProxy server.)



1. Dial ***1. Enter the IP address you hear into a web browser. Login. Default username and password is "admin" (without the quotation marks).

2. i) Navigate to Router Configuration-->WAN Settings-->Local DNS Records for Obihai ATAs with routers (ex. OBi202)

a) For OBi200/300/2182 or Obihai devices without a built-in router, navigate to System Management–-->WAN Settings-->Local DNS Records)

b) For line 1 (presuming this is a blank line . . . just choose a blank line), enter

"voip2.freephoneline.ca={voip.freephoneline.ca:5060,3},{voip2.freephoneline.ca:5060,1},{voip4.freephoneline.ca:6060,2}" (without the quotation marks)

In this example voip2.freephoneline.ca:5060 (1) is being given priority. If there's no response on voip2.freephoneline.ca:5060 (1), then the Obihai device will attempt to register with voip4.freephoneline.ca:6060 (2), and if there's no response from that server, the OBi202 finally attempts to register with voip.freephoneline.ca:5060 (3).

I'm choosing voip2.freephoneline.ca:5060 as the primary proxy (SIP) server here because voip.freephoneline.ca tends to have the most problems recently.

Make the primary server (1) what you're defining (what's before the equal sign on the left). So if you want primary server (1) to be voip4.freephoneline.ca instead, then use "voip4.freephoneline.ca={voip.freephoneline.ca:5060,3},{voip2.freephoneline.ca:5060,2},{voip4.freephoneline.ca:6060,1}" without the quotation marks.


3. Click "Submit".

4. Navigate to Service Providers-->ITSP Profile used for FPL-->SIP->

a) change ProxyServer to voip2.freephoneline.ca (this needs to be what's before the equal sign). If you want the primary server (1) to be voip4.freephoneline.ca, then enter voip4.freephoneline.ca for ProxyServer.
b) change ProxyServerPort to 5060
If you want the primary server (1) to be voip4.freephoneline.ca, then use 6060 for ProxyServerPort. Otherwise, use 5060. That matters in some scenarios where the ATA or IP Phone boots up before the router finishes booting up.



5. Enable/check X_ProxyServerRedundancy (you will have to uncheck the default box). This setting is needed so that server failover works.

6. Set X_CheckPrimaryFallbackInterval to 7200 seconds (ATA will check to see if voip2.freephoneline.ca:5060 will work after 2 hours if it wasn't working; this will allow enough time for a temporary IP ban to clear as well on the primary proxy server, and then the ATA will register on the primary proxy server, voip2.freephoneline.ca:5060, in the first example, again).

7. Click submit.

8. Reboot ATA.
Please do not send me emails; I do not work for nor represent Freephoneline or Fongo. Post questions on the forums so that others may learn from responses or assist you. Thank you. If you have an issue with your account or have a billing issue, submit a ticket here: https://support.fongo.com/hc/requests/new. Visit http://status.fongo.com/ to check FPL/Fongo service status. Freephoneline setup guides can be found at http://forum.fongo.com/viewforum.php?f=15.