SIP ALG
Moderator: Moderators
-
- Moderator
- Posts: 250
- Joined: Thu Jan 17, 2013 11:43 pm
Re: SIP ALG
I don't believe SIP ALG is present
TP-Link WDR3600 v1.1 running 1.5.10+ L10n-English (Built 20130922 - OpenWrt r38093)
TP-Link WDR4300 running 1.5.10+ i18n-English (Built 20131010 - OpenWrt r38286)
https://github.com/BashfulBladder/gargoyle-plugins/wiki
TP-Link WDR4300 running 1.5.10+ i18n-English (Built 20131010 - OpenWrt r38286)
https://github.com/BashfulBladder/gargoyle-plugins/wiki
Re: SIP ALG
I had problems with SIP based VOIP on 1.5.9.. specifically two calls at once where we have multiple IP handsets registering to external SIP provider.
See here:
http://www.gargoyle-router.com/phpbb/vi ... f=6&t=4121
I assume it's still the same in 1.5.10 so you probably need to stop ip_nat_sip and ip_conntrack_sip from loading in the modules config as they are messing with SIP packets.
It would be great if there is a UI option for this but there isn't yet.
See here:
http://www.gargoyle-router.com/phpbb/vi ... f=6&t=4121
I assume it's still the same in 1.5.10 so you probably need to stop ip_nat_sip and ip_conntrack_sip from loading in the modules config as they are messing with SIP packets.
It would be great if there is a UI option for this but there isn't yet.
Re: SIP ALG
Thanks for the advise. However I've no idea how to do it
. Can you provide detailed steps I can follow? Thanks!

Re: SIP ALG
Assuming you are on Windows PC connected to the router via LAN...
1: Download/Install WinSCP
http://winscp.net/eng/index.php
2: Settings for WinSCP:
File Protcol: SCP
Host Name: IP Address of our router (eg: 192.168.1.1)
User Name: root
Password: The password you set in Garogyle web admin
3: Once connected I got an error message about groups, just click ok and the file browser/navigator should be showing the root dir, hit ... to go up one directory. Then go into etc then into modules.d
4: Edit the 45-ipt-nathelper-extra file and remove the line nf_nat_sip
Note: You do not need to remove nf_conntrack_sip as this just tracks connections and doesn't modify the packets (as far as I can tell).
5: Disconnect WinSCP and reboot the router.
Screenshots (click on the image to see full size):



1: Download/Install WinSCP
http://winscp.net/eng/index.php
2: Settings for WinSCP:
File Protcol: SCP
Host Name: IP Address of our router (eg: 192.168.1.1)
User Name: root
Password: The password you set in Garogyle web admin
3: Once connected I got an error message about groups, just click ok and the file browser/navigator should be showing the root dir, hit ... to go up one directory. Then go into etc then into modules.d
4: Edit the 45-ipt-nathelper-extra file and remove the line nf_nat_sip
Note: You do not need to remove nf_conntrack_sip as this just tracks connections and doesn't modify the packets (as far as I can tell).
5: Disconnect WinSCP and reboot the router.
Screenshots (click on the image to see full size):



Re: SIP ALG
Thanks for the thorough walk through.
I has to remove nf_conntrack_sip to get my SIP application working.
Allworx Reach on an iPhone.
I has to remove nf_conntrack_sip to get my SIP application working.
Allworx Reach on an iPhone.
Re: SIP ALG
Just a quick note that on 1.7.0 it appears the file name has changed to:
ipt-nathelper-extra
No more 45- in front of it.
Being able to toggle this option in the UI would be great.
ipt-nathelper-extra
No more 45- in front of it.
Being able to toggle this option in the UI would be great.
-
- Posts: 41
- Joined: Thu Dec 03, 2015 3:20 am
Re: SIP ALG
This really ought to be a toggle. I've been going crazy for weeks trying to work out what was wrong with my VOIP before encountering this thread. My main issue was that my VOIP phones would ring (Linksys PAP2 / PAP2T and on Linksys SPA3000) but I was never able to answer the call. It would just go silent on my end and the caller just gets the normal ringing tone until it goes to voicemail. I can confirm that the instructions listed above work on Gargoyle 1.9.2. In my case the file as named "nf-nathelper-extra", but the rest was the same.
Hooray! So glad to have this finally working. Oddly enough FreePBX13 has no problems with this, it was just the PAP2 units.
Edit: for clarification, I had to remove both nf_nat_sip and nf_conntrack_sip to be able to get a fully working VOIP service with multiple concurrent phone calls. If I just removed nf_nat_sip, I wasn't able to make more than a single call at once.
Hooray! So glad to have this finally working. Oddly enough FreePBX13 has no problems with this, it was just the PAP2 units.
Edit: for clarification, I had to remove both nf_nat_sip and nf_conntrack_sip to be able to get a fully working VOIP service with multiple concurrent phone calls. If I just removed nf_nat_sip, I wasn't able to make more than a single call at once.
-
- Posts: 22
- Joined: Sun Nov 04, 2018 10:06 am
Re: SIP ALG
Gargoyle 1.10.0 - - new user - happy with the system on a TP-Link TL-WR1043N/ND v1.
My OBIHAI200 sip adapter always worked with voip(dot)ms - behind a linksys that had a 'sip gateway' checkbox turned on.
I took both of those lines out of:
/etc/modules.d/nf-nathelper-extra
and it all works again, no port forwarding or any other changes.
My OBIHAI200 sip adapter always worked with voip(dot)ms - behind a linksys that had a 'sip gateway' checkbox turned on.
I took both of those lines out of:
/etc/modules.d/nf-nathelper-extra
and it all works again, no port forwarding or any other changes.