<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 22, 2014 at 3:37 PM, Jan Svoboda <span dir="ltr"><<a href="mailto:jan@mluv.cz" target="_blank">jan@mluv.cz</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
Hello,
</div><div><br></div><div>the “recording” directory was missing, and creating it in "/var/spool/asterisk/recording” did solve the issue, thanks.</div><div><br></div><div>Still not sure if this is the correct behaviour. I have tried it before giving absolute path like “/tmp/test”, expecting it would try to create the file in “/tmp”, not in "/var/spool/asterisk/recording/tmp”.</div><div><br></div><div>So right now, passing “/tmp/test” (absolute) and “tmp/test” (relative) paths have the same effect. </div><span class="HOEnZb"><font color="#888888">
<div><div><br></div><div><span style="font-size:10pt"></span></div></div></font></span></blockquote><div><br></div><div>That's the expected behavior.<br><br></div><div>Allowing remote users to create files in random locations on the server is generally a bad idea. The paths that you specify are all relative to /var/spool/asterisk/recording (or rather, the Asterisk recording directory).<br><br></div><div>Matt<br clear="all"></div></div><br>-- <br><div dir="ltr"><div>Matthew Jordan<br></div><div>Digium, Inc. | Engineering Manager</div><div>445 Jan Davis Drive NW - Huntsville, AL 35806 - USA</div><div>Check us out at: <a href="http://digium.com" target="_blank">http://digium.com</a> & <a href="http://asterisk.org" target="_blank">http://asterisk.org</a></div></div>
</div></div>