We have ServerA that connects to ServerB to dial long distance via an IAX2 trunk. I have setup an international dialing plan so that there is a backup route via pstn if the IAX channel is down.
exten => _1NXXNXXXXXX,1,Dial,IAX2/${SERVERB}/${EXTEN},60) exten => _1NXXNXXXXXX,2,Dial(Zap/g2/${EXTEN},70) exten => _1NXXNXXXXXX,3,Macro(fastbusy) exten => _1NXXNXXXXXX,4,hangup exten => _1NXXNXXXXXX,102,Dial(Zap/g2/${EXTEN},70) exten => _1NXXNXXXXXX,103,Macro(fastbusy) exten => _1NXXNXXXXXX,104,hangup Would it be better to use exten => _1NXXNXXXXXX,102,GotoIf($[${DIALSTATUS} = CHANUNAVAIL]?i,1:103) Any other improvments? We want to make is transparent to the users. Chris Mason NetConcepts Int: (305) 704-7249 Fax: (815)301-9759 _______________________________________________ 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