[asterisk-commits] pbx/call-files: Cleanup AGI connections. (testsuite[master])

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Jun 16 10:00:12 CDT 2015


Matt Jordan has submitted this change and it was merged.

Change subject: pbx/call-files: Cleanup AGI connections.
......................................................................


pbx/call-files: Cleanup AGI connections.

Cleanup AGI connections.  No delay is needed as we are only using
AGI to confirm that the call-file generated a call. This allows
all calls to end so Asterisk can shutdown cleanly.

Change-Id: I8739bdb9bc0f17986fbbdb7a29f82d17d95e5638
---
M tests/pbx/call-files/run-test
1 file changed, 2 insertions(+), 0 deletions(-)

Approvals:
  Matt Jordan: Looks good to me, approved; Verified
  Joshua Colp: Looks good to me, but someone else must approve



diff --git a/tests/pbx/call-files/run-test b/tests/pbx/call-files/run-test
index cc506ef..12b68f5 100755
--- a/tests/pbx/call-files/run-test
+++ b/tests/pbx/call-files/run-test
@@ -40,6 +40,8 @@
     def fastagi_connect(self, agi):
         LOGGER.info("sample%s.call file executed." % (self.test))
 
+        agi.finish()
+
         if self.test < self.num_tests:
             self.launch_test()
         else: self.finalize()

-- 
To view, visit https://gerrit.asterisk.org/663
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I8739bdb9bc0f17986fbbdb7a29f82d17d95e5638
Gerrit-PatchSet: 2
Gerrit-Project: testsuite
Gerrit-Branch: master
Gerrit-Owner: Corey Farrell <git at cfware.com>
Gerrit-Reviewer: Corey Farrell <git at cfware.com>
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Matt Jordan <mjordan at digium.com>



More information about the asterisk-commits mailing list