[Resolved] 403 Auth Fail/Password verification failure/Is Grandstream HT701 still supported?

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: Is Grandstream HT701 still supported by freephoneline

Post by Liptonbrisk »

By the way, this is how to use UBB forum quotes.

When you want to reply to someone on the forum and include a part of their message to show what you're responding to, you use quote tags. Here are the two main ways:

1. Simple Quote (Quoting text without naming the person)

Find the text you want to quote.

Code: Select all

Put [QUOTE] before the text.

    Put [/QUOTE] after the text.
Example:
If you want to quote the sentence "This is the important part.", you would type:

Code: Select all

   [QUOTE]This is the important part.[/QUOTE]

2. Quote with Attribution (Quoting text and showing who said it)

Find the text you want to quote.

Put

Code: Select all

[QUOTE=Username] 
before the text, replacing Username with the actual username of the person you are quoting.

Put

Code: Select all

[/QUOTE]
after the text.

Example:
If you want to quote something "JohnDoe" said, such as "I agree with this.", you would type:

Code: Select all

[QUOTE=JohnDoe]I agree with this.[/QUOTE]
I hope that helps.

I will edit your posts to make the quotes less confusing in this thread.
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 Grandstream HT701 still supported by freephoneline

Post by Liptonbrisk »

Liptonbrisk wrote: 04/02/2025 Ohhhh, wait a minute.

What if this HT-701 originally came from Fongo Home Phone, and what if the ATA's MAC address is still in Fongo's system somewhere?
What if the ATA's MAC address is associated with Fongo Home Phone and outbound calls are being rejected for that reason? I'm not sure if that's even possible. If that's true I have no way of knowing.

Maybe I can ask someone.
I've sent off an email. I don't know that I will receive a response. If I do, I will respond again in this thread.

Otherwise, I've exhausted my suggestions at this time. If the problem is due to a hardware failure, it can be frustrating to try to solve (and a gigantic waste of time).
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.
qizhong
Just Passing Thru
Posts: 12
Joined: 07/24/2014
SIP Device Name: HT701
Firmware Version: 1.0.10.3
Computer OS: windows 11
Router: Rogers

Re: Is Grandstream HT701 still supported by freephoneline

Post by qizhong »

qizhong wrote: 04/02/2025
A: I mean, when I used wrong password, the ATA shows "not registered"
Liptonbrisk wrote: Strange. That's not consistent with what others have reported either and with what I’ve experienced using Obihai ATAs and IP Phones, Linksys ATAs, Groundwire, MicroSIP, and other SIP clients. PortaSIP, which is what Freephoneline uses, doesn’t work that way. You can try entering the wrong SIP password in MicroSIP since you use it. MicroSIP will remain registered.

Image

1222222222 is an impossible number, and you'll have to take my word that I'm entering complete nonsense for my SIP password.
MicroSIP says it's registered (green and online).


