[Asterisk-Users] trunk rollover

Jim Lynch jim at fayettedigital.com
Fri Jun 30 12:14:39 MST 2006


Jon Scottorn wrote:
> What kind of line is being used?
>
> in zapata.conf:
>
>    group = 1
>    channel => 1,3,5,6
>
> I create a zap group will all your lines and dial out using the zap 
> group ie...
>
>     Dial(Zap/g1/${EXTEN})
>
> By using the group it dials on the first available line.
>
> If you want a more complex setup I have that as well. 
>
> I have an agi script that looks at the number dialed and determins if 
> it is a local call if so, dial out the ZAP line, if all ZAP lines are 
> busy dial out an IAX provider, I all IAX lines are busy, then roll to 
> my SIP provider.
> Took a bit to figure it all out and get working but it is very useful.
>
> Jon
>
>
>
Hi Jon,
Thanks,  One of the lines is a sip connection to Telasip, the other is a 
ZAP line.  I'd appreciate any help I could get.  I don't know what  an 
agi script is, so be gentle.  :)

Thanks,
Jim.



More information about the asterisk-users mailing list