dect
/
asterisk
Archived
13
0
Fork 0

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
This commit is contained in:
alecdavis 2009-12-15 02:29:50 +00:00
parent 6cb3e6142f
commit d2b7fda497
1 changed files with 2 additions and 2 deletions

View File

@ -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;