Index: apps/app_voicemail.c =================================================================== --- apps/app_voicemail.c (revision 127434) +++ apps/app_voicemail.c (working copy) @@ -3151,7 +3151,7 @@ imap_delete_old_greeting(fn, vms); } - make_email_file(p, myserveremail, vmu, msgnum, vmu->context, vmu->mailbox, S_OR(chan->cid.cid_num, NULL), S_OR(chan->cid.cid_name, NULL), fn, intro, fmt, duration, 1, chan, NULL, 1, flag); + make_email_file(p, myserveremail, vmu, msgnum, vmu->context, vmu->mailbox, chan->cid.cid_num, chan->cid.cid_name, fn, intro, fmt, duration, 1, chan, NULL, 1, flag); /* read mail file to memory */ len = ftell(p); rewind(p);