mahesh katta
2012-Jul-10 14:04 UTC
[asterisk-users] channel not available and jump to next group channels
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. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120710/699e8152/attachment.htm>
Eric Wieling
2012-Jul-10 14:09 UTC
[asterisk-users] channel not available and jump to next group channels
Channels can be in more than one group. Make g0=1-15,17-31,32-46,48-62 and -----Original Message----- From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of mahesh katta Sent: Tuesday, July 10, 2012 10:04 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [asterisk-users] channel not available and jump to next group channels 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.
mahesh katta
2012-Jul-10 14:26 UTC
[asterisk-users] channel not available and jump to next group channels
Thank you for your reply. not like this. because there is 2 different types of calling is there thats why . On Tue, Jul 10, 2012 at 7:39 PM, Eric Wieling <EWieling at nyigc.com> wrote:> Channels can be in more than one group. > > Make g0=1-15,17-31,32-46,48-62 and > > -----Original Message----- > From: asterisk-users-bounces at lists.digium.com [mailto: > asterisk-users-bounces at lists.digium.com] On Behalf Of mahesh katta > Sent: Tuesday, July 10, 2012 10:04 AM > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: [asterisk-users] channel not available and jump to next group > channels > > 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. > > > > > > > > -- > _____________________________________________________________________ > -- 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 >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120710/1b0d39b6/attachment.htm>
Warren Selby
2012-Jul-10 16:21 UTC
[asterisk-users] channel not available and jump to next group channels
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>