diff options
author | alecdavis <alecdavis@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-12-15 02:44:36 +0000 |
---|---|---|
committer | alecdavis <alecdavis@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-12-15 02:44:36 +0000 |
commit | 27a594703450095d6627c62321f4c3f1055d14e8 (patch) | |
tree | 217276186e981861bd8b5be7c625015fe1e80667 | |
parent | 5851fde8a4084879fff1c96c5bfba0d9ff189b13 (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.2@234896 f38db490-d61c-443f-a65b-d21fe96a405b
-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 4960d9fd9..5e8ee4a04 100644 --- a/apps/app_directory.c +++ b/apps/app_directory.c @@ -652,11 +652,11 @@ static int do_directory(struct ast_channel *chan, struct ast_config *vmcfg, stru 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; |