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: https://origsvn.digium.com/svn/asterisk/trunk@28657 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
parent
a7bd988e9b
commit
ccf365cc70
1 changed files with 2 additions and 2 deletions
|
@ -5626,7 +5626,7 @@ static int vm_execmain(struct ast_channel *chan, void *data)
|
||||||
|
|
||||||
case '5': /* Leave VoiceMail */
|
case '5': /* Leave VoiceMail */
|
||||||
if (ast_test_flag(vmu, VM_SVMAIL)) {
|
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) {
|
if (cmd == ERROR_LOCK_PATH) {
|
||||||
res = cmd;
|
res = cmd;
|
||||||
goto out;
|
goto out;
|
||||||
|
@ -5707,7 +5707,7 @@ static int vm_execmain(struct ast_channel *chan, void *data)
|
||||||
|
|
||||||
case '8':
|
case '8':
|
||||||
if (vms.lastmsg > -1) {
|
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) {
|
if (cmd == ERROR_LOCK_PATH) {
|
||||||
res = cmd;
|
res = cmd;
|
||||||
goto out;
|
goto out;
|
||||||
|
|
Loading…
Reference in a new issue