SIP URI - Private IP Address
3 posters
Page 1 of 1
SIP URI - Private IP Address
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.
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.
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.
dcs- Number of Messages : 5
Point : 7
Registration Date : 2018-10-17
Re: SIP URI - Private IP Address
Hi,
It is 3.0.107 running on AWS.
Thanks.
It is 3.0.107 running on AWS.
Thanks.
dcs- Number of Messages : 5
Point : 7
Registration Date : 2018-10-17
Re: SIP URI - Private IP Address
Hi David,
It is normal that the From header has the private IP, we already put the src IP which initiates the Invite.
However, you can manipulate it Via Route -> Remapped_Calling: /^([0-9]*)$/\1@ 35.183.232.213/
It is normal that the From header has the private IP, we already put the src IP which initiates the Invite.
However, you can manipulate it Via Route -> Remapped_Calling: /^([0-9]*)$/\1@ 35.183.232.213/
NicoleTan- Number of Messages : 18
Point : 38
Registration Date : 2017-11-27
Re: SIP URI - Private IP Address
Hi Nicole,
The issue was with realm. After setting the proper value under the NAP settings, everything worked.
Thanks.
The issue was with realm. After setting the proper value under the NAP settings, everything worked.
Thanks.
dcs- Number of Messages : 5
Point : 7
Registration Date : 2018-10-17
Similar topics
» Script to change Private Address - PAI
» Replacing Calling anonymous with Private Address
» Using alternate ITSP address for media/ one way audio issue
» How to Recover an Elastic IP address in AWS?
» Send out SIP messages with FQDN instead of IP address
» Replacing Calling anonymous with Private Address
» Using alternate ITSP address for media/ one way audio issue
» How to Recover an Elastic IP address in AWS?
» Send out SIP messages with FQDN instead of IP address
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum