[asterisk-gui] GUI Dial Plan - outgoing via multiple possible lines (roll-over)

Sam Snow snowsam at laurel-point.net
Thu Jul 12 12:46:31 CDT 2007


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





More information about the asterisk-gui mailing list