[asterisk-users] asterisk stun setup , not using public ip returned by stun server

Jeremy Kister asterisk-03 at jeremykister.com
Mon Oct 13 23:15:24 CDT 2014


On 10/13/2014 2:50 AM, chandapure shiva wrote:
> In above packet VIA and CONTACT SIP-HEADERS contains the asterisk server
> private IP address which is behind the NAT , as per my understanding it
> supposed to be the public ip address of my network.

do you also have the appropriate nat statement in sip.conf ?

since you have the 'stun show status' command, i beleive the correct nat 
statement is nat=force_rport,comedia in the general section.

-- 

Jeremy Kister
http://jeremy.kister.net./




More information about the asterisk-users mailing list