diff options
-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; |