> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:asterisk-users- > [EMAIL PROTECTED] On Behalf Of kurt x > Sent: Friday, June 24, 2005 6:24 AM > To: Asterisk > Subject: [Asterisk-Users] Dial peer preference > > Does Asterisk support preference for the dial peers. > > For example: > > I have two outbound peers in *. The first is a SIP dial peer and the > second peer is to > the PSTN via a T1. > > The SIP dial peer is the main outbound peer for all calls. However, if > the my SIP providers network goes down, I need to be able to > automatically route the call out the T1 card. Is this > possible in Asterisk. I have not seen any preference commands for > Asterisk. > > If not, is there a work around for this type of set up. > > Kurt Have you tried putting in something like this? Etxen s,1,Dial(sip/[EMAIL PROTECTED],duration) Exten s,2,Dial(zap/chan/number,duration) Exten s,3,Congestion(5) Exten s,4,(hangup) _______________________________________________ Asterisk-Users mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
