[Asterisk-Users] Multiple Asterisk servers sharing/propagating registry ?

Florian Overkamp florian at obsimref.com
Tue Dec 9 12:46:03 MST 2003


Hi Andrew,

Citeren Andrew Thompson <asteriskuser at aktzero.com>:
> > Instead of DIAL(IAX/sip.isp.com) could you not
> > DIAL(IAX/sip1.isp.com&IAX/sip2.isp.com&IAX/sip3.isp.com) to reach a
> similar
> > effect ? (or chain them in different lines so it tries to reach the first
> > one, then the second one if it fails, and the third if that fails.
> 
> Can someone show me Dial lines that would be "chained"? I have had trouble
> making it work like I think they should...

I use it like this:

[macro-dial]
exten=s,1,Dial(IAX2/${ARG1}@${ARG1},30,r)
exten=s,2,Dial(IAX/${ARG1}@${ARG1},30,r)
exten=s,3,Dial(SIP/${ARG1}@${ARG1},30,r)

exten=s,4,SetLanguage(nl)
exten=s,5,Answer
exten=s,6,Background(vm-nobodyavail)
exten=s,7,Hangup

exten=s,102,Goto(2)
exten=s,103,Goto(3)
exten=s,104,Goto(4)


-- 
Best regards,
Florian Overkamp




More information about the asterisk-users mailing list