Minor fix in directory app (bug #2322)
[asterisk/asterisk.git] / apps / app_directory.c
index 6d41744..e0a962f 100755 (executable)
@@ -184,7 +184,7 @@ static int play_mailbox_owner(struct ast_channel *chan, char *context, char *dia
                                                ast_log(LOG_WARNING,
                                                        "Can't find extension '%s' in context '%s'.  "
                                                        "Did you pass the wrong context to Directory?\n",
-                                                       ext, context);
+                                                       ext, dialcontext);
                                                res = -1;
                                        }
                                        break;