[asterisk-users] How to setup redundant SIP peers

Thomas Balsfulland tbals at ctrl-c.de
Mon Dec 3 05:29:34 CST 2007


> > Hello list,
> > I try to setup an asterisk-server with different SIP-Peers to PSTN.
> > The Peer are working and configured in sip.conf:
> >
> >  [peer1]
> >  type=peer
> >  host=10.10.10.1
> >
> >  [peer2]
> >  type=peer
> >  host=10.10.10.2
> >
> > Now dialout is no problem. Extensions.conf says:
> >
> >  exten => _0Z.,1,Dial(SIP/49${EXTEN:1}@peer1,30)
> >
> 
> add another line
> exten => _0Z.,2,Dial(SIP/49${EXTEN:1}@peer2,30)
> ram

this is not the right way, because it takes 30 sec before asterisk try
dialout over peer2. the dial-timer (.... at peer1,30) is normaly set for
the time to wait of "200 OK", but it is also active when peer1 is 
down or not answering.

thank you
thomas



More information about the asterisk-users mailing list