Fix small app_dial issue (bug #3368)
authorMark Spencer <markster@digium.com>
Tue, 18 Jan 2005 16:47:33 +0000 (16:47 +0000)
committerMark Spencer <markster@digium.com>
Tue, 18 Jan 2005 16:47:33 +0000 (16:47 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4837 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_dial.c

index 6e1b5d8..810fec7 100755 (executable)
@@ -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;
                        }
                }