Hi, first sorry for my bad English.
I'm working with FreePBX and everything work ok until some days.
When i try to update the module "Recordings" it show me this error: "I can not access the directory /var/lib/asterisk /sounds/custom/. Please make sure that it exists, and is writable by the web server."
When i try to see logs (in Tools->Asterisk Logfiles) only show "/var/log/asterisk /full - last 2000 lines
Redisplay Asterisk Full debug log (last 2000 lines)"
if you see complete dir more slow, you can see an empty space between "asterisk" and "/subdir" i think that here's the problem.
Music on hold don't show any files, i think that this is caused too by empty space in dir.
I check the file "amportal.conf" and all files that contains string "/var/lib/asterisk" and any have an empty space at the end.
I open too the "install.php" file in recordings module and change this:
$recordings_astsnd_path = trim(isset($asterisk_conf['astvarlibdir'])?$asterisk_conf['astvarlibdir']:'/var/lib/asterisk');
$recordings_astsnd_path .= trim("/sounds/");
(i add trim() to this lines) but don't fix it.
I don't know what do now...
Thanks