Hi,

Самусенко Андрей wrote:
AnswerMachine.cpp: a_msg.open(msg_fn_tmp,AmAudioFile::Write,true) create tmp file.
where did you find this code? in master and 1.2 I don't find it, the msg_filename is with extension (and this code has been in production for years without filling up tmp dir).

Stefan



Real file name generated by tmpfile(). It is enough to pass "."+AnswerMachineFactory::RecFileExt in the 1st argument . Later unlink(msg_fn_tmp.c_str()) should "return" ENOENT, but i had not checked. If did not remove other file.

_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev



--
Stefan Sayer
VoIP Services Consulting and Development

Warschauer Str. 24
10243 Berlin

tel:+491621366449
sip:[email protected]
email/xmpp:[email protected]


_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev

Reply via email to