However, attempting to call 311 (city services) fails with Auth failed (that's 403), which is what happens when you try to call on your ATA. The reason the call fails is that the SIP Username and SIP Password are wrong in MicroSIP.


Try in another web browser. Disable all form fillers. Manually type the password in. Double check that SIP User ID is entered correctly in the ATA as well (I believe it is).
A: used Edge instead google, cleared history data, then manually enter password, ATA registered as before, still not work.
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 Grandstream HT701 still supported by freephoneline

Post by Liptonbrisk »

qizhong wrote: 04/02/2025 A: used Edge instead google, cleared history data, then manually enter password, ATA registered as before, still not work.
Okay. I'm convinced the ATA isn't really registered because it's not showing as connected after logging in at https://www.freephoneline.ca/showSipSettings.

Outbound calls for you are failing with 403 Auth Failed. If it's not because your SIP Username and SIP Password are entered incorrectly, and if the ATA is configured properly, then maybe the ATA's MAC address is being rejected or maybe there's some hardware failure that I can't identify easily.

If you've performed a factory reset and reconfigured the ATA already, I'm out of suggestions unless someone responds to my email.
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.
qizhong
Just Passing Thru
Posts: 12
Joined: 07/24/2014
SIP Device Name: HT701
Firmware Version: 1.0.10.3
Computer OS: windows 11
Router: Rogers

Re: Is Grandstream HT701 still supported by freephoneline

Post by qizhong »

qizhong wrote: 04/02/2025 A: used Edge instead google, cleared history data, then manually enter password, ATA registered as before, still not work.
Liptonbrisk wrote:Okay. I'm convinced the ATA isn't really registered because it's not showing as connected after logging in at https://www.freephoneline.ca/showSipSettings.

Outbound calls for you are failing with 403 Auth Failed. If it's not because your SIP Username and SIP Password are entered incorrectly, and if the ATA is configured properly, then maybe the ATA's MAC address is being rejected or maybe there's some hardware failure that I can't identify easily.

If you've performed a factory reset and reconfigured the ATA already, I'm out of suggestions unless someone responds to my email.
A: Yes. I did factory reset and updated the to newest Firmware.

Appreciate your support! I have learned a lot.
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 Grandstream HT701 still supported by freephoneline

Post by Liptonbrisk »

Liptonbrisk wrote: 04/02/2025 Your syslog shows that first outbound call attempt to 437370xxxx fails due to authentication (SIP credentials fail):

1. **Initial Call Attempt (INVITE without Credentials):**
* `146.931334 ... SIPStack(0)::snd_message:(1156)INVITE sip:437370xxxx@voip4.freephoneline.ca:6060 SIP/2.0`
* (Headers follow, including Via, From, To, Call-ID, CSeq 170 INVITE, Contact, SDP, etc.)
* `146.940638 ... SIPClientTransaction::sendRequest: Request 24 is sent`

2. **Server Challenge (Requires Authentication):**
* `147.010829 ... SIPStack(0)::receiveMessage:(748)SIP/2.0 401 Unauthorized`
* (Headers follow, including WWW-Authenticate with realm and nonce)
* `147.023157 ... SIPStack(0)::cb_rcv4xx: Received 401 response for transaction 24(INVITE)`

That's normal. 401 Unauthorized initiates the challenge.


3. **ATA Acknowledges the challenge:**
* `147.022971 ... SIPStack(0)::snd_message:(345)ACK sip:43737xxxx@voip4.freephoneline.ca:6060 SIP/2.0`
* (Headers follow, including Via, From, To, Call-ID, CSeq 170 ACK)

4. **Call Attempt (INVITE *with* Credentials):**
* `147.041550 ... SIPStack(0)::snd_message:(1403)INVITE sip:43737xxxx@voip4.freephoneline.ca:6060 SIP/2.0`
* (Headers follow, including Via, From, To, Call-ID, **CSeq 171 INVITE**, Contact, **Authorization**, SDP, etc.)
* *Note: The corresponding `SIPClientTransaction::sendRequest: Request 25 is sent` message isn't explicitly logged here but is implied by the subsequent INVITE and sequence.*

5. **Server Trying:**
* `147.109423 ... SIPStack(0)::receiveMessage:(358)SIP/2.0 100 Trying`
* `147.116599 ... SIPStack(0)::cb_rcv1xx: Received 100 response for transaction 25 (INVITE)`

6. **Server Rejects Authentication:**
* `147.190314 ... SIPStack(0)::receiveMessage:(640)SIP/2.0 403 Auth Failed`

* `147.217530 ... SIPStack(0)::cb_rcv4xx: Received 403 response for transaction 25(INVITE)`
* `147.232760 ... SIPTransaction::waitForResponse: Request 25 got status code 403`

7. **ATA Acknowledges Rejection:**
* `147.207990 ... SIPStack(0)::snd_message:(345)ACK sip:43737xxxx@voip4.freephoneline.ca:6060 SIP/2.0`
* (Headers follow, including Via, From, To, Call-ID, **CSeq 171 ACK**)

8. **ATA Internal Call Failure Log:**
* `147.233614 ... ATACtrl::call, cannot make the call, statusCode = 403, chan status = CALL_DIALED, emergency call =0`

This sequence shows the normal "401 challenge" followed by the critical error "403 Auth Failed" after the ATA submitted its credentials, which confirms the authentication failure is the reason the call setup is terminated by the server.

That usually means the SIP Password in the ATA is wrong.
qizhong wrote: 04/02/2025 A: used Edge instead google, cleared history data, then manually enter password, ATA registered as before, still not work.

Even a Fongo admin is stating that the wrong password is entered in the ATA. If it is entered correctly, it's unlikely that the ATA's response is being sent properly.

I made an inquiry. This is what I was told:
Fongo admin wrote:The MAC address is only used for Grandstream Auto Provisioning service (which would set the configuration) [for Fongo Home Phone].
If you can log into the ATA and configure it, it's not locked into GAPS (Grandstream Automated Provisioning System) for Fongo Home Phone.
Okay, so the MAC address of the ATA isn't being blocked.

Fongo admin wrote:I see the trace session for this customer. The device sends a second register as a response to the challenge porta sends on the initial request.

PortaSIP server is what Freephoneline uses. The challenge request (401) is fine.


Fongo admin wrote:This request is rejected

21:31:57.877
Verification of password using method 'digest': fail

That's not normal. That's the 403 Auth Fail error.

Fongo admin wrote:So I believe that the password isn’t set correctly on the ATA.

Yes, that's exactly what I thought too. Either the wrong SIP password is entered or the response is not being sent properly by the ATA (and if that's the case I have no idea why. Hardware failure? I doubt it, but I have no idea).

