dahdi_genconf: Use 'dahdi_scan' to determine span_type for B410P cards.
authorShaun Ruffell <sruffell@digium.com>
Thu, 29 Sep 2011 17:00:51 +0000 (17:00 +0000)
committerShaun Ruffell <sruffell@digium.com>
Thu, 29 Sep 2011 17:00:51 +0000 (17:00 +0000)
commit250bc06238de9fb1bd0089e0852e6577ceedc31d
tree4f5e431943bb661a7dc40ac4d001bd79e8ba956e
parentdb9b649e030bfadbea87227ca7b38fbfa167ed88
dahdi_genconf: Use 'dahdi_scan' to determine span_type for B410P cards.

The wcb4xxp driver does not put enough information in the proc filesystem to
determine if the ports are in TE or NT mode.  Previously the ports would
always just setup the dahdi-channels.conf file in TE mode. After this change
the dahdi_scan utility is used to detect if the ports are in TE or NT mode and
setup dahdi-channels.conf appropriately.

Internal-Issue-ID: DAHTOOL-54
Signed-off-by: Shaun Ruffell <sruffell@digium.com>

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