Hi,
I have been testing FreeSBC on AWS and every time I send a call to my SIP provider I am getting 401 unauthorized. I checked with them and they said the reason is because you are including the private IP in the SIP URI.
CODE:
INVITE sip:514xxxx@206.80.xxx.xxx SIP/2.0 Content-Type:application/sdp To: <sip:514xxxx@206.80.xxx.xxx> From: <sip:514xxxxxxx@192.168.31.19>;tag=C7C7303033303330B5980000 Privacy:none P-Asserted-Identity: <sip:514xxxxxxx@192.168.31.19> Max-Forwards:65 Allow:INVITE,ACK,OPTIONS,BYE,CANCEL,REGISTER,INFO,UPDATE,PRACK,REFER,SUBSCRIBE,NOTIFY Supported:100rel,timer Expires:120
They said From: sip:514xxxxxxx@192.168.31.19;tag=C7C7303033303330B5980000 should contain the public IP of the SBC.
On the NAP configuration, I tried to set the “Remote Method for SIP” to “Force Use of Public IP and Port” and also “Automatic NAT Traversal” but they still see the private IP of SBC.
How can I correct this?
Thanks.