[asterisk-commits] tilghman: branch 1.4 r47709 - /branches/1.4/apps/app_voicemail.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Wed Nov 15 14:56:55 MST 2006


Author: tilghman
Date: Wed Nov 15 15:56:55 2006
New Revision: 47709

URL: http://svn.digium.com/view/asterisk?view=rev&rev=47709
Log:
Fix ODBC_STORAGE for when context is NULL

Modified:
    branches/1.4/apps/app_voicemail.c

Modified: branches/1.4/apps/app_voicemail.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/apps/app_voicemail.c?view=diff&rev=47709&r1=47708&r2=47709
==============================================================================
--- branches/1.4/apps/app_voicemail.c (original)
+++ branches/1.4/apps/app_voicemail.c Wed Nov 15 15:56:55 2006
@@ -4049,7 +4049,7 @@
 		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



More information about the asterisk-commits mailing list