The ATA's MAC address isn't blacklisted. The MAC address isn't being rejected.
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 Grandstream HT701 still supported by freephoneline

Post by Liptonbrisk »

qizhong wrote: 04/02/2025
A: Yes. I did factory reset and updated the to newest Firmware.

Appreciate your support! I have learned a lot.
I was told that you may have made a typo:
Fongo admin wrote:They may have an extra space or something like L instead of an i or a zero instead of a capital O.
That is almost verbatim what I stated earlier in this thread.

from viewtopic.php?p=82260#p82260.
Liptonbrisk wrote:I'm seeing 403 Auth Failed in response to your outbound call requests in your syslog capture.
That suggests the Authenticate Password in your ATA is wrong. Possibly you've copied and pasted extra blank spaces (before the first character of the password or after the last character of the password). Manually type your SIP password shown after logging in at https://www.freephoneline.ca/showSipSettings into the "Authenticate Password" field in your ATA's webUI. Disable password and form autofillers (browser app extensions) that may be filling in the wrong password automatically.
Even a single incorrect character (e.g., O vs 0, l vs 1), incorrect case (passwords are case-sensitive), or an accidental leading/trailing space can cause failure. If the password was copied and pasted, sometimes hidden characters or formatting can be included. Ensure it's the SIP Password provided by Freephoneline, not the password used to log into the Freephoneline web portal.


Fongo admin wrote: The user can request that Fongo's support team generate a new sip password for the Freephoneline account. This may help resolve the issues.
Afterwards you'd have to enter the new SIP password in your ATA.

You can submit a ticket here: https://support.fongo.com/hc/requests/new

Choose "My Account Inquiry" for the final issue type.




If you're focused on hardware failure, possibly non-volatile flash memory, where the HT-701 stores the SIP password, became corrupted. In that case, the ATA might be reading incorrect password data. If it reads corrupted data and uses it to calculate the authentication response hash, that hash would not match what the server expects, leading to the 403 Auth failure. That's purely speculative/guessing though because there's no easy way for me to test whether the ATA's flash memory is corrupted.

This is how the MD5 hash (the response value) is generated by your HT-701 when authenticating with PortaSIP's server (Freephoneline), based on the standard SIP Digest process:

1. Initial Request

Your HT-701 sends its request (e.g., an INVITE to make a call to sip:437xxxxxxx@voip4.freephoneline.ca:6060)


2. Server Challenge

The PortaSIP server responds with "401 Unauthorized". This message contains two important pieces of information for the calculation:
- A realm (e.g., sip-12.FSFEN-wsFongo)
- A unique nonce (a random string generated by the server)

3. Your HT-701 now gathers all the information it needs:
- Its configured SIP User ID (e.g., 1416xxxxxxx)
- The Authenticate Password stored in its configuration.
- The Realm received from the server (e.g., sip-12.FSFEN-wsFongo)
- The Nonce received from the server
- The SIP Method used in the original request (e.g., INVITE).
- The Request URI from the original request (e.g., sip:437xxxxxxx@voip4.freephoneline.ca:6060)

