[asterisk-users] How asterisk use pri channel

satish patel satish_lx at hotmail.com
Wed Jun 8 23:09:24 CDT 2011


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>


More information about the asterisk-users mailing list