diff options
author | alecdavis <alecdavis@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-12-15 02:29:50 +0000 |
---|---|---|
committer | alecdavis <alecdavis@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-12-15 02:29:50 +0000 |
commit | d2b7fda4975e8f1ecb0173d7bfa1241339de11c9 (patch) | |
tree | 6f8435bc9cb3d9e84bc2cfc1d77ebdbbe8d346a9 /apps/app_directory.c | |
parent | 6cb3e6142f39174ea24c85c298523bbc2902d6d7 (diff) |
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/trunk@234893 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_directory.c')
-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 deca03922..27ce632ae 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; |