[Home]

Summary:ASTERISK-20317: DNS long responce freeze chan_sip
Reporter:Badalian Vyacheslav (slavon)Labels:
Date Opened:2012-08-24 05:09:51Date Closed:2012-08-24 08:21:26
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:Channels/chan_sip/Registration
Versions:1.8.15.0 Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:Hello.

Test stand:
200 Voip phones. All host=dynamic. All use registration to connect to Asterisk. All connect by IP (not use DNS)
3 SIP peers. All host=NAME (use DNS). Asterisk use registration for this peers.

Test:
- DNS return errror after 10 sec timeout (NS server of peer zone is down.)
That's must be - Asterisk can't connect to peers. All voip phones work normal.
That's was - over 70% of voip phones are unreacheble, becouse chan_sip is deadlocked by waiting answer for peers.

Please fix. One broken peer may will down all system!
Comments:By: Matt Jordan (mjordan) 2012-08-24 08:21:26.342-0500

Asterisk does not implement an asynchronous DNS resolver.  A local DNS cache has been used in the past to work around this issue.

An asynchronous DNS resolver technically constitutes an improvement or a new feature, and as such, would require a patch to trunk.