[Asterisk-Users] Teliax is DOWN

Peter Wemm peter at wemm.org
Thu Jun 2 22:52:56 MST 2005


On Thursday 02 June 2005 10:36 pm, Chris Coulthurst wrote:
> When my service was down briefly, it tried for quite some time to
> contact the voip.teliax.com IAX server, and came back with a
> "authentication rejected" message.  Now, I had this problem from
> here, as well as a test from another location with a completely
> different account with teliax, and the effect was the same.
>
> So, how to I enter in to the dialplan, to not wait for 30+ seconds to
> contact an unreachable server, and go on to the next-priority
> failover ZAP trunks?  I'm thinking that something like 6 or 7 seconds
> is the longest I could let it wait before a dialout user thinks
> something's wrong and tries again (thus reentering a 7 second timeout
> if teliax is still down).
>
> Any suggestions?  Dialplan examples?

I wonder if the combination of qualify=yes and ChanIsAvail() does
something useful?  I always meant to find out.  Asterisk does seem to
monitor the outbound links and does seem to be aware when things
are down when qualify is on.

vox*CLI> iax2 show peers
Name/Username    Host                 Mask             Port          Status
iaxy1/iaxy1      10.0.0.39       (D)  255.255.255.255  4569          Unmonitored
teliax/XXXXXX  208.139.204.228 (S)  255.255.255.255  4569          OK (78 ms)
faktortel/XXXXX  202.125.42.141  (S)  255.255.255.255  4569          OK (193 ms)
voicepulse-out-  66.234.228.166  (S)  255.255.255.255  4569          OK (92 ms)
voicepulse-out-  66.234.228.160  (S)  255.255.255.255  4569          OK (93 ms)

-- 
Peter Wemm - peter at wemm.org; peter at FreeBSD.org; peter at yahoo-inc.com
"All of this is for nothing if we don't go to the stars" - JMS/B5



More information about the asterisk-users mailing list