[Resolved: Host name verification now required]404 registration failure while not using full server name for ProxyServer

Have a question or problem with your Fongo application? This forum is the place to get help from both staff and fellow community members.
Fongo recommends Fongo Home Phone for a fully supported Home Phone system for only $4.95/mo
User avatar
Liptonbrisk
Technical Support
Posts: 3322
Joined: 04/26/2010
SIP Device Name: Obihai 202/2182, Groundwire
Firmware Version: various
ISP Name: FTTH
Computer OS: Windows 64 bit
Router: Asuswrt-Merlin & others

Re: [Resolved, for now] 404 registration failure using Rogers with SIP ALG enabled

Post by Liptonbrisk »

vostro wrote: 04/26/2025 thanks for all above comprehensive answers.
You're welcome!

For what it's worth, in everyone's OBi202/302 ATAs that I am responsible for, I have updated them to firmware version 3.2.2 (Build: 8680EX-arrynrob13).

Notably, TLS is no longer potentially affected because a significant update related to the trusted certificates exists in that firmware version.

1. The firmware makes the entire list of trusted Root Certificate Authorities (CAs) user-editable via the file /scratch/rootca.pem. This is a major change from the original firmware, which had a fixed, hardcoded list embedded within it.

2. More importantly, the firmware update notes state that by default, this user-editable list points to (symlinked to) the cacert-2024-11-26.pem file. This file represents the Mozilla/cURL collection of trusted Root CAs as of November 26, 2024.

So, instead of relying on the old, potentially outdated list embedded in the original firmware (that may contained expired CAs), naf modified firmware defaults to using a much more current and comprehensive set of trusted Root CAs maintained by the broader internet community (Mozilla/cURL). This addresses the problem of an OBI202 ATA failing to trust secure connections (such as those needed for Google Voice, secure provisioning, etc.) due to servers using certificates signed by newer CAs or chains leading back to CAs that had expired in the old, static list.

By using the November 2024 CA bundle, the devices running this firmware should be able to validate most modern SSL/TLS certificates correctly. The new firmware uses the cacert-2024-11-26.pem bundle, which is a collection of many individual Root CA certificates. Each Root CA within that bundle has its own specific expiration date, often many years (even decades) in the future (e.g., 2030s, 2040s). The key benefit is that this bundle (from late 2024) is current. It contains the necessary modern Root CAs trusted by today's secure servers and omits many of the expired ones found in the old firmware's hardcoded list.

The device's ability to trust secure connections now depends on whether a server's certificate chains back to any valid, non-expired Root CA within that loaded bundle. Because the firmware makes /scratch/rootca.pem user-editable, users can theoretically update this bundle themselves in the future, if needed, by downloading a newer version from a trusted source (curl.se, for example).

By using the updated cacert-2024-11-26.pem bundle, the modified firmware fixes validation issues. The device can now correctly verify modern server certificates. Therefore, TLS connections required by services should establish properly, assuming remote servers are configured correctly.

Your OBi202 isn't expired when using naf modded firmware.

I also use naf modded firmware on my OBi2182 IP phones.
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.
vostro
Active Poster
Posts: 76
Joined: 03/18/2012
SIP Device Name: Obi202
Firmware Version: 8680EX-arrynrob13
ISP Name: Rogers Cable 2G
Computer OS: Windows 10 pro 64bit
Router: Sonicwall TZ500+RS500+EX8000
Smartphone Model: iPhone 16 pro max 1T
Android Version: Galaxy S3 Tab Oreo
iOS Version: ipad pro 13’ M4

Re: [Resolved, for now] 404 registration failure using Rogers with SIP ALG enabled

Post by vostro »

i tried two times to update your firmware with different browser to download same firmware but all failed with error message :Firmware package checksum error
User avatar
Liptonbrisk
Technical Support
Posts: 3322
Joined: 04/26/2010
SIP Device Name: Obihai 202/2182, Groundwire
Firmware Version: various
ISP Name: FTTH
Computer OS: Windows 64 bit
Router: Asuswrt-Merlin & others

Re: [Resolved, for now] 404 registration failure using Rogers with SIP ALG enabled

Post by Liptonbrisk »

vostro wrote: 04/26/2025 i tried two times to update your firmware with different browser to download same firmware but all failed with error message :Firmware package checksum error
For clarity, I didn't create that firmware. It's not my firmware.

You need to pay attention to what firmware version you have installed currently in your OBi202 ATA before doing anything.

"1. If your current firmware version is less than 5853, just flash arrynrob directly.

2. If your firmware is 6259 or greater, you must install stock 5921EX first, then install bypass-uboot-mod.

3. If your firmware is >= 5853 and < 6259, you must bypass uboot by installing bypass-uboot-mod. Then, you can install arrynrob. DO NOT flash bypass-uboot-mod from 6259 or above, or you will be going to recovery mode (which also allows you to flash any firmware you want, but it just doesn't look as cool)." --naf (I'm guessing)

Read Section D here.

If you want to use modded naf firmware, a guide exists here.

However, if you have problems involving the firmware update itself, I won't be supporting them. I did not write that guide. So, if you need help ask at this forum over here, where the firmware developer, naf, is active. I am especially not answering any questions about Google Voice provisioning on Fongo's forums.
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.
vostro
Active Poster
Posts: 76
Joined: 03/18/2012
SIP Device Name: Obi202
Firmware Version: 8680EX-arrynrob13
ISP Name: Rogers Cable 2G
Computer OS: Windows 10 pro 64bit
Router: Sonicwall TZ500+RS500+EX8000
Smartphone Model: iPhone 16 pro max 1T
Android Version: Galaxy S3 Tab Oreo
iOS Version: ipad pro 13’ M4

