[asterisk-users] channel not available and jump to next group channels

Warren Selby wcselby at selbytech.com
Tue Jul 10 11:21:44 CDT 2012


On Tue, Jul 10, 2012 at 9:04 AM, mahesh katta <maheshkatta at flexydial.com>wrote:

> Hi list,
>
> TRUNkA=Dahdi/g0   {g0=1-15,17-31}
> TRUNKB=Dahdi/g1  {g1=32-46,48-62}
>
>
>
> I have 2 gsm channel banks its E1 connection , its connected to server. I
> define this 2 different trunks.
> for example like TrunkA,TrunkB.
> TRUNKA connected 1 gsm channel bank and TRUNKB connected 2 gsm channel
> bank. if TRUNKA channels are not available its needs to automatically
> TRUNKB. How its possible to do with Dialplan without macros.
>
>
>
exten => _XXXXXXXXXX,n,Dial(${TRUNKA}/${EXTEN})
exten => _XXXXXXXXXX,n,Dial(${TRUNKB}/${EXTEN})

Swap _XXXXXXXXXX for whatever your outbound extensions would be...

-- 
Thanks,
--Warren Selby, dCAP
http://www.SelbyTech.com <http://www.selbytech.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120710/6ff3e446/attachment.htm>


More information about the asterisk-users mailing list