[svn-commits] file: trunk r161787 - /trunk/main/pbx.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Mon Dec 8 12:47:33 CST 2008


Author: file
Date: Mon Dec  8 12:47:32 2008
New Revision: 161787

URL: http://svn.digium.com/view/asterisk?view=rev&rev=161787
Log:
Fix a regression introduced when the PBX timeouts were converted to milliseconds. collect_digits now gets milliseconds fed to it, not seconds.
(closes issue #14012)
Reported by: dveiga
Patches:
      14012.patch uploaded by bkruse (license 132)

Modified:
    trunk/main/pbx.c

Modified: trunk/main/pbx.c
URL: http://svn.digium.com/view/asterisk/trunk/main/pbx.c?view=diff&rev=161787&r1=161786&r2=161787
==============================================================================
--- trunk/main/pbx.c (original)
+++ trunk/main/pbx.c Mon Dec  8 12:47:32 2008
@@ -4116,7 +4116,7 @@
 	while (ast_matchmore_extension(c, c->context, buf, 1, c->cid.cid_num)) {
 		/* As long as we're willing to wait, and as long as it's not defined,
 		   keep reading digits until we can't possibly get a right answer anymore.  */
-		digit = ast_waitfordigit(c, waittime * 1000);
+		digit = ast_waitfordigit(c, waittime);
 		if (c->_softhangup == AST_SOFTHANGUP_ASYNCGOTO) {
 			c->_softhangup = 0;
 		} else {




More information about the svn-commits mailing list