<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Call Recordings do not play or download (separate FOP2 server)]]></title><description><![CDATA[<p dir="auto">We have installed FOP2 version 2.31.32 on CentOS 7.9.2009, a separate server from our PBX. which is running FreePBX version 12 on CentOS SHMZ 6.5<br />
After difficulties getting Call History to display, I verified that both config.php files agreed as to the mysql user and then granted permissions to the database for local and remote user.<br />
Now we see call history in FOP2. I can see call recordings in FOP2 as well.<br />
Where we have difficulty is that playing a recording does nothing, and attempting to download the recording results in "Error: File not found"<br />
We mounted /var/spool/asterisk/monitor/ on the FOP2 server using NFS but the same problem exists, although the directory is visible and can be browsed in SSH.</p>
<p dir="auto">How do we get that FOP2 Recordings panel to play or download the recordings?</p>
]]></description><link>http://localhost:4567/topic/3099/call-recordings-do-not-play-or-download-separate-fop2-server</link><generator>RSS for Node</generator><lastBuildDate>Tue, 27 Oct 2026 00:39:05 GMT</lastBuildDate><atom:link href="http://localhost:4567/topic/3099.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 10 Oct 2022 16:11:27 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Call Recordings do not play or download (separate FOP2 server) on Sun, 29 Jun 2025 07:11:58 GMT]]></title><description><![CDATA[<p dir="auto">It's was the version issue.</p>
]]></description><link>http://localhost:4567/post/12549</link><guid isPermaLink="true">http://localhost:4567/post/12549</guid><dc:creator><![CDATA[delphin81]]></dc:creator><pubDate>Sun, 29 Jun 2025 07:11:58 GMT</pubDate></item><item><title><![CDATA[Reply to Call Recordings do not play or download (separate FOP2 server) on Mon, 16 Oct 2023 16:09:42 GMT]]></title><description><![CDATA[<p dir="auto">Important note for setups with FOP2 server set up on a separate server from the PBX:<br />
create a directory on the PBX, fop2 at /usr/local/fop2 and copy the script in that folder:<br />
/usr/local/fop2/recording_fop2.pl<br />
The script must run on the server where asterisk is running.</p>
]]></description><link>http://localhost:4567/post/12548</link><guid isPermaLink="true">http://localhost:4567/post/12548</guid><dc:creator><![CDATA[sigmarelocation]]></dc:creator><pubDate>Mon, 16 Oct 2023 16:09:42 GMT</pubDate></item><item><title><![CDATA[Reply to Call Recordings do not play or download (separate FOP2 server) on Tue, 25 Oct 2022 14:48:23 GMT]]></title><description><![CDATA[<p dir="auto">While reading this, keep in mind that this is probably not needed at all if FreePBX or asterisk is installed on both servers. We wanted one server to have only FOP2 and apache running, so if you have that then this will apply. Also, the name parsing issues are solved by installing FOP2 version 2.31.33 or higher.</p>
<p dir="auto">I fixed the recordings and voicemail panel access issues with these changes:<br />
(I suggest reviewing NFS and id ampping documentation before making changes.)<br />
On the PBX, in Idmapd.conf  I added static mapping and then mapped “apache@localdomain = asterisk”<br />
On the FOP2 server, I added static mapping and then mapped “asterisk@localdomain = apache”<br />
Both servers had host names under the same public domain, but idmapd.conf was set to use localdomain.</p>
<p dir="auto">While testing solutions, I had added the group “PBXshare” to both servers, made sure the guid matched, then added asterisk on the PBX to that group. Later, on the FOP2 server I added a group for asterisk and made that match the gid on the PBX. I added the Fop2 apache user to that FOP2 group. The PBX share group may not be needed for the solution, but I left it in place for now.</p>
<p dir="auto">The end result is that the PBX sees apache:apache from the FOP2 server as asterisk:asterisk.<br />
Now all admins can see recordings and play them or download them. All users can view and play or download voicemail. All users can see their own recordings, play and download them. The user restrictions within the FOP2 recordings panel are applied from fop2, not the NFS share.</p>
<p dir="auto">The next and last issue was the filename is not parsed correctly to insert the extension number and context into the database table. See my forum post entry where this was solved:<br />
<a href="https://forum.fop2.com/discussion/5030/call-recording-name-format-incompatible-with-freepbx-15#latest" rel="nofollow ugc">https://forum.fop2.com/discussion/5030/call-recording-name-format-incompatible-with-freepbx-15#latest</a></p>
]]></description><link>http://localhost:4567/post/12547</link><guid isPermaLink="true">http://localhost:4567/post/12547</guid><dc:creator><![CDATA[sigmarelocation]]></dc:creator><pubDate>Tue, 25 Oct 2022 14:48:23 GMT</pubDate></item><item><title><![CDATA[Reply to Call Recordings do not play or download (separate FOP2 server) on Tue, 11 Oct 2022 18:42:47 GMT]]></title><description><![CDATA[<p dir="auto">These other posts were helpful on the subject of Recordings panel in FOP2:<br />
_<a href="https://forum.fop2.com/discussion/comment/14270#Comment_14270" rel="nofollow ugc">https://forum.fop2.com/discussion/comment/14270#Comment_14270</a><br />
<a href="https://forum.fop2.com/discussion/1816/call-recordings" rel="nofollow ugc">https://forum.fop2.com/discussion/1816/call-recordings</a><br />
<a href="https://forum.fop2.com/discussion/990/recording-tab-under-the-phonebook-looks-faulty_" rel="nofollow ugc">https://forum.fop2.com/discussion/990/recording-tab-under-the-phonebook-looks-faulty_</a></p>
<p dir="auto">These were helpful with the NFS configuration, troubleshooting, and differences in setup on the two versions of CentOS:<br />
_<a href="https://nfs.sourceforge.net/nfs-howto/ar01s07.html" rel="nofollow ugc">https://nfs.sourceforge.net/nfs-howto/ar01s07.html</a><br />
<a href="https://softpanorama.org/Net/Application_layer/NFS/Troubleshooting/nfsv4_mounts_files_as_nobody.shtml" rel="nofollow ugc">https://softpanorama.org/Net/Application_layer/NFS/Troubleshooting/nfsv4_mounts_files_as_nobody.shtml</a><br />
<a href="https://www.thegeekdiary.com/nfsv4-mountpoint-shows-incorrect-ownerships-as-nobodynobody-in-centos-rhel/" rel="nofollow ugc">https://www.thegeekdiary.com/nfsv4-mountpoint-shows-incorrect-ownerships-as-nobodynobody-in-centos-rhel/</a><br />
<a href="https://www.golinuxcloud.com/configure-nfs-server-client-rhel-centos-7-8/" rel="nofollow ugc">https://www.golinuxcloud.com/configure-nfs-server-client-rhel-centos-7-8/</a><br />
<a href="https://ostechnix.com/setup-nfs-server-in-centos-rhel-scientific-linux-6-3-step-by-step/_" rel="nofollow ugc">https://ostechnix.com/setup-nfs-server-in-centos-rhel-scientific-linux-6-3-step-by-step/_</a></p>
]]></description><link>http://localhost:4567/post/12546</link><guid isPermaLink="true">http://localhost:4567/post/12546</guid><dc:creator><![CDATA[sigmarelocation]]></dc:creator><pubDate>Tue, 11 Oct 2022 18:42:47 GMT</pubDate></item><item><title><![CDATA[Reply to Call Recordings do not play or download (separate FOP2 server) on Tue, 11 Oct 2022 18:31:17 GMT]]></title><description><![CDATA[<p dir="auto">I tracked the error message down to this section of var/www/html/fop2/download.php<br />
<em>if( $filename2 == "" ) {<br />
echo "ERROR: download file NOT SPECIFIED.";<br />
exit;<br />
} elseif ( ! file_exists( $filename2 ) ) {<br />
echo "ERROR: File not found.";<br />
exit;<br />
}</em></p>
<p dir="auto">Checking the NFS share ownership I see user and group of  "nobody":<br />
<em>[root@sigmafop ~]# ls -l /var/spool/asterisk<br />
total 8<br />
drwxrwxr-x 3 nobody nobody 4096 Oct 10 18:19 monitor<br />
drwxrwxr-x 4 nobody nobody 4096 Jun  4  2021 voicemail<br />
[root@sigmafop ~]#</em></p>
<p dir="auto">Further checking, there are multiple NFS versions active in the process list on the server:<br />
[root@localhost ~]# rpcinfo -p<br />
program vers proto   port  service<br />
100000    4   tcp    111  portmapper<br />
100000    3   tcp    111  portmapper<br />
100000    2   tcp    111  portmapper<br />
100000    4   udp    111  portmapper<br />
100000    3   udp    111  portmapper<br />
100000    2   udp    111  portmapper<br />
100011    1   udp    875  rquotad<br />
100011    2   udp    875  rquotad<br />
100011    1   tcp    875  rquotad<br />
100011    2   tcp    875  rquotad<br />
100005    1   udp  53299  mountd<br />
100005    1   tcp  38070  mountd<br />
100005    2   udp  39056  mountd<br />
100005    2   tcp  51792  mountd<br />
100005    3   udp  58335  mountd<br />
100005    3   tcp  40259  mountd<br />
100003    2   tcp   2049  nfs<br />
100003    3   tcp   2049  nfs<br />
100003    4   tcp   2049  nfs<br />
100227    2   tcp   2049  nfs_acl<br />
100227    3   tcp   2049  nfs_acl<br />
100003    2   udp   2049  nfs<br />
100003    3   udp   2049  nfs<br />
100003    4   udp   2049  nfs<br />
100227    2   udp   2049  nfs_acl<br />
100227    3   udp   2049  nfs_acl<br />
100021    1   udp  36225  nlockmgr<br />
100021    3   udp  36225  nlockmgr<br />
100021    4   udp  36225  nlockmgr<br />
100021    1   tcp  49899  nlockmgr<br />
100021    3   tcp  49899  nlockmgr<br />
100021    4   tcp  49899  nlockmgr</p>
<p dir="auto">Also, there are several versions of NFS in use on the client:<br />
[root@sigmafop ~]# rpcinfo -p<br />
program vers proto   port  service<br />
100000    4   tcp    111  portmapper<br />
100000    3   tcp    111  portmapper<br />
100000    2   tcp    111  portmapper<br />
100000    4   udp    111  portmapper<br />
100000    3   udp    111  portmapper<br />
100000    2   udp    111  portmapper<br />
100024    1   udp  51861  status<br />
100024    1   tcp  39364  status<br />
100005    1   udp  20048  mountd<br />
100005    1   tcp  20048  mountd<br />
100005    2   udp  20048  mountd<br />
100005    2   tcp  20048  mountd<br />
100005    3   udp  20048  mountd<br />
100005    3   tcp  20048  mountd<br />
100003    3   tcp   2049  nfs<br />
100003    4   tcp   2049  nfs<br />
100227    3   tcp   2049  nfs_acl<br />
100003    3   udp   2049  nfs<br />
100003    4   udp   2049  nfs<br />
100227    3   udp   2049  nfs_acl<br />
100021    1   udp  60286  nlockmgr<br />
100021    3   udp  60286  nlockmgr<br />
100021    4   udp  60286  nlockmgr<br />
100021    1   tcp  39903  nlockmgr<br />
100021    3   tcp  39903  nlockmgr<br />
100021    4   tcp  39903  nlockmgr</p>
<p dir="auto">In conclusion, this last error with playback and download appears to be an issue with NFS permissions on the recording and voicemail directories and files. Does anyone have further advice? I am going to try disabling all but NFS4 and changing the domain of the server to match that of the client.</p>
]]></description><link>http://localhost:4567/post/12545</link><guid isPermaLink="true">http://localhost:4567/post/12545</guid><dc:creator><![CDATA[sigmarelocation]]></dc:creator><pubDate>Tue, 11 Oct 2022 18:31:17 GMT</pubDate></item></channel></rss>