projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
836ea36
)
Merged revisions 74047 via svnmerge from
author
Mark Michelson
<mmichelson@digium.com>
Mon, 9 Jul 2007 14:58:42 +0000
(14:58 +0000)
committer
Mark Michelson
<mmichelson@digium.com>
Mon, 9 Jul 2007 14:58:42 +0000
(14:58 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r74047 | mmichelson | 2007-07-09 09:57:41 -0500 (Mon, 09 Jul 2007) | 4 lines
Fixed a logic error in leave_voicemail. Pass the mailbox instead of the context to inbox_count when the context is "default."
(closes issue #10135, reported by yannj, repaired by me)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@74048
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
apps/app_voicemail.c
patch
|
blob
|
history
diff --git
a/apps/app_voicemail.c
b/apps/app_voicemail.c
index
dceb2fb
..
a33d9a7
100644
(file)
--- a/
apps/app_voicemail.c
+++ b/
apps/app_voicemail.c
@@
-3054,7
+3054,7
@@
static int leave_voicemail(struct ast_channel *chan, char *ext, struct leave_vm_
if (strcmp(vmu->context, "default"))
snprintf(ext_context, sizeof(ext_context), "%s@%s", ext, vmu->context);
else
- ast_copy_string(ext_context, vmu->context, sizeof(ext_context));
+ ast_copy_string(ext_context, vmu->mailbox, sizeof(ext_context));
if (ast_test_flag(options, OPT_BUSY_GREETING)) {
snprintf(prefile, sizeof(prefile), "%s%s/%s/busy", VM_SPOOL_DIR, vmu->context, ext);
} else if (ast_test_flag(options, OPT_UNAVAIL_GREETING)) {