4. Calculation Step 1 (Internal Hash 1):

The HT-701 takes the Username, Realm, and Password and uses MD5 to hash them together in a specific way. Let's call this internal result Hash 1 or HA1.

5. Calculation Step 2 (Internal Hash 2):

The HT-701 takes the SIP Method and the Request URI and uses MD5 to hash them together. Let's call this internal result Hash 2 (HA2).

6. Calculation Step 3 (Final Hash)
The HT-701 takes HA1, the Nonce (from the server), and HA2, and uses MD5 to hash these items together in a specific sequence.

Specifically, the HT-701 takes the hexadecimal representation of HA1, the Nonce value received from the server, and the hexadecimal representation of HA2, and concatenates them into a single string, using colons (:) as separators.
The string looks like this: HA1_hex:nonce_value:HA2_hex
The HT-701 then applies the MD5 hash function to this entire concatenated string.

7. Result

This final MD5 hash is the response value (such as 9d52ceasdkfjh298y4212h1asdfa. This isn't the real response from your syslog).

8. Send Back:

The HT-701 sends this calculated response value back to the PortaSIP server in the Authorization header of its second INVITE request.

The server then performs the same steps 4, 5, and 6 using the correct password it has stored for the user. If the final hash it calculates matches the response sent by the HT-701, authentication succeeds. If not, the server sends "403 Auth Failed".



Another possibility that might make sense is a firmware bug in the ATA, but that's extremely unlikely. There could be a bug in the HT-701's firmware causing it to incorrectly calculate the MD5 hash required for digest authentication, even if all the input values (SIP User ID, Authenticate password, realm, and nonce) are correct. That is highly improbable compared to simply having made a typo when entering the Authenticate password in the ATA. If there is a firmware bug (unlikely) that's causing this problem, you could try using an earlier firmware version if that's allowed by Grandstream (depending on the firmware version, switching to older firmware versions may be blocked). If there were a firmware bug, I'm sure others would have reported the exact same issue by now.

The cause is far more likely to be not having the SIP Password entered correctly in the ATA.


--
(General Info)

Visit https://status.fongo.com/.
If "Support System" indicates "Partial Outage" or "Degraded Performance", ticket response time can take up to a week (or longer).


You can check your ticket status by logging in at
https://support.fongo.com/hc/requests. That's an account for tickets
(zendesk) only and is completely separate from your Freephoneline account or
any other Fongo account you may have. If you don't have a zendesk account yet, click "Sign Up" after visiting the link.
Use the same email address that you use to submit tickets. Do not use the same password as your Freephoneline or Fongo Mobile
account. Again, these accounts are unrelated.




Support staff does not respond to tickets on weekends or Canadian holidays.
Support hours are 9 a.m. until 4 p.m. EST.

Fongo does have https://twitter.com/Fongo_Support. I'm not sure if anyone
there responds to direct messages.

Similarly, they appear to be on Facebook:
https://www.facebook.com/FongoMobile/. I don't know whether they'll respond to you there.
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.
qizhong
Just Passing Thru
Posts: 12
Joined: 07/24/2014
SIP Device Name: HT701
Firmware Version: 1.0.10.3
Computer OS: windows 11
Router: Rogers

Re: Is Grandstream HT701 still supported by freephoneline

Post by qizhong »

qizhong wrote: 04/02/2025
A: Yes. I did factory reset and updated the to newest Firmware.

Appreciate your support! I have learned a lot.
LiptonBrisk wrote:I was told that you may have made a typo.
A: Yes you are right. There was a typo: I (capital i) entered as l (low case L).

Now everything works properly. Really thanks for your support! Expecially for reviewing my syslog to find out root cause.
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 Grandstream HT701 still supported by freephoneline

Post by Liptonbrisk »

qizhong wrote: 04/03/2025 A: Yes you are right. There was a typo: I (capital i) entered as l (low case L).

Now everything works properly. Really thanks for your support! Expecially for reviewing my syslog to find out root cause.
You're welcome.
I'm glad you were able to produce a syslog, and it's good that Freephoneline is working for you again.
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.