2333
2343
if ((p = vm_mkftemp(tmp)) == NULL) {
2334
2344
ast_log(LOG_WARNING, "Unable to store '%s' (can't create temporary file)\n", fn);
2337
2349
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, fmt, duration, 1, chan, NULL, 1);