[Asterisk-Users] Fail over to Pri on VoIP connection failure

Dovid Bender asteriskdigium at yahoo.com
Thu Jan 26 11:21:04 MST 2006


I know this may be a backwards way but for several
reasons I have asterisk send all calls thru astcc.
With astcc you specify multiple routes with prioroty
settings. If it cant complete a call with one route it
will roll over and use the next one.

Regards,
Dovid
--- "Cavanna, Richard" <RCavanna at sychip.com> wrote:

> I am trying to tweak my dial plan and I am running
> into a problem.
> Sometimes my VoIP out bound calls do not complete on
> overseas calls(busy
> or just a hang-up).  Is there a way in the dial plan
> to automatically
> dial out of my PRI when something like this happens.
>  Either by time
> limit by a failure event?
> 
> Any point in the right direction would be great
> 
> Thanks,
> 
> 
> CLI output (cleansed to protect the innocent)
> 
> -- Executing Dial("Zap/47-1",
> "IAX2/VoIPServicePrividerOUT/011XXXXXXXXXXXX") in
> new stack
>     -- Called VoIPServicePrividerOUT/011XXXXXXXXXXXX
>     -- Call accepted by 72.34.43.5 (format g729)
>     -- Format for call is g729
>     -- Channel 0/23, span 2 got hangup request
> <----here I get a busy
> signal
>     -- Hungup 'IAX2/ VoIPServicePrividerOUT-1'
> 
> 
> 
> [Outbound context]
> exten => _9011.,1,Macro(dialout-trunk,4,${EXTEN:1},)
> 
> exten => _9011.,2,Macro(dialout-trunk,2,${EXTEN:1},)
> exten => _9011.,3,Macro(outisbusy)	; No available
> circuits
> exten => _918.,1,Macro(dialout-trunk,2,${EXTEN:1},);
> 800 numbers to the
> PRI
> exten => _918.,2,Macro(outisbusy)	; No available
> circuits
> exten => _9Z.,1,Macro(dialout-trunk,4,${EXTEN:1},)
> exten => _9Z.,2,Macro(dialout-trunk,2,${EXTEN:1},)
> exten => _9Z.,3,Macro(outisbusy)	; No available
> circuits
> 
> 
> Richard 
> _______________________________________________
> --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
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the asterisk-users mailing list