[Pkg-voip-commits] [dahdi-tools] 53/285: xpp_order generator: ignore EC XPD

tzafrir at debian.org tzafrir at debian.org
Thu Jul 7 19:18:28 UTC 2016


This is an automated email from the git hooks/post-receive script.

tzafrir pushed a commit to branch master
in repository dahdi-tools.

commit a81a43c9b615b370714bcd6b2ed10ceb174991c5
Author: Tzafrir Cohen <tzafrir.cohen at xorcom.com>
Date:   Sun Oct 23 14:28:40 2011 +0000

    xpp_order generator: ignore EC XPD
    
    The xpp_order configuration generator should only loop over telephony
    devices, not all spans.
    
    Signed-off-by: Tzafrir Cohen <tzafrir.cohen at xorcom.com>
    
    git-svn-id: http://svn.astersk.org/svn/dahdi/tools/trunk@10266 17933a7a-c749-41c5-a318-cba88f637d49
---
 xpp/perl_modules/Dahdi/Config/Gen/Xpporder.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xpp/perl_modules/Dahdi/Config/Gen/Xpporder.pm b/xpp/perl_modules/Dahdi/Config/Gen/Xpporder.pm
index e7bfb72..146b097 100644
--- a/xpp/perl_modules/Dahdi/Config/Gen/Xpporder.pm
+++ b/xpp/perl_modules/Dahdi/Config/Gen/Xpporder.pm
@@ -30,7 +30,7 @@ sub get_sorted_xbuses(@) {
 	my @sorted_xbuses;
 	foreach my $xbus (@xbuses) {
 		my $last_spanno;
-		foreach my $xpd ($xbus->xpds) {
+		foreach my $xpd (Dahdi::Xpp::Xpd::telephony_devs($xbus->xpds())) {
 			my $spanno = $xpd->spanno;
 			if(!$spanno) {
 				printf STDERR "%s: Is not registered. Skipping.\n", $xpd->fqn;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-voip/dahdi-tools.git



More information about the Pkg-voip-commits mailing list