Hi, We have two pri line and I want to see how asterisk distribute outgoing call per channels I meant it use first last channel 47 or it will use first channel? Or it will allocate dynamically ? -- Sent from my iPhone
> We have two pri line and I want to see how asterisk distribute > outgoing call per channels > > I meant it use first last channel 47 or it will use first channel? > > Or it will allocate dynamically ?Extracted from chan_dahdi.c: Dial(DAHDI/pseudo[/extension[/options]]) Dial(DAHDI/<channel#>[c|r<cadance#>|d][/extension[/options]]) Dial(DAHDI/<subdir>!<channel#>[c|r<cadance#>|d][/extension[/options]]) Dial(DAHDI/i<span>[/extension[/options]]) Dial(DAHDI/[i<span>-](g|G|r|R)<group#(0-63)>[c|r<cadance#>|d][/extension[/options]]) i - ISDN span channel restriction. Used by CC to ensure that the CC recall goes out the same span. Also to make ISDN channel names dialable when the sequence number is stripped off. (Used by DTMF attended transfer feature.) g - channel group allocation search forward G - channel group allocation search backward r - channel group allocation round robin search forward R - channel group allocation round robin search backward c - Wait for DTMF digit to confirm answer r<cadance#> - Set distintive ring cadance number d - Force bearer capability for ISDN/SS7 call to digital. All are valid for v1.8 and trunk. The i<span> option and <subdir>! option are not valid earlier than v1.8. Richard
Awesome!! Do you know if i want to use only specific channel for call out then how do i write dialplan ? I want to use channel 25 specific for my extension DAHDI/25/XXXXXXXX or DAHDI/i2/25/XXXXXXXXXXX> Date: Wed, 8 Jun 2011 17:25:44 -0500 > From: rmudgett at digium.com > To: asterisk-users at lists.digium.com > Subject: Re: [asterisk-users] How asterisk use pri channel > > > We have two pri line and I want to see how asterisk distribute > > outgoing call per channels > > > > I meant it use first last channel 47 or it will use first channel? > > > > Or it will allocate dynamically ? > > Extracted from chan_dahdi.c: > > Dial(DAHDI/pseudo[/extension[/options]]) > Dial(DAHDI/<channel#>[c|r<cadance#>|d][/extension[/options]]) > Dial(DAHDI/<subdir>!<channel#>[c|r<cadance#>|d][/extension[/options]]) > Dial(DAHDI/i<span>[/extension[/options]]) > Dial(DAHDI/[i<span>-](g|G|r|R)<group#(0-63)>[c|r<cadance#>|d][/extension[/options]]) > > i - ISDN span channel restriction. > Used by CC to ensure that the CC recall goes out the same span. > Also to make ISDN channel names dialable when the sequence number > is stripped off. (Used by DTMF attended transfer feature.) > > g - channel group allocation search forward > G - channel group allocation search backward > r - channel group allocation round robin search forward > R - channel group allocation round robin search backward > > c - Wait for DTMF digit to confirm answer > r<cadance#> - Set distintive ring cadance number > d - Force bearer capability for ISDN/SS7 call to digital. > > All are valid for v1.8 and trunk. The i<span> option and <subdir>! option are not valid earlier than v1.8. > > Richard > > -- > _____________________________________________________________________ > -- 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/20110609/a2cc601e/attachment.htm>
I hope my understanding is not wrong! (1) DAHDI/i2/25/XXXXXXXXXXX, is not a valid format for Dial. Rather it should be DAHDI/i2/XXXXXXXXXXX and it would use a channel from span 2 (/etc/dahdi/system.conf) for outgoing call. (2) To dial from channel 25 , use DAHDI/25/XXXXXXXXXXX [SATISH] On Thu, Jun 9, 2011 at 9:39 AM, satish patel <satish_lx at hotmail.com> wrote:> Awesome!! > > Do you know if i want to use only specific channel for call out then how do > i write dialplan ? I want to use channel 25 specific for my extension > > DAHDI/25/XXXXXXXX or DAHDI/i2/25/XXXXXXXXXXX > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110609/46066285/attachment.htm>