As simple as I presummed it should be, I have been having some odd trouble on a recent freepbx install. The client had requested all their departments calls, in and out, to be recorded. 20 phones in total. The second drive that I set PBX via advanced settings to is a 1TB drive. Formatted and empty. I can create files to it, granted as root, however in the asterisk logs, it says it is failing to save the files, as the location does not exist.
For testing purposes only, thinking maybe it was a permissions issue, I chmod the drive as 777, however no change on recordings to be saved.
The location the recordings should save to, /mnt/recordings/
Error on each call:
[2018-12-04 22:23:24] VERBOSE[C-000001cc] app_mixmonitor.c: Begin MixMonitor Recording SIP/GXWT10-In-0000089f
[2018-12-04 22:23:24] WARNING[C-000001cc] file.c: Unable to open file /mnt/recordings/2018/12/04/in-1231231234-1231231234-20181204-222324-1543962204.2207.wav: No such file or directory
[2018-12-04 22:23:24] ERROR[C-000001cc] app_mixmonitor.c: Cannot open /mnt/recordings/2018/12/04/in-1231231234-1231231234-20181204-222324-1543962204.2207.wav