> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:asterisk-users- > [EMAIL PROTECTED] On Behalf Of Andrew Kohlsmith > Sent: Friday, January 27, 2006 2:07 PM > To: [email protected] > Subject: Re: [Asterisk-Users] Fail over to Pri on VoIP connection failure > > On Friday 27 January 2006 16:00, Damon Estep wrote: > > In the event that the first attempt DOES NOT RESPOND (is down) there has > > to be a timeout value to go to the next priority, correct? Otherwise the > > channels just sits silent waiting for a response. > > That's what the qualify parameter in sip/iax.conf is for. Never terminate > calls without it. :-) It won't *guarantee* that you'll never get dead > air, > but it sure goes a long way to ensuring that it happens so infrequently > you'll think you misdialed. > > > I think your macro assumes that you got a response from nufone, but what > > if they were dead in the water? > > Then qualify would have failed and Dial() would have immediately returned > CHANUNAVAIL. > > -A.
OK - starting to make sense now Qualify=yes for the peer in sip.conf If you have qualify=yes I assume that triggers a sip query to get channel capabilities from the peer? What is the qualify timeout? Can it be manipulated? If the goal was strictly to try one provider, and if the channel fails qualify, then try the next, is the macro you posted needed? Couldn't you just; Exten => ####,1,Dial(SIP/[EMAIL PROTECTED] Exten => ####,2,Dial(SIP/[EMAIL PROTECTED] Exten => ####,3,Congestion(15) Exnte => ####,4,Hangup _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
