aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_minivm.c
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2009-01-08 21:40:28 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2009-01-08 21:40:28 +0000
commit6803cdbeed3fdf15caef81a3214a01074f2df7d6 (patch)
tree25d052e82d9d85ccbe1e9c8de98b76cddfb2b703 /apps/app_minivm.c
parentdeb05e73fc7ba1f605d525531bc7c14f5aca870b (diff)
Fix variables to comply with documentation changes
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@167837 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_minivm.c')
-rw-r--r--apps/app_minivm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/app_minivm.c b/apps/app_minivm.c
index 136a4ab87..605466803 100644
--- a/apps/app_minivm.c
+++ b/apps/app_minivm.c
@@ -2241,7 +2241,7 @@ static int minivm_accmess_exec(struct ast_channel *chan, void *data)
}
if (error) {
- pbx_builtin_setvar_helper(chan, "MINIVM_ACCMESS_STATUS", "FAILED");
+ pbx_builtin_setvar_helper(chan, "MVM_ACCMESS_STATUS", "FAILED");
return -1;
}
@@ -2254,7 +2254,7 @@ static int minivm_accmess_exec(struct ast_channel *chan, void *data)
}
if (ast_strlen_zero(domain) || ast_strlen_zero(username)) {
ast_log(LOG_ERROR, "Need username@domain as argument. Sorry. Argument 0 %s\n", argv[0]);
- pbx_builtin_setvar_helper(chan, "MINIVM_ACCMESS_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, "MINIVM_NOTIFY_STATUS", "SUCCESS");
+ pbx_builtin_setvar_helper(chan, "MVM_NOTIFY_STATUS", "SUCCESS");
/* Ok, we're ready to rock and roll. Return to dialplan */
return 0;