Page 1 of 1

SIP Status Disconnecting

PostPosted: 11/22/2017
by nate8108
I have been using FPL for about 4 months with no issue now. I recently ported my origin phone number over to FPL and updated my ATA with the new information. Since then My ATA keeps disconnecting and On my FPL account the SIP status says disconnected, and I stop getting incoming calls. I reboot the ata it connects and the problem happens again after an hour or two. I have a ht-701 with the latest firmware and followed the setup procedure from this form. Any help would be appreciated.

Re: SIP Status Disconnecting

PostPosted: 11/23/2017
by Liptonbrisk
1) Ensure that your settings match those listed in this PDF: viewtopic.php?f=15&t=18839#p74658.

Register Expiration needs to be 60 minutes, and SIP failure wait retry needs to be 120 seconds.

https://support.freephoneline.ca/hc/en- ... redentials


2) Ensure whatever modem/router combo your ISP gave you is in bridge mode if you are using your own router. Call/contact your ISP if need be. For Bell Hubs, visit http://forums.redflagdeals.com/please-s ... r-1993629/

3) What brand and model router are you using?

I would pay attention to point #5 in the troubleshooting section of the PDF guide. If the issue coincides with your internet connection dropping, intermittently, and then returning (which you may not notice), and if the issue is fixed by rebooting, then that may suggest (provided your ATA settings are correct) a corrupted NAT connection/association issue or UDP timeout issue in your router that is reset by rebooting. The proper device reboot order, by the way, is always modem--->router (wait for it to be fully up and passing data)-->ATA (in that order).

Re: SIP Status Disconnecting

PostPosted: 11/30/2017
by nate8108
Thanks for the reply, that is the PDF I followed to setup my ATA. I did go over it a few times to make sure I didn't have a fat finger. After posting this I tried changing the primary sip server to voip4.freephoneline.ca:6060, I stayed connected until today.
I'm with Cogeco, I will call and see if the modem they provided me with is in bridge mode. I am using a DLINK router and have also given my ata a static IP address. I looked in the router for more settings like the UDP timeout or NAT connections and didn't have any of those setting options.

Re: SIP Status Disconnecting

PostPosted: 11/30/2017
by Liptonbrisk
nate8108 wrote:Thanks for the reply, that is the PDF I followed to setup my ATA. I did go over it a few times to make sure I didn't have a fat finger. After posting this I tried changing the primary sip server to voip4.freephoneline.ca:6060, I stayed connected until today.


The purpose of voip4.freephoneline.ca:6060 is to circumvent faulty SIP ALG features in routers.
I recommend download this PDF guide and reading the first 4 pages (the preamble): viewtopic.php?f=15&t=18805#p73839.


I'm with Cogeco, I will call and see if the modem they provided me with is in bridge mode.


This only matters if it's a modem/router combo. You want it to be in bridge mode to both avoid a double NAT firewall situation and to also ensure its SIP ALG feature is being bypassed.

If it's just a modem without a router built into it, then it doesn't matter.


I am using a DLINK router


A model number would help, but here's how to disable SIP ALG in some of the older models:
http://help.multitel.net/display/KNOW/D ... G+on+Dlink
https://support.onsip.com/hc/en-us/arti ... s-N-Router

I looked in the router for more settings like the UDP timeout or NAT connections and didn't have any of those setting options.


A lot of consumer routers don't have the option to adjust UDP timeout settings without installing third party firmware like Tomato.

Re: SIP Status Disconnecting

PostPosted: 12/05/2017
by nate8108
Thanks for continuing to support, my router is a Dlink- DIR-868L I was able to disable the SIP setting in the advance firewall settings and return the SIP server and Alternate SIP server to voip.freephoneline.ca and voip2.freephoneline.ca. By the morning the ATA was disconnnected again. I reset the modem, and router and it reconnnected. Lasted another day so and I've been having to reset daily.

I've tried looking into the NAT settings but the only info I can find is in regards to port forwarding wich according to the document you suggested to read is not recommended.

Re: SIP Status Disconnecting

PostPosted: 12/05/2017
by mh1983
Looks like your router supports DD-WRT and Tomato. Example: https://advancedtomato.com/downloads/router/dir868l

It might be worth looking into flashing one of those firmwares.

Re: SIP Status Disconnecting

PostPosted: 12/05/2017
by Liptonbrisk
nate8108 wrote:
I've tried looking into the NAT settings but the only info I can find is in regards to port forwarding wich according to the document you suggested to read is not recommended.


Port forwarding is a security risk and should be avoided. It makes you more susceptible to being hacked.

1. Ensure that whatever modem/router combo that was issued to you by your ISP is in bridge mode. Contact your ISP if need be.

2. Ensure that these options are enabled in your ATA:

Enable SIP Options Keep Alive: Yes
SIP OPTIONS Keep Alive Interval: 20
SIP Registration Failure Retry Wait Time: 120
Register Expiration: 60 minutes
Reregister before Expiration: 0
Use Random SIP Port: Yes

3. If the issue coincides with a new IP being leased with your cable modem or internet connectivity being lost and regained, there's probably not much more you can do other than use third party firmware, Tomato, to more easily adjust both Assured and Unreplied UDP timeouts. Unfortunately, I have no experience with Tomato and would be unable to help you with it. However, I'm sure you could ask here: https://www.reddit.com/r/TomatoFTW/.

You want to satisfy these conditions:

UDP Unreplied Timeout (in your router) < NAT Keep-alive Interval (in your ATA) < UDP Assured Timeout (in your router) < SIP Registration Failure Retry Wait Time (in your ATA)

"<" means less than

NAT Keep-alive interval is 20 in your ATA, and SIP Registration Failure Retry Wait Time should be 120.

Beyond that I have no further suggestions, except, perhaps, checking whether there's a newer firmware version available to you for your router: http://support.dlink.ca/ProductInfo.aspx?m=DIR-868L.

Re: SIP Status Disconnecting

PostPosted: 12/05/2017
by Liptonbrisk
mh1983 wrote:Looks like your router supports DD-WRT and Tomato. Example: https://advancedtomato.com/downloads/router/dir868l

It might be worth looking into flashing one of those firmwares.



For what it's worth, the last time I checked, which, granted was awhile ago, I couldn't find a simple way to adjust Unreplied UDP timeout values in DD-WRT. And I note there was no reply to this old thread from last year:
https://www.dd-wrt.com/phpBB2/viewtopic.php?p=1032124.