summaryrefslogtreecommitdiff
path: root/xpp/dahdi_genconf
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>2011-06-16 09:35:32 +0000
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>2011-06-16 09:35:32 +0000
commite6cb9220161b1c4cd06533c9572e6285b4bf630c (patch)
treebf43aa1df79cf4cea04ff3f08bf186e22107bf52 /xpp/dahdi_genconf
parentae034293d9af863e3bb629ded097124684253aef (diff)
dahdi_genconf: apply termtype to Digium HA8 BRI
Make the pri_termtype setting in genconf_parameters apply to any BRI/PRI carddeclared as "soft NT". ATM, this is only the Xorcom E1/T1 device and the Digium HA8 (BRI) module of the TDM card. Signed-off-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com> Acked-by: Shaun Ruffell <sruffell@digium.com> git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@9979 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'xpp/dahdi_genconf')
-rwxr-xr-xxpp/dahdi_genconf2
1 files changed, 1 insertions, 1 deletions
diff --git a/xpp/dahdi_genconf b/xpp/dahdi_genconf
index 49b9325..ac0acf9 100755
--- a/xpp/dahdi_genconf
+++ b/xpp/dahdi_genconf
@@ -38,7 +38,7 @@ sub spans_prep($@) {
my $gconfig = shift || die;
my @spans = @_;
foreach my $span (@spans) {
- if($span->is_pri) {
+ if($span->is_pri || $span->is_bri) {
$span->pri_set_fromconfig($gconfig);
}
}