I have 8 Zap channels, 25-32, all of which have their own line.

My zapata.conf file looks similar to:

        group=1
        context=context_1
        signalling=fxs_ks
        channel => 25

        group=2
        context=context_2
        signalling=fxs_ks
        channel => 26

and so forth for all 8 lines, where each channel has its own group and incoming context.

The first 4 channels are our primary trunk lines. If we have to make an outgoing call on a trunk line, how can I have it pick the first available line of the 4?

My first thought would be to have another group that includes the first 4 channels, and then use that group in the Dial() command like so:

        group=9
        context=whatever
        signally=fxs_ks
        channel => 25-28

and
        Dial(Zap/g9/${EXTEN},60)


Can I repeat channels like that or will it cause Asterisk to choke? If I can't do it that way, can someone suggest a way to do it?

Thanks in advance,
Jay
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to