Does anyone have a working failover outbound calls that I could sponge a hint from? i.e. Exten => _1NXXNXXXXXX,1,Dial(IAX/MyFirstCrappyIAXPeer/${EXTEN},60) Exten => _1NXXNXXXXXX,2,Dial(IAX/IfMyFirstCrappyIAXPeerDontAnswerIn5SecDialMySecondCr appyIAXPeer Exten => _1NXXNXXXXXX,3,Dial(IAX/IfTheyBothDontAnswerTryTheNextCrappyIAXPeer) Exten => _1NXXNXXXXXX,4,Dial(ZAP/g1)(GiveUpTheyAllSuckSoUseThePRI) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050407/26b70122/attachment.htm
On Thu, 7 Apr 2005, Jason Brown wrote:> Does anyone have a working failover outbound calls that I could sponge a > hint from? i.e. > > Exten => _1NXXNXXXXXX,1,Dial(IAX/MyFirstCrappyIAXPeer/${EXTEN},60) > > Exten => > _1NXXNXXXXXX,2,Dial(IAX/IfMyFirstCrappyIAXPeerDontAnswerIn5SecDialMySecondCr > appyIAXPeer > > Exten => > _1NXXNXXXXXX,3,Dial(IAX/IfTheyBothDontAnswerTryTheNextCrappyIAXPeer) > > Exten => _1NXXNXXXXXX,4,Dial(ZAP/g1)(GiveUpTheyAllSuckSoUseThePRI)Looks like you're already there -- this is what I use: exten = _1nxxnxxxxxx,1, noop(CONTEXT=${CONTEXT}) exten = _1nxxnxxxxxx,n, setcidname(Steve,a) exten = _1nxxnxxxxxx,n, setcidnum(760 555-5555) ; sixtel exten = _1nxxnxxxxxx,n, background(newline/via-sixtel) exten = _1nxxnxxxxxx,n, dial,${SIXTEL-RESOURCE}/${EXTEN} ; voicepulse exten = _1nxxnxxxxxx,n, background(newline/via-voicepulse) exten = _1nxxnxxxxxx,n, dial,${VOICEPULSE-RESOURCE-1}/${EXTEN} exten = _1nxxnxxxxxx,n, dial,${VOICEPULSE-RESOURCE-1}/${EXTEN} ; nufone exten = _1nxxnxxxxxx,n, background(newline/via-nufone) exten = _1nxxnxxxxxx,n, dial,${NUFONE-RESOURCE}/${EXTEN} ; pstn exten = _1nxxnxxxxxx,n, background(newline/via-pstn) exten = _1nxxnxxxxxx,n, dial(${TRUNK-RESOURCE}/${EXTEN}) Thanks in advance, ------------------------------------------------------------------------ Steve Edwards sedwards@sedwards.com Voice: +1-760-468-3867 PST Newline pagesteve@sedwards.com Fax: +1-760-731-3000
You can use ChanIsAvail to confirm that specific trunk is available before routing your call. Wojtek ----- Original Message ----- From: Jason Brown To: asterisk-users@lists.digium.com Sent: Thursday, April 07, 2005 9:59 PM Subject: [Asterisk-Users] failover outbound dialplan Does anyone have a working failover outbound calls that I could sponge a hint from? i.e. Exten => _1NXXNXXXXXX,1,Dial(IAX/MyFirstCrappyIAXPeer/${EXTEN},60) Exten => _1NXXNXXXXXX,2,Dial(IAX/IfMyFirstCrappyIAXPeerDontAnswerIn5SecDialMySecondCrappyIAXPeer Exten => _1NXXNXXXXXX,3,Dial(IAX/IfTheyBothDontAnswerTryTheNextCrappyIAXPeer) Exten => _1NXXNXXXXXX,4,Dial(ZAP/g1)(GiveUpTheyAllSuckSoUseThePRI) ------------------------------------------------------------------------------ _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050408/798010e8/attachment.htm