diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-05-19 16:04:35 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-05-19 16:04:35 +0000 |
commit | 5bf1fe818e199ae972f489da1329428f3ccea861 (patch) | |
tree | 7cde9222c9f773abd5b0bf8dc02f596d65f3ee4b /apps | |
parent | f3e0d61c304ad1d1e4968c38a9e2f1090e3945d9 (diff) |
Merged revisions 28651 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r28651 | file | 2006-05-19 13:03:33 -0300 (Fri, 19 May 2006) | 2 lines
When forwarding messages use the context that the active voicemail user was found in. (issue #7010)
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@28657 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r-- | apps/app_voicemail.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index 5702354db..59786c3b0 100644 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -5626,7 +5626,7 @@ static int vm_execmain(struct ast_channel *chan, void *data) case '5': /* Leave VoiceMail */ if (ast_test_flag(vmu, VM_SVMAIL)) { - cmd = forward_message(chan, context, vms.curdir, vms.curmsg, vmu, vmfmts, 1, record_gain); + cmd = forward_message(chan, vmu->context, vms.curdir, vms.curmsg, vmu, vmfmts, 1, record_gain); if (cmd == ERROR_LOCK_PATH) { res = cmd; goto out; @@ -5707,7 +5707,7 @@ static int vm_execmain(struct ast_channel *chan, void *data) case '8': if (vms.lastmsg > -1) { - cmd = forward_message(chan, context, vms.curdir, vms.curmsg, vmu, vmfmts, 0, record_gain); + cmd = forward_message(chan, vmu->context, vms.curdir, vms.curmsg, vmu, vmfmts, 0, record_gain); if (cmd == ERROR_LOCK_PATH) { res = cmd; goto out; |