[Asterisk-Users] Picking an open channel (FXO port) for outbound calls

Rich Adamson radamson at routers.com
Mon Nov 24 12:09:36 MST 2003


> > ==== snippet ====
> > 
> > ; Outbound
> > exten => _9.,1,Dial(Zap/1/${EXTEN:1},90,Tt)
> > exten => _9.,2,Macro(fastbusy)
> > exten => _9.,102,Macro(fastbusy)
> > 
> > ==== /snippet ====
> 
> Use the `group` syntax for the Dial command, ie:
> 
> exten => _9.,1,Dial(Zap/g1/${EXTEN:1},90,Tt)
>                         ^
> 
> And in your zapata.conf put:
> 
> group = 1
> 
> before the device declaration of Zap/1 and Zap/2.

However, beware that if you have any analog phones on those two lines,
* will not detect whether they are in use and will dial over the top
of any existing conversation. * does not sense dialtone, etc.

Rich





More information about the asterisk-users mailing list