[asterisk-dev] externaddr in chan_sip.c - locking required?

Ian Pilcher arequipeno at gmail.com
Tue Nov 1 13:51:34 CDT 2011


On 11/01/2011 01:02 PM, Kevin P. Fleming wrote:
> That seems logical and a good approach to solving the problem, although
> I'm surprised that ast_sip_ouraddrfor() can write into the externaddr
> variable(s).

It does this when it does a DNS lookup on externhost, something that was
probably added after the fact.

Thanks!

-- 
========================================================================
Ian Pilcher                                         arequipeno at gmail.com
"If you're going to shift my paradigm ... at least buy me dinner first."
========================================================================




More information about the asterisk-dev mailing list