[Asterisk-Dev] Seeking a clue RE: how * does the right thing with
NAT'ed SIP/SDP devices
brian.west at mac.com
Fri Jun 17 14:37:19 MST 2005
Its called "localnet"
Anakin: “You’re either with me, or you’re my enemy.”
Obi-Wan: “Only a Sith could be an absolutist.”
On Jun 17, 2005, at 3:43 PM, David Pollak wrote:
> I'm looking to understand how Asterisk determines if it's going to
> re-write an SDP contained in a SIP message from an ill-behaving
> application behind a firewall.
> Specifically, the Microsoft RTC client running behind a NAT puts
> the wrong IP address (the local non-routable address, rather than
> the NAT's address) in the SDP header. However, Asterisk does the
> right thing and send media streams to the IP address of the NAT.
> I've looked through chan_sip.c:process_sdp and don't see anything
> that remotely looks like logic to re-write the host.
> If anyone can lend a clue to me, I'd be grateful to the tune of a
> couple of beers.
> Asterisk-Dev mailing list
> Asterisk-Dev at lists.digium.com
> To UNSUBSCRIBE or update options visit:
More information about the asterisk-dev