summaryrefslogtreecommitdiff
path: root/apps/app_voicemail.c
diff options
context:
space:
mode:
authorTilghman Lesher <tilghman@meg.abyt.es>2006-11-15 21:57:57 +0000
committerTilghman Lesher <tilghman@meg.abyt.es>2006-11-15 21:57:57 +0000
commit3fee20d25dd66f37a3d1ba06612d95e8cc191f34 (patch)
tree962f9e77f2a65deb3f34cec2757a2bb1027c4cea /apps/app_voicemail.c
parent0f15e43add18b8dfdd4da95afa5fdda1451d6892 (diff)
Merged revisions 47709 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r47709 | tilghman | 2006-11-15 15:56:55 -0600 (Wed, 15 Nov 2006) | 2 lines Fix ODBC_STORAGE for when context is NULL ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47710 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_voicemail.c')
-rw-r--r--apps/app_voicemail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c
index c82dab88a..25d977ff2 100644
--- a/apps/app_voicemail.c
+++ b/apps/app_voicemail.c
@@ -4063,7 +4063,7 @@ static int forward_message(struct ast_channel *chan, char *context, struct vm_st
long duration = 0;
RETRIEVE(dir, curmsg);
- cmd = vm_forwardoptions(chan, sender, dir, curmsg, vmfmts, context, record_gain, &duration, vms);
+ cmd = vm_forwardoptions(chan, sender, dir, curmsg, vmfmts, S_OR(context, "default"), record_gain, &duration, vms);
if (!cmd) {
AST_LIST_TRAVERSE_SAFE_BEGIN(&extensions, vmtmp, list) {
#ifdef IMAP_STORAGE