[asterisk-gui] asterisk-gui Digest, Vol 9, Issue 9

bkruse bkruse at digium.com
Fri Jul 13 14:52:34 CDT 2007


Peter,

This is correct. The reasons why groups are so useful
is because of that same reason. Grouping t1's together
to have a huge outbound trunk. Grouping single lines
for a "trunk" feel, or anything similar.

Thanks for the info too Peter,

-bk

Peter Nguyen wrote:
> ZAP/g1 means group 1. So anything defined in group g1 can be used as long as they're available. In essence, your config may look like this:
>
> context=incoming        ; Incoming calls go to [incoming] in extensions.conf
> signalling=fxs_ks       ; Use FXS signalling for an FXO channel
> group=1
> channel => 2-4            ; PSTN attached to port 2 to 4
>
> then in your dialplan you can use:
>
> exten => NXXXXXX,1,Dial(ZAP/g1/${EXTEN}
>
> this will cause asterisk to dial any 7 digits number that starts with 2 and send it out the first available channel in group g1 which includes channels 2 through 4. I hope this help
>
>
> Peter Nguyen
> L.A. Fitness International, LLC
> 2600 Michelson Drive, Suite 300
> Irvine, California 92612
> VoIP Administrator * (877) 561-9944
>
>
> -----Original Message-----
> From: asterisk-gui-bounces at lists.digium.com [mailto:asterisk-gui-bounces at lists.digium.com] On Behalf Of asterisk-gui-request at lists.digium.com
> Sent: Friday, July 13, 2007 10:00 AM
> To: asterisk-gui at lists.digium.com
> Subject: asterisk-gui Digest, Vol 9, Issue 9
>
> Send asterisk-gui mailing list submissions to
> 	asterisk-gui at lists.digium.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://lists.digium.com/mailman/listinfo/asterisk-gui
> or, via email, send a message with subject or body 'help' to
> 	asterisk-gui-request at lists.digium.com
>
> You can reach the person managing the list at
> 	asterisk-gui-owner at lists.digium.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of asterisk-gui digest..."
>
>
> Today's Topics:
>
>    1. Re: GUI Dial Plan - outgoing via multiple possible lines
>       (roll-over) (Sam Snow)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 12 Jul 2007 13:46:31 -0400
> From: Sam Snow <snowsam at laurel-point.net>
> Subject: Re: [asterisk-gui] GUI Dial Plan - outgoing via multiple
> 	possible lines	(roll-over)
> To: Asterisk GUI project discussion <asterisk-gui at lists.digium.com>
> Message-ID: <469668F7.2060101 at laurel-point.net>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> bkruse wrote:
>   
>> Seems like a good idea, sam.
>>
>> However, why not just put them all in a group, and let asterisk decide 
>> which one to dial out from?
>>
>> -bk
>>
>>
>>   
>>     
>
> Using Groups was my first thought as well. Because of the way the GUI 
> creates the dial plan I don't see how this is possible. The dialplan 
> references "trunk_1" which is hard coded at the top of the extensions 
> file to be Zap/g1 (one line). Right?
>
> To complete the picture of my setup, here is the interesting part of my 
> zapata.conf:
>
> ; define channels
> context=incoming        ; Incoming calls go to [incoming] in extensions.conf
> signalling=fxs_ks       ; Use FXS signalling for an FXO channel
> group=1
> channel => 2            ; PSTN attached to port 2
>
> context=incoming        ; Incoming calls go to [incoming] in extensions.conf
> signalling=fxs_ks       ; Use FXS signalling for an FXO channel
> group=1
> channel => 3            ; PSTN attached to port 3
>
> context=incoming        ; Incoming calls go to [incoming] in extensions.conf
> signalling=fxs_ks       ; Use FXS signalling for an FXO channel
> group=1
> channel => 4            ; PSTN attached to port 4
>
> And the only part interesting in zaptel.conf is:
> fxsks=2,3,4
>
>
>
>
>
> ------------------------------
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-gui mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-gui
>
> End of asterisk-gui Digest, Vol 9, Issue 9
> ******************************************
>
>
> --------------------------------------------------------------------
> Internet communications are not secure, and therefore LA Fitness
> does not accept legal responsibility for the contents of this message.
> However, LA Fitness reserves the right to monitor the transmission
> of this message and to take corrective action against any misuse or
> abuse of its e-mail system or other components of its network. The
> information contained in this e-mail is confidential and may be
> legally privileged.  It is intended solely for the addressee. If you
> are not the intended recipient, any disclosure, copying, distribution,
> or any action or act of forbearance taken in reliance on it, is
> prohibited and may be unlawful. Any views expressed in this e-mail are
> those of the individual sender, except where the sender has been duly
> authorized to specifically state the content of the e-mail on
> behalf of LA Fitness.  The recipient should check this e-mail and any
> attachments for the presence of viruses. LA Fitness accepts no liability
> for any damage caused by any viruses transmitted by this e-mail.
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-gui mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-gui
>   




More information about the asterisk-gui mailing list