Check this out. I recently closed a bug I had written, #495 "ExtraChannel in transfer causes crash" Now I've been able to reproduce it, and somewhat narrowed down the culprit. But before I write another bug report, I wanted to see if anyone else had experienced the following (or would like to try:) When DNS (or outside connection to the network, not sure which) is broken and you have "register=>" lines in iax.conf, Asterisk gets whacky. First of course you'll the message "Host (whatever) not found at line (whatever)" in iax2.c at startup. It takes a long time for the lookup to timeout. Later, I get some other generally bizzare behavior including: 1. I get "everyone is busy at this time" from devices that aren't. 2. The dual-redirect crash is 100% repeatable now. One of the last things you see is "planning to masqerade 0sd8(*&(& INTO ...." just before it crashes. If you remove the "register" lines from iax.conf (or fix your DNS/Internet problem) it runs fine. My first thought is it could be a timing issue due to the timeout taking so long during startup. Looking at the IAX2 registration code, it doesn't immediately appear that a failed registration would wreak any particular havoc. Does this sound similar to anyone else's experience? Anyone else care to verfiy? Our Asterisk version is pretty close to CVS, maybe a few weeks out but I didn't see any bugs listed that seemed to address this.
Philipp von Klitzing
2004-Jan-10 09:53 UTC
[Asterisk-Users] Broken DNS makes Asterisk whacky!
Hi!> When DNS (or outside connection to the network, not sure which) is > broken and you have "register=>" lines in iax.conf, Asterisk gets whacky. > ... > Later, I get some other generally bizzare behavior including: > 1. I get "everyone is busy at this time" from devices that aren't.I might have seen that, but I thought it was a MGCP problem - not sure if it is.> If you remove the "register" lines from iax.conf (or fix your > DNS/Internet problem) it runs fine.See bugs 558 and 673? Cheers, Philipp
On 09/01/04 23:18, Matt Lawson wrote:> When DNS (or outside connection to the network, not sure which) is > broken and you have "register=>" lines in iax.conf, Asterisk gets whacky. > > [...] > > Does this sound similar to anyone else's experience? Anyone else care > to verfiy? Our Asterisk version is pretty close to CVS, maybe a few > weeks out but I didn't see any bugs listed that seemed to address this.Yes, it does. I noticed this last week. When this happens, Asterisk forks lots of threads (hundreds over time), none of which die. This puts very high load on the box if the outage in DNS happens for a while. Alastair