[Home]

Summary:ASTERISK-06736: Need to add a better diagnostic message when mkstemp() fails
Reporter:salaud (salaud)Labels:
Date Opened:2006-04-08 15:19:37Date Closed:2006-04-09 13:54:19
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Applications/app_voicemail
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:Line 1667 of app_voicemail.c

I chased my tail for a long time because when the mkstemp(temp) fails it ends up outputting ONLY the line at 1799 "Unable to launch" with no specifics as to whethere it is a permissions, file not found, etc.

I'm suggesting that an additional line be written around 1674 ala

else { ast_log(LOG_WARNING, "Unable to create file in temp directory '%s'\n", mailcmd); }
Comments:By: Olle Johansson (oej) 2006-04-09 13:43:25

Committed fix to svn trunk. Thank you!

By: Olle Johansson (oej) 2006-04-09 13:43:25

Committed fix to svn trunk. Thank you!

By: Olle Johansson (oej) 2006-04-09 13:54:18

Rev 18603.