[Resolved] Incoming Calls Going To Voicemail

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
Post Reply
AsianXL
Just Passing Thru
Posts: 6
Joined: 06/16/2011
SIP Device Name: Linksys PAP2
Firmware Version: 5.1.6(LS)
ISP Name: CikTel (Shaw)
Computer OS: Windows 10 64-bit
Router: Linksys E4200 (DD-WRT)

[Resolved] Incoming Calls Going To Voicemail

Post by AsianXL »

I've never had this problem before. It started happening recently. The calls I make from Google Hangout/Voice and my other SIP number to FPL goes straight to voicemail.
I have a Linksys PAP2T-NA and Asus RT-AC68U (Stock) with Lightspeed Internet (Shaw reseller).
I've been with FPL since 2011. I have never had this problem before until recent weeks. Please advise. Thanks!
User avatar
Liptonbrisk
Technical Support
Posts: 2772
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: Incoming Calls Going To Voicemail

Post by Liptonbrisk »

Calls from my Google Voice and Google Hangouts apps on my smartphone to my Freephoneline numbers work fine. I've been with FPL for over 10 years; customer duration has no bearing on this issue.

Follow all the steps down the list, carefully, step by step:

https://forums.redflagdeals.com/freepho ... #p26808549

Preliminary Steps


i) Log into your PAP2T

A. Under User 1 and User 2 tabs (both of these)

B. Select Advanced View

C. Under Supplementary Service Settings

Ensure

a) DND setting is set to NO
b) Block ANC Setting is set to NO
c) DND Activated is set to NO

D. Under User 1 and User 2 tabs (both of these)

Check Call Forward Settings

a) Cfwd All Dest:

That field should be blank. If there's a phone number there you don't recognize, you were hacked.
Make that field blank.

b) Cfwd Busy Dest

That field should be blank. If there's a phone number there you don't recognize, you were hacked.
Make that field blank.


c) Cfwd No Ans Dest

That field should be blank. If there's a phone number there you don't recognize, you were hacked.
Make that field blank.

E. Check to ensure you haven't accidentally blocked (or entered a wildcard for) a phone number you want to whitelist: http://forum.fongo.com/viewtopic.php?f= ... 140#p13266.

F. Ensure that you're using the correct SIP Username and Password: login at https://www.freephoneline.ca/showSipSettings.

G. Ensure, after logging in at https://www.freephoneline.ca/showSipSettings that

i) SIP Status shows "connected", and
ii) SIP User Agent reflects a device that own and recognize. If you don't recognize the SIP User Agent, chances are you've been hacked.

Note that only one registration per FPL account is allowed at any time. When there are multiple devices/softphones using the same account, only the most recent registration is valid. The previous device will lose registration, and, consequently, incoming calls will not work on it. This is especially important to consider if someone else is using your SIP credentials (username and password) that are found after logging in at https://www.freephoneline.ca/showSipSettings or if you're trying to register your FPL account with a smartphone SIP app or with another device. Registration is required for incoming calls. It is not required for outgoing calls. A more significant concern, though, is that multiple registration attempts can lead to temporary IP bans. The more devices being used can make the temporary ban happen more quickly. Note that each time you reboot or restart your ATA or SIP app, it's attempting to register with Freephoneline again. Multiple registration attempts within a short period can result in temporary IP ban. Each time you reboot your ATA it's attempting to register with FPL's proxy server.



Regular Steps

1) What brand and model modem are you using?
b) Ensure that it's in bridge mode if you're using a modem/router combo. Contact your ISP if you need help enabling bridge mode.

2) Disable DMZ and all port forwarding in your router. Port forwarding is a security risk and should only be used if all else fails.

3) I strongly suggest switching router firmware to Asuswrt-Merlin: https://www.asuswrt-merlin.net/about.
Check the website for the latest Merlin firmware version number for your router.
The Asuswrt-Merlin support forum is located at https://www.snbforums.com/forums/asuswrt-merlin.42/.
Note that I will not be held responsible for failed firmware updates.

a) Asuswrt-Merlin firmware for your router is located at: https://sourceforge.net/projects/asuswr ... U/Release/
Again, I will not be held responsible for failed firmware updates or any problems that may arise from you switching to Merlin.

I use Asuswrt-Merlin. I don't have problems.

b) After switching to Merlin, login to your router and navigate to General-->Tools-->Other Settings
i) Set UDP Unreplied to 17 seconds
ii) Set UDP Assured to 117 seconds

You can keep UDP Assured timeout set to the default of 180 seconds if you wish. If so, in step 7 below, change Reg Retry Intvl to 183 seconds in your ATA.

