From: Olle Johansson Date: Mon, 12 Jan 2009 16:31:27 +0000 (+0000) Subject: Better to use the proper app name X-Git-Tag: 1.6.2.0-beta1~468 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=64e564aa5532f8032d56852f24eea47e5f466570;p=thirdparty%2Fasterisk.git Better to use the proper app name git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@168497 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_minivm.c b/apps/app_minivm.c index 6054668031..c526758486 100644 --- a/apps/app_minivm.c +++ b/apps/app_minivm.c @@ -2261,7 +2261,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, "MVM_NOTIFY_STATUS", "FAILED"); + pbx_builtin_setvar_helper(chan, "MVM_ACCMESS_STATUS", "FAILED"); return -1; } @@ -2292,7 +2292,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, "MVM_NOTIFY_STATUS", "SUCCESS"); + pbx_builtin_setvar_helper(chan, "MVM_ACCMESS_STATUS", "SUCCESS"); /* Ok, we're ready to rock and roll. Return to dialplan */ return 0;