[dahdi-commits] dahdi/tools.git branch "master" updated.

SVN commits to the DAHDI project dahdi-commits at lists.digium.com
Wed Jan 10 23:53:53 CST 2018


branch "master" has been updated
       via  75eedd6fa6dbd25c0edc689dd2568b04a6c5b1ba (commit)
       via  b54ec6efd3e2e315833148d06232734fa97047a7 (commit)
      from  754d981621557bae4a48e3a7d641ef86f1dffd41 (commit)

Summary of changes:
 .gitignore             |    1 +
 xpp/dahdi_registration |    6 ++++++
 2 files changed, 7 insertions(+)


- Log -----------------------------------------------------------------
commit 75eedd6fa6dbd25c0edc689dd2568b04a6c5b1ba
Author: Tzafrir Cohen <tzafrir.cohen at xorcom.com>
Date:   Thu Jan 11 15:50:28 2018 +0200

    Ignore quilt .pc directory, used in deb packaging
    
    Debian packaging uses quilt to manage patches. Book-keeping for them is
    done using quilt (either directly, or in a compatible format), and
    tracked in the directory .pc .
    
    Signed-off-by: Tzafrir Cohen <tzafrir.cohen at xorcom.com>

diff --git a/.gitignore b/.gitignore
index 87e8496..8779b93 100644
--- a/.gitignore
+++ b/.gitignore
@@ -12,6 +12,7 @@
 .libs
 .dirstamp
 .version
+/.pc
 Makefile
 Makefile.in
 auxdir/

commit b54ec6efd3e2e315833148d06232734fa97047a7
Author: Tzafrir Cohen <tzafrir.cohen at xorcom.com>
Date:   Sun Dec 24 17:59:49 2017 +0200

    xpp: dahdi_registration: wait at end of assignments
    
    Wait for assindments to end only after calling all of them.
    Otherwise we are likely to get a timeout with multiple Astribanks.
    
    Signed-off-by: Tzafrir Cohen <tzafrir.cohen at xorcom.com>

diff --git a/xpp/dahdi_registration b/xpp/dahdi_registration
index 2772e00..29e180f 100755
--- a/xpp/dahdi_registration
+++ b/xpp/dahdi_registration
@@ -109,9 +109,15 @@ foreach my $xbus (Dahdi::Xpp::xbuses($sorter)) {
 			system @cmd;
 			warn "Failed '@cmd' (status=$?)\n" if $?;
 		}
+	}
+}
+if (defined($on) && $on) {
+	if ($opts{'R'} || ! $default_auto_assign) {
 		# wait for UDEV to do its stuff
 		system "dahdi_waitfor_span_assignments assigned";
 	}
+}
+foreach my $xbus (Dahdi::Xpp::xbuses($sorter)) {
 	foreach my $xpd (Dahdi::Xpp::Xpd::telephony_devs($xbus->xpds())) {
 		my $spanno = $xpd->xpd_getattr('span');
 		myprintf "\t%-10s: ", $xpd->fqn;

-----------------------------------------------------------------------


-- 
dahdi/tools.git



More information about the dahdi-commits mailing list