From eeac5f539e12926f5830ddbb042204fcb1f40c6d Mon Sep 17 00:00:00 2001 From: Olle Johansson Date: Mon, 12 Jan 2009 16:55:11 +0000 Subject: [PATCH] Merged revisions 168497 via svnmerge from https://origsvn.digium.com/svn/asterisk/trunk MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ........ r168497 | oej | 2009-01-12 17:31:27 +0100 (MÃ¥n, 12 Jan 2009) | 2 lines Better to use the proper app name in the STATUS variable ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@168499 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_minivm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/app_minivm.c b/apps/app_minivm.c index 6dc52f2bbf..cce2fafb5e 100644 --- a/apps/app_minivm.c +++ b/apps/app_minivm.c @@ -2024,7 +2024,7 @@ static int minivm_accmess_exec(struct ast_channel *chan, void *data) if(!(vmu = find_account(domain, username, TRUE))) { /* We could not find user, let's exit */ ast_log(LOG_WARNING, "Could not allocate temporary memory for '%s@%s'\n", username, domain); - pbx_builtin_setvar_helper(chan, "MINIVM_NOTIFY_STATUS", "FAILED"); + pbx_builtin_setvar_helper(chan, "MINIVM_ACCMESS_STATUS", "FAILED"); return -1; } @@ -2055,7 +2055,7 @@ static int minivm_accmess_exec(struct ast_channel *chan, void *data) if(ast_test_flag(vmu, MVM_ALLOCED)) free_user(vmu); - pbx_builtin_setvar_helper(chan, "MINIVM_NOTIFY_STATUS", "SUCCESS"); + pbx_builtin_setvar_helper(chan, "MINIVM_ACCMESS_STATUS", "SUCCESS"); /* Ok, we're ready to rock and roll. Return to dialplan */ return 0;