dahdi_genconf: Assume spans with unknown term types are software selectable.
authorShaun Ruffell <sruffell@digium.com>
Thu, 29 Sep 2011 17:00:46 +0000 (17:00 +0000)
committerShaun Ruffell <sruffell@digium.com>
Thu, 29 Sep 2011 17:00:46 +0000 (17:00 +0000)
commitdb9b649e030bfadbea87227ca7b38fbfa167ed88
tree19109541114dce30baef10d27a42ddac7803f20f
parent2d576dcea044f8480af037c360d697586e37f34e
dahdi_genconf: Assume spans with unknown term types are software selectable.

Resolves a regression on the 2.5 branch that would result in:

  $ dahdi_genconf
  dahdi_genconf: missing default group (termtype=UNKNOWN)

E1 / T1 spans use software configuration to set CPE / NET mode. This
patch will just assume that a termtype is software selectable if it was
"UNKNOWN" when first scanning the span.

Internal-Issue-ID: DAHTOOL-55
Signed-off-by: Shaun Ruffell <sruffell@digium.com>
Tested-by: David Purdue <support@noojee.com.au>

git-svn-id: http://svn.astersk.org/svn/dahdi/tools/trunk@10213 17933a7a-c749-41c5-a318-cba88f637d49
xpp/perl_modules/Dahdi/Span.pm