[Asterisk-Users] why a perfectly fine iax2 host becomes UNREACHABLE?

Eric "ManxPower" Wieling eric at fnords.org
Thu May 4 14:08:15 MST 2006


Are you specifying the remote Asterisk box by IP or by hostname.  If by 
hostname, then specify it by IP.  Asterisk's DNS lookup support has issues.

2) What is your qualify= set to.  Set it to "yes" (2000), or don't set 
it at all.  Also look at the qualify smoothing options in iax.conf.sample.

Tom Engleward wrote:
> <rant>
>>From this thread today I've learned that the problems
> I've been having the entire time I've been using
> asterisk (about two weeks) stem not from NAT, as I
> originally thought, but from asterisk itself, so that
> if I were to move my asterisk box to a public IP
> address, my iax2 connection to my PSTN originator
> (which also runs asterisk) would _still_ be
> unreliable.
> This makes iax2 on asterisk useless for receiving
> calls. No matter how many spiffy features asterisk
> has, there is one simple nonnegotiable requirement: it
> must always answer incoming calls. If it can't do
> that, then it can't be relied on. And over iax2, it
> can't do that.
> Isn't asterisk supposed to by default reregister iax2
> connections every minute or something like that? Why
> then do I get reliable incoming connections for
> several hours, and then it dies, and I have to do a
> "reload"?
> Am I supposed to make a cron job to automatically tell
> asterisk to reload every so often, since iax2 likes to
> periodically die? Or maybe am I supposed to make a
> cron job to place a phone call every so often from an
> external phone into my asterisk system and verify that
> asterisk actually answers, and immediately issue
> asterisk a reload if it fails?
> This is utterly ridiculous. Yes, I know, it's free
> software and all, and "you get what you pay for."
> Just in a bad mood today because I've literally lost
> thousands of dollars due to asterisk's failure to
> reliably answer incoming calls, and I only discover
> these failed incoming call attempts later when I check
> my PSTN originator's logs. I then go "oh crap!" and do
> a test call into my asterisk system, and get Ma Bell's
> "the number you are calling has been disconnected or
> is no longer in use", and I issue a "reload" to
> asterisk and try again, and this time my call
> succeeds. At this rate soon it will be more profitable
> for me to just invest in a traditional reliable PBX
> hooked to Ma Bell and be done with these problems.
> I'm not a Digium customer, so they have no reason to
> listen to me, but surely there are Digium customers
> who are also getting bitten by this iax2 bug.
> Is anybody on this list actually using iax2 for
> anything mission-critical?
> </rant>

> 
> 


-- 
Now accepting new clients in Birmingham, Atlanta, Huntsville, 
Chattanooga, and Montgomery.



More information about the asterisk-users mailing list