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