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

Walker Haddock whaddock at datacrest.com
Mon Nov 24 11:07:23 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.

Walker

-- 
********   DataCrest, Inc. -- Technically Superior   ******************
Walker Haddock                       http://www.datacrest.com
DataCrest, Inc.                    e-mail:  wh at datacrest.com
1634A Montgomery Hwy.    phone:  1-888-941-3282, 1-205-335-8589
Birmingham, AL 35216                  fax:  1-205-823-7838
***********************************************************************



More information about the asterisk-users mailing list