[svn-commits] tilghman: branch 1.4 r194137 - /branches/1.4/main/pbx.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue May 12 19:52:14 CDT 2009


Author: tilghman
Date: Tue May 12 19:52:03 2009
New Revision: 194137

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=194137
Log:
Fix logic for how to proceed with a single digit extension.
(closes issue #15091)
 Reported by: andrew
 Patches: 
       20090512__issue15091.diff.txt uploaded by tilghman (license 14)
 Tested by: andrew

Modified:
    branches/1.4/main/pbx.c

Modified: branches/1.4/main/pbx.c
URL: http://svn.asterisk.org/svn-view/asterisk/branches/1.4/main/pbx.c?view=diff&rev=194137&r1=194136&r2=194137
==============================================================================
--- branches/1.4/main/pbx.c (original)
+++ branches/1.4/main/pbx.c Tue May 12 19:52:03 2009
@@ -5751,7 +5751,7 @@
 	 * gone immediately to the "i" extension, but will now need to wait for a
 	 * timeout.
 	 */
-	if ((exten[0] = res) && (ast_exists_extension(chan, args.context, exten, 1, chan->cid.cid_num) || !ast_matchmore_extension(chan, args.context, exten, 1, chan->cid.cid_num))) {
+	if ((exten[0] = res) && !ast_matchmore_extension(chan, args.context, exten, 1, chan->cid.cid_num)) {
 		snprintf(chan->exten, sizeof(chan->exten), "%c", res);
 		ast_copy_string(chan->context, args.context, sizeof(chan->context));
 		chan->priority = 0;




More information about the svn-commits mailing list