On Mon, Sep 22, 2014 at 3:37 PM, Jan Svoboda <jan@xxxxxxx> wrote:
Hello,the “recording” directory was missing, and creating it in "/var/spool/asterisk/recording” did solve the issue, thanks.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”.So right now, passing “/tmp/test” (absolute) and “tmp/test” (relative) paths have the same effect.
That's the expected behavior.
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).
Matt
--
Matthew Jordan
Digium, Inc. | Engineering Manager
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: http://digium.com & http://asterisk.org
_______________________________________________ asterisk-app-dev mailing list asterisk-app-dev@xxxxxxxxxxxxxxxx http://lists.digium.com/cgi-bin/mailman/listinfo/asterisk-app-dev