[asterisk-commits] alecdavis: branch 1.6.1 r234895 - in /branches/1.6.1: ./ apps/app_directory.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Dec 14 20:42:35 CST 2009


Author: alecdavis
Date: Mon Dec 14 20:42:33 2009
New Revision: 234895

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=234895
Log:
Merged revisions 234893 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
  r234893 | alecdavis | 2009-12-15 15:29:50 +1300 (Tue, 15 Dec 2009) | 9 lines
  
  fixes escape to extensions 'o' and 'a', for digits '0' and '*'
  
  (closes issue #16437)
  Reported by: alecdavis
  Tested by: alecdavis
  Patch
  	extension_o_a_fix.diff.txt uploaded by alecdavis (license 585)
........

Modified:
    branches/1.6.1/   (props changed)
    branches/1.6.1/apps/app_directory.c

Propchange: branches/1.6.1/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.

Modified: branches/1.6.1/apps/app_directory.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.1/apps/app_directory.c?view=diff&rev=234895&r1=234894&r2=234895
==============================================================================
--- branches/1.6.1/apps/app_directory.c (original)
+++ branches/1.6.1/apps/app_directory.c Mon Dec 14 20:42:33 2009
@@ -578,11 +578,11 @@
 	}
 
 	if (digit == '0' && !goto_exten(chan, dialcontext, "o")) {
-		return 0;
+		return digit;
 	}
 
 	if (digit == '*' && !goto_exten(chan, dialcontext, "a")) {
-		return 0;
+		return digit;
 	}
 
 	ext[0] = digit;




More information about the asterisk-commits mailing list