summaryrefslogtreecommitdiff
path: root/xpp/dahdi_registration
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>2011-07-10 16:25:18 +0000
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>2011-07-10 16:25:18 +0000
commitb3d32705799cdab58feadbe4a606002ea8e2e98e (patch)
tree230fa1501b539a6a9e36c5976c135f1ba47391be /xpp/dahdi_registration
parent94f5ca620248b21b13763d4d1838c6a45e2e9165 (diff)
xpp: support loading Octasic EC firmware
Echo Cancellation firmware is loaded by xpp/stribank_hexload (Using the oct612x code). * astribank_hexload: options -O/-o/-A for handling the Octasic echo cancellation firmware. * astribank_tool: report that. * xpp_fxloader: Run astribank_hexload, if needed. * dahdi_perl: The EC module is an extra XPD, but not a "telephony device" and hence not a span. Deal with that. * waitfor_xpds: may need to wait a bit longer for firmware loading. Signed-off-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com> git-svn-id: http://svn.asterisk.org/svn/dahdi/tools/trunk@10032 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'xpp/dahdi_registration')
-rwxr-xr-xxpp/dahdi_registration3
1 files changed, 2 insertions, 1 deletions
diff --git a/xpp/dahdi_registration b/xpp/dahdi_registration
index 87b89f1..8b73aea 100755
--- a/xpp/dahdi_registration
+++ b/xpp/dahdi_registration
@@ -15,6 +15,7 @@ use Dahdi;
use Dahdi::Span;
use Dahdi::Xpp;
use Dahdi::Xpp::Xbus;
+use Dahdi::Xpp::Xpd;
use Getopt::Std;
sub usage {
@@ -64,7 +65,7 @@ foreach my $xbus (Dahdi::Xpp::xbuses($sorter)) {
myprintf "%-10s\t%3s-%s\t%s\n",
$xbus->name, $xbus->xpporder, $xbus->label, $xbus->connector;
next unless $xbus->status eq 'CONNECTED';
- foreach my $xpd ($xbus->xpds()) {
+ foreach my $xpd (Dahdi::Xpp::Xpd::telephony_devs($xbus->xpds())) {
my $prev = $xpd->dahdi_registration($on);
if(!defined($prev)) { # Failure
printf "%s: Failed %s\n", $xpd->fqn, $!;