It seems my service provider is requesting a complicated settings to allow me to send from behind NAT.
What they said:
“It shouldn’t matter as long as you are handling the NAT correctly your end. We do not fix NAT so if you’re sending internal addresses in your INVITEs or SDP then things will fail but if you’re handling it correctly, we shouldn’t tell the difference”.
Really, I did not understand what exactly they need. But maybe what they need is to see my public IP address without the private IP address (this what I understood if I am right).
I tried to use the following in the [general] settings in the sip.conf
But even, the calls are drop .. so what I have to do?
The following what I get when I enabled the sip debug:
<--- SIP read from UDP:22.214.171.124:5060 --->
SIP/2.0 403 UA behind NAT not accepted here Via: SIP/2.0/UDP 192.168.10.2:5060;branch=z9hG4bK123c8781;rportP60;received126.96.36.199
From: “asterisk” ;tag=as45d7c63b To: <9617565116>;tag9617565116>