diff options
author | alecdavis <alecdavis@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-12-15 02:40:06 +0000 |
---|---|---|
committer | alecdavis <alecdavis@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-12-15 02:40:06 +0000 |
commit | e25537d3fbcc156fbb43ed46c4b5e8ddfb6a10fc (patch) | |
tree | 8a076d241943d65c89d0185ada4121b976feb8bb | |
parent | 206cfd2715985c5193d08a0f27bc31935e890c67 (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.0@234894 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 f9abb3366..9a891f7b2 100644 --- a/apps/app_directory.c +++ b/apps/app_directory.c @@ -673,11 +673,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; |