Re: [Resolved, for now] 404 registration failure using Rogers with SIP ALG enabled

Post by vostro »

thanks a lot, done successfully for both with 3.2.2 (Build: 8680EX-arrynrob13).
User avatar
Liptonbrisk
Technical Support
Posts: 3322
Joined: 04/26/2010
SIP Device Name: Obihai 202/2182, Groundwire
Firmware Version: various
ISP Name: FTTH
Computer OS: Windows 64 bit
Router: Asuswrt-Merlin & others

Re: [Resolved, for now] 404 registration failure using Rogers with SIP ALG enabled

Post by Liptonbrisk »

vostro wrote: 04/26/2025 thanks a lot, done successfully for both with 3.2.2 (Build: 8680EX-arrynrob13).
You’re welcome!
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.
User avatar
Liptonbrisk
Technical Support
Posts: 3322
Joined: 04/26/2010
SIP Device Name: Obihai 202/2182, Groundwire
Firmware Version: various
ISP Name: FTTH
Computer OS: Windows 64 bit
Router: Asuswrt-Merlin & others

Re: Is Freephoneline down again on April 24, 2025?

Post by Liptonbrisk »

:roll: I just realized I analyzed the source of the problem improperly.

The fix was actually listed in the 4th post in this thread: viewtopic.php?p=82314#p82314.

Liptonbrisk wrote: 04/24/2025
Also, if you're experiencing incoming call problems refer to viewtopic.php?t=20534 for your Obihai ATA. Follow the steps, step by step, down the list.
And when you visit viewtopic.php?t=20534, step 14 explains what to do. "freephoneline.ca" is not being used for ProxyServer.


vostro wrote: 04/24/2025
freephoneline.ca={voip2.freephoneline.ca:5060,1},{voip4.freephoneline.ca:6060,2}
Afterwards, in post 7 of this thread, I pointed out the same thing:

viewtopic.php?p=82318#p82318
Liptonbrisk wrote: 04/24/2025

Dial ***1. Enter the IP address you hear into a web browser. Login. Default username and password are “admin” without the quotation marks.

1. Change this to voip2.freephoneline.ca={voip2.freephoneline.ca:5060,1},{voip4.freephoneline.ca:6060,2},{voip.freephoneline.ca:5060,3}
2. Click "Submit"
3. Navigate to Service Providers-->ITSP Profile (used for Freephoneline)-->SIP
4. Change ProxyServer to voip2.freephoneline.ca

Do steps 1 to 4 to ensure that even if the ata boots up before the modem and router, it will attempt to register on voip2.freephoneline.ca:5060 and not with freephoneline.ca (I've seen that happen before), which obviously won't work.

5. Change ProxyServerPort to 5060
6. Submit settings
vostro wrote:freephoneline.ca={voip.freephoneline.ca:5060,1},{voip2.freephoneline.ca:5060,2},{voip4.freephoneline.ca:6060,3}
Liptonbrisk wrote:
18. Change this to voip4.freephoneline.ca={voip.freephoneline.ca:5060,2},{voip2.freephoneline.ca:5060,3},{voip4.freephoneline.ca:6060,1}
19. Click "Submit"
20. Navigate to Service Providers-->ITSP Profile (used for Freephoneline)-->SIP
21. Change ProxyServer to voip4.freephoneline.ca

Do steps 11 to 14 to ensure that even if the ata boots up before the modem and router, it will attempt to register on voip4.freephoneline.ca:6060 and not with freephoneline.ca (I've seen that happen before), which obviously won't work.

I also want to use voip4.freephoneline.ca:6060 to help avoid potential SIP ALG issues.

22. Change ProxyServerPort to 6060

While what I wrote above is true, this is the real problem:
Liptonbrisk wrote:"Porta [the switch/server vendor] recommended to Fibernetics [CLEC/network used by Fongo/Freephoneline] to enable Host Name Verification on Sip Registrations. This was enabled. Marketing sent an email out last month to notify anyone who was IP registered to change to host name on their sip registration."
vostro wrote: 04/24/2025
freephoneline.ca={voip2.freephoneline.ca:5060,1},{voip4.freephoneline.ca:6060,2}
In order to make that work, before Host Name Verification was enabled/enforced by Fibernetics, you would have been using "freephoneline.ca" for the ProxyServer in your ATA. You can't do that anymore. You need to specify the full proxy server name (where 1 is assigned, such as {voip2.freephoneline.ca:5060,1)}.

So, in this case, the following is right:
Liptonbrisk wrote: 1. Change this to voip2.freephoneline.ca={voip2.freephoneline.ca:5060,1},{voip4.freephoneline.ca:6060,2},{voip.freephoneline.ca:5060,3}
2. Click "Submit"
3. Navigate to Service Providers-->ITSP Profile (used for Freephoneline)-->SIP
4. Change ProxyServer to voip2.freephoneline.ca

5. Change ProxyServerPort to 5060
6. Submit settings

SIP ALG, while potentially problematic, in the Rogers modem/router combo wasn't causing the problem. Instead using freephoneline.ca for ProxyServer was.

Regardless, these posts are still valid: viewtopic.php?p=82329#p82329 and viewtopic.php?p=82354#p82354.
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.