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.

Patch by dmartinez.


git-svn-id: http://svn.astersk.org/svn/dahdi/tools/trunk@9485 17933a7a-c749-41c5-a318-cba88f637d49
This commit is contained in:
Kinsey Moore 2010-11-17 15:32:52 +00:00
parent e38b85fde9
commit 88035ea78c

View File

@ -77,7 +77,6 @@ sub gen_t1_cas($$) {
my $idle_bits = $gconfig->{'r2_idle_bits'}; my $idle_bits = $gconfig->{'r2_idle_bits'};
$chan_range = Dahdi::Config::Gen::bchan_range($span); $chan_range = Dahdi::Config::Gen::bchan_range($span);
printf "cas=%s:$idle_bits\n", $chan_range; printf "cas=%s:$idle_bits\n", $chan_range;
printf "dchan=%d\n", $span->dchan()->num();
} elsif ($pri_connection_type eq 'CAS' ) { } elsif ($pri_connection_type eq 'CAS' ) {
my $type = ($termtype eq 'TE') ? 'FXO' : 'FXS'; my $type = ($termtype eq 'TE') ? 'FXO' : 'FXS';
my $sig = $gconfig->{'dahdi_signalling'}{$type}; my $sig = $gconfig->{'dahdi_signalling'}{$type};