Hi @wcs2228,
Your advice is interesting, but unfortunately my provider does not
support SIP-TLS neither alternative SIP port(s).

I learned from reading on the internet that SIP ALG in theory allow
VoIP working opening automatically any router’s ports for RTP.
The strange thing is that with the seconds module “nf_nat_sip” temporarly disabled like explained
VoIP works perfect without any port-forward rules on my Gl-iNet GL-AR300M-16.
Maybe SIP ALG was temporarly but also partially disabled because I have not port(s) forward rules on the firewall so seems still be able to open RTP port(s) automatically.
I have also disabled STUN server (that I had enabled before because I have a Dynamic IP) from the ATA PAP2T-NA,
because I read that STUN and SIP ALG can be in conflict, but this latest change in VoIP configuration seems to be irrelevant:
VoIP works perfectly (with or without STUN Server) only when the second module “nf_nat_sip” is disabled.
The only difference is that without STUN Server the system status of the ATA don’t show my External IP (dynamic IP).
So the problem still the same:
how to completely and definitely disable SIP ALG, or how to completely and definitely disable the second module “nf_nat_sip”.
The vast majority of website speaking about VoIP recommend to disable SIP-ALG altogether.
For the reasons above I suppose that if would be possible to only completely and definitely disable the second module “nf_nat_sip”
would be not necessary to create port-forward rules, while in the case of completely and definitely disable SIP ALG on the contrary
will be strictly necessary to create specific port-forward rules (like mentioned on the ATA PAP2T-NA user manual)
specifying that ports 5060-5061 (UDP), 53-53 (UDP), 69-69 (UDP), and 10000-20000 (UDP) are forwarded to the IP address of the Phone Adapter.
I’m wrong?
Any advice will be appreciated.
Thank you wcs2228.
Hoping in @alzhao for a step-by-step guide to definitely disable only the second module “nf_nat_sip” (if possible) or the SIP-ALG altogether.
Thank you so much in advance.