c) Click "Apply".

d) Refer to point #4 in the post way down below this one.

e) In your router, after updating to Merlin firmware, navigate to Advanced Settings-->WAN-->NAT Passthrough.
Ensure SIP Passthrough is set to "Enabled + NAT helper". That should be the default setting for Merlin.

f) In your router, navigate to Advanced Settings-->Administration-->System
Set "Enable WAN down browser redirect notice" to No.

g) Click "Apply"



4. Login to your ATA. Specify a high random SIP port in your ATA between 30000 and 60000.
Navigate to Line 1 (or whatever you're using for FPL)-->SIP settings, change SIP Port to a random number between 30000 and 60000.
Do not use the same random SIP port for any other Line. Always choose a different random local SIP port for each Line you're using.

Using a high random SIP port may help to bypass SIP ALG, and it also helps to avoid SIP Scanners (or hackers).
Also, changing local SIP port will reset a potential corrupted NAT association that developed between your router and ATA due to UDP timeouts.

5. In the ATA, navigate to Voice-->SIP tab-->NAT Support Parameters, and make sure that the following settings are enabled:

a)Handle VIA received-->yes
b)Handle VIA rport-->yes
c)Substitute VIA Addr-->yes

d) click "Save Settings" button

This helps to ensure the RTP audio stream is being sent to your WAN IP as opposed to your LAN IP.

6. Navigate to Voice-->Line (whichever you use for FPL)-->NAT settings
a) NAT Mapping Enable should be yes
b) NAT Keep Alive Enable should be yes
c) NAT Keep Alive Msg should be $NOTIFY

d) click "Save Settings" button if changes were made

7. Navigate to Voice-->SIP-->SIP Timer Values (sec)
Reg Retry Intvl should be 120 seconds

Click "Save Settings" button if changes were made

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

Many older guides for FPL don't include this setting.

If you kept UDP Assured timeout at the default of 180s seconds in step 3b (above), change Reg Retry Intvl to 183 seconds instead of 120 in your ATA.
Reg Rety Invl is the amount of time your ATA waits before attempting to register again with Freephoneline after a failed registration attempt.
Waiting 183 seconds for your ATA to attempt registration after a failed attempt is obviously longer than waiting 120 seconds.120s is the minimum value you can set for Reg Retry Intvl when using Freephoneline.
Using smaller values than 120s for Reg Retry Intvl may result in temporary IP bans. Using larger values won't.

a) Also in your ATA, navigate to Voice-->Line-->Proxy and Registration-->Register Expires needs to be 3600 seconds (it probably already is set to 3600)

Click "Save Settings" button if changes were made.

8. Proper device reboot order is always modem (wait for it to be fully up before turning on your)-->router (ensure Wi-Fi SSIDs are populated first on your devices)-->ATA (wait for router to be fully up and running before turning on ATA).
That's always proper device reboot order.

9. Please take the time to update the router field in your forum user profile: http://forum.fongo.com/ucp.php (select the profile tab). Thank you.
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/en-us/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: 2772
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: Incoming Calls Going To Voicemail

Post by Liptonbrisk »

Official Asus firmware doesn't satisfy point 4 below. Using Asuswrt-Merlin satisfies all four router feature recommendations.



Typically, for VoIP SIP services, especially for freephoneline, you want

1) a router that does not have a full cone NAT,

Visit https://www.think-like-a-computer.com/2 ... es-of-nat/.
Mango from the Obitalk.com forums writes,
“Use a restricted cone NAT router, and do not use port forwarding or DMZ. Restricted cone NAT will only permit
inbound traffic from the service provider you're registered to. If you have a full cone NAT router, it will allow traffic
from any source. This is probably not what you intend.
If you have a Windows computer, you can test your router using the utility here:
http://www.dslreports.com/forum/remark,22292023. To run it, use stun stun.ekiga.net from a command prompt.”
Essentially, you download the stun-test.zip file; extract the stun.exe file from within the zip file to an easily
accessible location; use an elevated command prompt (visit
http://www.thewindowsclub.com/how-to-ru ... inistrator); change directory (cd) to the
directory or location where you extracted stun.exe (visit
http://www.digitalcitizen.life/command- ... c-commands); and type “stun stun.ekiga.net” without
the quotation marks followed by the enter/return button on your keyboard.
Asus routers, at the time of this writing, produce port restricted cone NAT routers, for example and are fine,
provided you’re using one with Asuswrt-Merlin, third party firmware installed.

2) a router that lets you disable SIP ALG if it's buggy,

To understand why SIP ALG often causes horrible problems, please visit
https://www.voip-info.org/routers-sip-alg/ (scroll down to the section on SIP ALG problems).

If you're dealing with a modem/router combo issued by an ISP or a router with SIP ALG forced on, you may have
to use voip4.freephoneline.ca:6060 for the Proxy Server. The purpose of voip4.freephoneline.ca:6060 is to circumvent
faulty SIP ALG features in routers.

3) a router that allows you to set QoS or assign highest priority to your ATA or IP Phone over all other devices on your LAN (local area network),

