Hmm. Call recording stopped working after 7th April (probably the date I upgraded to latest version of VPBX?)
Tried vitalpbx –build-db then vitalpbx –dump-conf neither of which reported anything amiss.
But log file shows:
[2019-04-26 15:15:43] VERBOSE[C-00000014] app_mixmonitor.c: Begin MixMonitor Recording SIP/210-00000029 [2019-04-26 15:15:43] WARNING[C-00000014] file.c: Unable to open file /var/spool/asterisk/monitor/2019/04/26/1556255740.84.wav: No such file or directory [2019-04-26 15:15:43] ERROR[C-00000014] app_mixmonitor.c: Cannot open /var/spool/asterisk/monitor/2019/04/26/1556255740.84.wav [2019-04-26 15:15:48] VERBOSE[C-00000014] app_mixmonitor.c: End MixMonitor Recording SIP/210-00000029
Looking at folder permissions:
/var/spool/asterisk/monitor – asterisk:asterisk
/var/spool/asterisk/monitor/2019 – root:root
/var/spool/asterisk/monitor/2019/04 – root:root
So I recursively changed those permissions to asterisk:asterisk, did another vitalpbx –dump-conf, and recording is now working.