[asterisk-dev] E1 CAS dchan=16 [was: Re: [svn-commits] kmoore: tools/trunk r9485 - /tools/trunk/xpp/perl_modules/Dahdi/Config/Gen/]
Tzafrir Cohen
tzafrir.cohen at xorcom.com
Wed Nov 17 22:24:00 CST 2010
Hi,
On Wed, Nov 17, 2010 at 03:32:57PM -0000, SVN commits to the Digium repositories wrote:
> Author: kmoore
> Date: Wed Nov 17 09:32:52 2010
> New Revision: 9485
>
> URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=9485
> Log:
> dahdi_genconf: Don't generate configurations that use channel 16 on E1 CAS
>
> Attempting to use channel 16 on E1 CAS is disallowed since that channel is
> reserved for RBS signaling. Configurations should not be generated that
> attempt to use it.
>
> Closes DAHDI-763.
>
> Modified:
> tools/trunk/xpp/perl_modules/Dahdi/Config/Gen/System.pm
>
> Modified: tools/trunk/xpp/perl_modules/Dahdi/Config/Gen/System.pm
> URL: http://svnview.digium.com/svn/dahdi/tools/trunk/xpp/perl_modules/Dahdi/Config/Gen/System.pm?view=diff&rev=9485&r1=9484&r2=9485
> ==============================================================================
> --- tools/trunk/xpp/perl_modules/Dahdi/Config/Gen/System.pm (original)
> +++ tools/trunk/xpp/perl_modules/Dahdi/Config/Gen/System.pm Wed Nov 17 09:32:52 2010
> @@ -77,7 +77,6 @@
> my $idle_bits = $gconfig->{'r2_idle_bits'};
> $chan_range = Dahdi::Config::Gen::bchan_range($span);
> printf "cas=%s:$idle_bits\n", $chan_range;
> - printf "dchan=%d\n", $span->dchan()->num();
> } elsif ($pri_connection_type eq 'CAS' ) {
> my $type = ($termtype eq 'TE') ? 'FXO' : 'FXS';
> my $sig = $gconfig->{'dahdi_signalling'}{$type};
Before the change, the following configuration would be generated for a
span (in this case: channel for span 1)
cas=1-15,17-32,1101
dchan=16
That second line was added later on as I noticed that without it some
things break (things to do with the 16-th time slot. I'll try to figure
them out later).
Could you please elaborate on the bug DAHDI-763 ?
--
Tzafrir Cohen
icq#16849755 jabber:tzafrir.cohen at xorcom.com
+972-50-7952406 mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir
More information about the asterisk-dev
mailing list