For a very general description of what QoS can do for you, visit https://www.voipmechanic.com/qos-for-voip.htm.
The basic idea is if you're torrenting or have a bunch of other computers, smartphones, tablets, etc. downloading and uploading (hogging all your available bandwidth), you don't want
your ATA not to have access to enough bandwidth to make or receive calls properly. So QoS or a Bandwidth Monitor feature (which is just another form of QoS) is a really good idea for VoIP users.

I often get an occasional relative complaining to me, "Hey my calls sound choppy." And then when I go visit, some kids are playing MMOs on a computer, while another person is downloading a huge file,
and another person is backing up files to a cloud service all at the same time someone else is trying to talk on the phone. All those devices, without QoS enabled, are fighting over available bandwidth along with the ATA.

and 4) A router that lets you adjust both Unreplied and Assured UDP timeouts.

Thanks to Mango, many of us now understand that in order for ATAs to remain registered and working properly with a VoIP SIP provider like Freephoneline, in particular after power failures, the following conditions must be met:

UDP Unreplied Timeout (in your router) < NAT Keep-alive Interval (in your ATA; for Obihai ATAs this is X_KeepAliveExpires) < UDP Assured Timeout (in your router) < SIP Registration Failure Retry Wait Time (or RegisterRetryInterval in Obihai ATAs)

“<“ means less than.

When a modem leases a new IP address, a problem can arise where prior associations using the old IP address are maintained in the router. When the ATA attempts to communicate using the old IP address, the response is unreplied, and then if the UDP Unreplied timeout is greater than the Keep Alive Interval (and UDP Unreplied timeout is often set to 30 by default in consumer routers) a problem arises where the corrupted connection persists. If UDP Unreplied timeout is, for example, 17, and the NAT Keep Alive Interval is 20, then the corrupted connection will timeout or close. A new connection will be created, and everything will work fine.

Another problem can occur when the Keep-Alive interval is greater than UDP Assured Timeout (often 180 by default in consumer routers): the NAT hole will close due to the ATA not communicating frequently enough with the SIP server. In turn, incoming calls may, intermittently, not reach the ATA. Again, X_Keepalives expires is supposed to be 20 with FPL.

(the above settings are making reference to those in Obihai ATAs)

Getting access to both UDP Unreplied Timeout and UDP Assured Timeout settings in consumer routers may be difficult, if not impossible. Asuswrt-Merlin (I would avoid any model below/less powerful than an RT-AC68U), third party firmware for Asus routers, does offer easy access to these two settings, which are found under General–>Tools-->Other settings. My understanding is that third party Tomato firmware has these two settings as well. So if your router supports Tomato firmware, that may be another option. Note that I will not be held accountable any damage resulting from failed firmware updates. Apparently, Mikrotik routers also allow users to change both Assured and Unreplied UDP timeout settings as well: https://forums.redflagdeals.com/recomme ... #p28056619.

The keep alive interval for FPL is 20. The SIP Registration Failure Retry Wait Time is 120. I use 17 for UDP Unreplied Timeout and 117 for UDP Assured Timeout.

Router firmware that allows users to adjust Assured and Unreplied UDP timeouts include

Asuswrt-Merlin
Ubiquiti
Mikrotik
pfSense
Tomato
DD-WRT



ISPs do not issue customers routers that can do all four things I just listed. Typically it's far better to have your own router with strong QoS functions and a restricted cone NAT firewall,
disable whatever SIP ALG feature is enabled in the router, and stick whatever modem/router combo your ISP gives you into bridge mode. For Bell Hubs, visit http://forums.redflagdeals.com/please-s ... r-1993629/. For Rogers, visit https://www.rogers.com/customer/support ... ridgemodem.
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/en-us/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: 2772
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: Incoming Calls Going To Voicemail

Post by Liptonbrisk »

This was resolved by doing step #4 from the first reply in this thread based on https://forums.redflagdeals.com/freepho ... #p32993988.
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/en-us/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.
Post Reply