[asterisk-dev] cisco-check-cfg

Simon Perreault simon.perreault at viagenie.ca
Fri Jul 29 09:28:13 CDT 2011


Kevin P. Fleming wrote, on 07/29/2011 10:10 AM:
>>> True... good point. OK, clarification then: Asterisk should only include [::1]
>>> in a Contact header (or various other headers) when it knows that the UA it is
>>> talking to is connected over the loopback interface.
>>
>> Any idea on how to translate that into code?
> 
> I believe this is the purpose of ast_sip_ouraddrfor() in chan_sip.c, right?

No! ast_sip_ouraddrfor() is a monumental hack. We sadly could not kill it during
the IPv6 conversion because it would have impacted the architecture too much.

(Not commenting on the rest of your email because I don't understand the issue
well enough.)

Simon
-- 
DTN made easy, lean, and smart --> http://postellation.viagenie.ca
NAT64/DNS64 open-source        --> http://ecdysis.viagenie.ca
STUN/TURN server               --> http://numb.viagenie.ca



More information about the asterisk-dev mailing list