[svn-commits] kmoore: branch 1.6.2 r237924 - /branches/1.6.2/apps/app_test.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Jan 5 17:10:58 CST 2010


Author: kmoore
Date: Tue Jan  5 17:10:54 2010
New Revision: 237924

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=237924
Log:
Add a wait to ensure TestServer thinks it has finished sending the final digit.

This was previously committed to 1.4, 1.6.0, 1.6.1, and trunk just after 1.6.2 was created (and missed).  1.6.2 also needs this patch to resolve the bug.

(closes issue #16550)
Reported by: opticron
Patches:
      apptest.diff uploaded by opticron (license 267)

Modified:
    branches/1.6.2/apps/app_test.c

Modified: branches/1.6.2/apps/app_test.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.2/apps/app_test.c?view=diff&rev=237924&r1=237923&r2=237924
==============================================================================
--- branches/1.6.2/apps/app_test.c (original)
+++ branches/1.6.2/apps/app_test.c Tue Jan  5 17:10:54 2010
@@ -297,6 +297,9 @@
 					res = -1;
 			}
 			if (!res) {
+				res = ast_safe_sleep(chan, 1000);
+			}
+			if (!res) {
 				/* Step 12: Hangup! */
 				ast_debug(1, "TestClient: 12.  Hangup\n");
 			}




More information about the svn-commits mailing list