From 68c35fa1ec23763fea236fb47c8dcd4cb073b415 Mon Sep 17 00:00:00 2001 From: Shaun Ruffell Date: Fri, 26 Feb 2010 16:45:06 +0000 Subject: dahdi_cfg, dahdi_genconf: Add support for Hx8 series cards. git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@8125 a0bf4364-ded3-4de4-8d8a-66a801d63aff --- xpp/perl_modules/Dahdi/Config/Gen/System.pm | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'xpp/perl_modules/Dahdi/Config/Gen/System.pm') diff --git a/xpp/perl_modules/Dahdi/Config/Gen/System.pm b/xpp/perl_modules/Dahdi/Config/Gen/System.pm index d1dfe40..d7c2523 100644 --- a/xpp/perl_modules/Dahdi/Config/Gen/System.pm +++ b/xpp/perl_modules/Dahdi/Config/Gen/System.pm @@ -112,6 +112,10 @@ sub gen_digital($$$) { $span_crc4 = (defined $span_crc4) ? ",$span_crc4" : ''; my $span_yellow = $span->yellow(); $span_yellow = (defined $span_yellow) ? ",$span_yellow" : ''; + my $span_termination = $span->termination(); + $span_termination = (defined $span_termination) ? ",$span_termination" : ''; + my $span_softntte = $span->softntte(); + $span_softntte = (defined $span_softntte) ? ",$span_softntte" : ''; # "MFC/R2 does not normally use CRC4" # FIXME: a finer way to override: if ($gconfig->{'pri_connection_type'} eq 'R2') { @@ -119,14 +123,16 @@ sub gen_digital($$$) { $framing = 'cas'; } $timing = ($termtype eq 'NT') ? 0 : $bri_te_last_timing++; - printf "span=%d,%d,%d,%s,%s%s%s\n", + printf "span=%d,%d,%d,%s,%s%s%s%s%s\n", $num, $timing, $lbo, $framing, $coding, $span_crc4, - $span_yellow; + $span_yellow, + $span_termination, + $span_softntte; printf "# termtype: %s\n", lc($termtype); my $dchan_type; if ($span->is_bri()) { -- cgit v1.2.3