|Summary:||ASTERISK-17794: pbx_spool does not detect callfiles over NFS|
|Reporter:||Florent Chauveau (mav3rick)||Labels:|
|Date Opened:||2011-05-04 08:47:05||Date Closed:||2011-09-16 14:15:28|
|Description:||My "outgoing" folder (/var/spool/asterisk) is a symbolic link to a NFS mounted directory.|
Callfiles written to the directory are not detected by Asterisk.
If I write a file in the directory from the server itself, the callfile is successfully detected. But if the file is written on the NFS directory by another server (mount point is shared among multiple servers), it's NOT detected.
This used to work in Asterisk 1.6.2.
****** ADDITIONAL INFORMATION ******
pbx6 asterisk # l /var/spool/asterisk/
drwxr-xr-x 2 root root 4.0K May 4 13:47 dictate/
drwxr-xr-x 2 root root 4.0K May 4 13:47 meetme/
drwxr-xr-x 2 root root 4.0K May 4 13:47 monitor/
lrwxrwxrwx 1 root root 40 May 4 15:30 outgoing -> /space/nfs/asterisk/spool/pbx6/outgoing//
drwxr-xr-x 2 root root 4.0K May 4 13:47 system/
drwxr-xr-x 2 root root 4.0K May 4 13:47 tmp/
drwxr-xr-x 3 root root 4.0K May 4 14:01 voicemail/
|Comments:||By: Sean Bright (seanbright) 2011-05-04 16:39:10|
inotify is now used for picking up call files which apparently doesn't work with NFS.
To work around it you could revert to polling by specifying the --without-inotify option to configure before building.
By: Florent Chauveau (mav3rick) 2011-05-05 04:54:39
I confirm it's working without inotify.
By: Sean Bright (seanbright) 2011-09-16 14:15:16.640-0500
I've added a note to the relevant UPGRADE files.