diff options
author | alecdavis <alecdavis@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-12-15 02:42:33 +0000 |
---|---|---|
committer | alecdavis <alecdavis@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-12-15 02:42:33 +0000 |
commit | e8c131f161de9d8891d44556a8716de156d6cbfa (patch) | |
tree | 145f0967a1b8b6824b7fb21ab0eabe6a3c4fd0df /apps | |
parent | 1fa9cb41ba667d96ba261d0100baa8c2b86651f5 (diff) |
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)
........
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.1@234895 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r-- | apps/app_directory.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/app_directory.c b/apps/app_directory.c index 9e51bf2d4..a3dda4f17 100644 --- a/apps/app_directory.c +++ b/apps/app_directory.c @@ -578,11 +578,11 @@ static int do_directory(struct ast_channel *chan, struct ast_config *vmcfg, stru } 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; |