dahdi_genconf: Don't generate configurations that use channel 16 on E1 CAS
authorKinsey Moore <kmoore@digium.com>
Wed, 17 Nov 2010 15:32:52 +0000 (15:32 +0000)
committerKinsey Moore <kmoore@digium.com>
Wed, 17 Nov 2010 15:32:52 +0000 (15:32 +0000)
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.

Patch by dmartinez.

git-svn-id: http://svn.astersk.org/svn/dahdi/tools/trunk@9485 17933a7a-c749-41c5-a318-cba88f637d49

xpp/perl_modules/Dahdi/Config/Gen/System.pm

index d7c2523..94fbf2b 100644 (file)
@@ -77,7 +77,6 @@ sub gen_t1_cas($$) {
                        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};