mirror of
https://github.com/asterisk/asterisk.git
synced 2026-01-06 18:13:45 +00:00
Fix small app_dial issue (bug #3368)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4837 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -207,8 +207,8 @@ static int ast_onedigit_goto(struct ast_channel *chan, char *context, char exten
|
||||
ast_explicit_goto(chan, chan->context, rexten, pri-1);
|
||||
return 1;
|
||||
} else if (!ast_strlen_zero(chan->macrocontext)) {
|
||||
if (ast_exists_extension(chan, chan->context, rexten, pri, cid)) {
|
||||
ast_explicit_goto(chan, chan->context, rexten, pri-1);
|
||||
if (ast_exists_extension(chan, chan->macrocontext, rexten, pri, cid)) {
|
||||
ast_explicit_goto(chan, chan->macrocontext, rexten, pri-1);
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user