[asterisk-commits] alecdavis: trunk r234855 - /trunk/apps/app_directory.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Dec 14 18:54:47 CST 2009


Author: alecdavis
Date: Mon Dec 14 18:54:44 2009
New Revision: 234855

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=234855
Log:
ast_stream_and_wait(chan,dir-usingkeypad) didn't capture the dialled DTMF.

  (closes issue #16409)
  Reported by: alecdavis
  Tested by: alecdavis
  Patch
	bug_16409.diff.txt uploaded by alecdavis (license 585)


Modified:
    trunk/apps/app_directory.c

Modified: trunk/apps/app_directory.c
URL: http://svnview.digium.com/svn/asterisk/trunk/apps/app_directory.c?view=diff&rev=234855&r1=234854&r2=234855
==============================================================================
--- trunk/apps/app_directory.c (original)
+++ trunk/apps/app_directory.c Mon Dec 14 18:54:44 2009
@@ -808,7 +808,7 @@
 					"dir-firstlast", AST_DIGIT_ANY);
 			}
 			if (!res) {
-				ast_stream_and_wait(chan, "dir-usingkeypad", AST_DIGIT_ANY);
+				res = ast_stream_and_wait(chan, "dir-usingkeypad", AST_DIGIT_ANY);
 			}
 		}
 		ast_stopstream(chan);




More information about the asterisk-commits mailing list