Merged revisions 168497 via svnmerge from

https://origsvn.digium.com/svn/asterisk/trunk

........
r168497 | oej | 2009-01-12 17:31:27 +0100 (MÃ¥n, 12 Jan 2009) | 2 lines

Better to use the proper app name

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@168500 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.6.1
Olle Johansson 17 years ago
parent 45340d2526
commit b1a8c36bb0

@ -2047,7 +2047,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;
}
@ -2078,7 +2078,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;

Loading…
Cancel
Save