[svn-commits] alecdavis: branch 1.6.2 r234896 - in /branches/1.6.2: ./ apps/app_directory.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Mon Dec 14 20:44:38 CST 2009


Author: alecdavis
Date: Mon Dec 14 20:44:36 2009
New Revision: 234896

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=234896
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.2/   (props changed)
    branches/1.6.2/apps/app_directory.c

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

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




More information about the svn-commits mailing list