On Tue, Jul 10, 2012 at 9:04 AM, mahesh katta <[email protected]>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>
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to