[Asterisk-Users] Splitting Zap channels into trunks?

Rich Adamson radamson at routers.com
Wed Apr 26 05:24:08 MST 2006


Kerry Garrison wrote:
> On a TDM2400 with 3 FXO modules, is there a way to split each line into 
> basically being its own trunk or another way to pull off the following 
> scenerio:
>  
> PBX has 12 inbound PSTN lines
> 1,3,5,7 are the 714 phone number hunt group
> 2,4,6,8 are the 888 phone number hunt group
> 9-12 are fax lines
>  
> Customer wants outbound calls to go out in the following order: 
> 8,7,6,5,4,3,2,1,12,10,11,9

Asterisk does not have any way to specifically define the order zap 
channels are used for outgoing calls (eg, 8,7,6,5...).

The only reasonable way I can think of is to rearrange the actual pstn 
connections so as to appear in the zap channel order that you want, and 
then use the group= parameter on those channels.

Something like:
move pstn line #8 to zap channel 1 and use group=1
move pstn line #7 to zap channel 2 and use group=1
move pstn line #6 to zap channel 3 and use group=1
etc, etc.

Then send your outbound calls to "g1" or "G1".

The inbound calls on those pstn lines will still follow whatever context 
you define for each zap channel.

R.




More information about the asterisk-users mailing list