diff options
author | Mark Spencer <markster@digium.com> | 2005-01-18 16:47:33 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2005-01-18 16:47:33 +0000 |
commit | e983edd221401774fc26b126259830856d819033 (patch) | |
tree | f7411e42b0e56075fa2982229898ec1ba7bea5ab /apps | |
parent | d4c553c20284df6ac20e8ca8273db3adaea92897 (diff) |
Fix small app_dial issue (bug #3368)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4837 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps')
-rwxr-xr-x | apps/app_dial.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/app_dial.c b/apps/app_dial.c index 6e1b5d836..810fec762 100755 --- a/apps/app_dial.c +++ b/apps/app_dial.c @@ -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; } } |