Hi Nicolás,
Digging up an old post here, but it seems that the issue identified in this post is not wholly resolved :(
I found this post by googling this site for the same issue - namely, a 'no way' message when a user tried to play or download a recording.
I am using:
FOP 2.27
Asterisk 11.7.0
FreePBX 2.11.0.24
Running on CentOS 6.5
I see that, in FOP2.27 you have incorporated the coding change mentioned in this post into the download.php file
(for the benefit of other readers, this file is located here: /var/www/html/fop2/download.php )
Even with this change, I still experienced the issue. I have looked at my config, and the FOP2 recordings are no longer being stored in /var/spool/asterisk/monitor/fop2 ;
instead, they are just being stored in /var/spool/asterisk/monitor
accordingly, I changed this line in download.php:
if(!stristr($_SESSION[MYAP]['vfile'],$_SESSION[MYAP]['vpath']) && !stristr($_SESSION[MYAP]['vfile'],'/var/spool/asterisk/monitor/fop2')) {
to remove the 'fop2', becoming:
if(!stristr($_SESSION[MYAP]['vfile'],$_SESSION[MYAP]['vpath']) && !stristr($_SESSION[MYAP]['vfile'],'/var/spool/asterisk/monitor')) {
This now works. 8-)
There is a sub-issue remaining, which I will post in a separate post below.