[Asterisk-Users] Dial peer preference

Damon Estep damon at suburbanbroadband.net
Fri Jun 24 05:58:05 MST 2005




> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-
> bounces at lists.digium.com] 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/number at host,duration)
Exten s,2,Dial(zap/chan/number,duration)
Exten s,3,Congestion(5)
Exten s,4,(hangup)



More information about the asterisk-users mailing list