[asterisk-users] IAX Trunk Failover

Justin Hamade justhamade at gmail.com
Thu Apr 5 21:54:14 MST 2007


You have call-${DIALSTATUS} and s-CONGESTION.

It might not be CONGESTION.  Do a Noop(${DIALSTATUS}) you should get
something.

Justin

On 4/5/07, Mike Lynchfield <theclubvoip at gmail.com> wrote:
>
> tried x+102 ?
>
> On 4/5/07, Brent <brent at ubtanet.com> wrote:
>
> >  I'm trying to get an IAX trunk to failover to a local trunk it the
> > trunk is down.
> >
> >
> >
> > This is what I've been working on:
> >
> >
> >
> > [macro-forward1];
> >
> > exten => s,1,Dial(IAX2/192.168.1.1/${ARG1},20)
> >
> > exten => s,2,Goto(call-${DIALSTATUS},1)
> >
> > exten => s-CONGESTION,1,Dial(LOCAL/${ARG2},20)
> >
> > exten => s-CHANUNAVAIL,1,Dial(LOCAL/${ARG2},20
> >
> > ;end macro-forward1
> >
> >
> >
> > exten => 6222626,1,Macro(forward1,6222626,6222627)
> >
> >
> >
> > ...in the debug, I never see dialstatus...the call just fails.  Doesn't
> > ever try to dial the second extension.
> >
> >
> >
> > Any ideas?
> >
> >
> >
> >
> >
> >
> >
> > _______________________________________________
> > --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
> >
> >
>
>
> --
> Mike
> Sales Manager
> http://www.voicemeup.com
> Making it happen
> 1.877.807.VOIP (8647)
> 1.514.312.7030
> _______________________________________________
> --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
>
>


-- 
Justin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070405/312a08bb/attachment.htm


More information about the asterisk-users mailing list