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@xorcom.com> git-svn-id: http://svn.astersk.org/svn/dahdi/tools/trunk@10266 17933a7a-c749-41c5-a318-cba88f637d49
This commit is contained in:
parent
5efd590aef
commit
a81a43c9b6
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user