More Than One Out Bound Call

I have a TDM400P installed and have three lines. I can only have one person dial out at a time. Dialing in is not a problem. When a second users tries dialing out they cannot and I get a congestion error. What is the config to find an open line if the first is not open to dial out? Thanks for any help and here are my config files (using IAX):

zapata.conf

extensions.conf

iax.conf

globals]
OUTBOUNDTRUNK=Zap/1&Zap/2&Zap/3

use the information from rusty along with the
ChanIsAvail application.
voip-info.org/wiki/index.php … hanIsAvail

change this:

; Define Channels context=incoming ;Incoming calls go to incoming in extensions.conf signalling=fxs_ks channel=1-3

to this:

; Define Channels group=1 context=incoming ;Incoming calls go to incoming in extensions.conf signalling=fxs_ks channel=1-3

then change this:

to thisL

you’re done - now the system will pick ANY of the 3 lines that are available and dial out via them automatically.

rusty is doing the same thing, in effect, i’m just defining the group in zapata instead of in extensions. you say potato…

Or you could follow whoiswes and insted of

exten => _9NXXXXXX,1,Dial(${OUTBOUNDTRUNK}/${EXTEN:1})

you could do it like this

exten => _9NXXXXXX,1,Dial(Zap/g1/${EXTEN:1})

That the beauty of asterisk more than 1 way to skin a cat