[asterisk-dev] [Code Review] If DNS is unavailable at start-up, update peer address so registration works when DNS comes back

Kevin P. Fleming kpfleming at digium.com
Tue Aug 2 11:15:03 CDT 2011


On 08/02/2011 11:07 AM, Simon Perreault wrote:
> Simon Perreault wrote, on 08/02/2011 11:41 AM:
>> The architecture of DNS in Asterisk is fundamentally broken.
>
> Forgot to add: I know that words are cheap and code is king. "diff or STFU." ;)

We prefer 'patches are welcome' <G>

Your points are valid, though, although there are many complex details 
in SIP where you might need to reuse sockets for responses and requests 
within dialogs... but in general, yes, caching DNS results in memory in 
Asterisk is not optimal.

-- 
Kevin P. Fleming
Digium, Inc. | Director of Software Technologies
Jabber: kfleming at digium.com | SIP: kpfleming at digium.com | Skype: kpfleming
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at www.digium.com & www.asterisk.org



More information about the asterisk-dev mailing list