but that gives me:
[Sep 17 15:54:29] WARNING[3461]: file.c:976 ast_writefile: Unable to open file /var/spool/asterisk/monitor/20070917/15.54_to_00234847442xx6.wav: No such file or directory
[Sep 17 15:54:29] ERROR[3461]: app_mixmonitor.c:194 mixmonitor_thread: Cannot open /var/spool/asterisk/monitor/20070917/15.54_to_00234847442xx.wav
You can try use the System() command to create the directory and then save the file with MixMonitor, check here for examples about System(): voip-info.org/wiki/index.php ā¦ cmd+System .
[quote=āmbruniā]You can try use the System() command to create the directory and then save the file with MixMonitor, check here for examples about System(): voip-info.org/wiki/index.php ā¦ cmd+System .
Regards.
Marco Bruni[/quote]
Yes Marco, I have been thinking about the same.
It could be that the application MixMonitor canāt create directories
But I really want to find out why
exten => s,1,Monitor(/var/spool/asterisk/monitor/${STRFTIME(${EPOCH},%Y%m%d)}/${STRFTIME(${EPOCH},%H)}.${STRFTIME(${EPOCH},%M)}to${ARG1}.wav)
is NOT working correctly :
Am I doing somehing wrong? Is there something wrong with the OS (Debian 4.0r1) or is it a bug ?
I donāt think itās Debian problem or a bug, I just looked in the source code of the app_mixmonitor and seems to me it doesnāt try to create a non existant directory so I think if you need it you have to create it with System().
[quote=āmbruniā]I donāt think itās Debian problem or a bug, I just looked in the source code of the app_mixmonitor and seems to me it doesnāt try to create a non existant directory so I think if you need it you have to create it with System().
Regards.
Marco Bruni[/quote]
Well Marco I agree with that.
Butā¦ Monitor creates a directory!!.
It only refuses to merge the two recorded files. (and it should do that with the m option.
I have been using this application (successfully) for a very long time.
Hi, i had a similar issue with the following āErrorā message: ERROR[18014]: app_mixmonitor.c:288 mixmonitor_thread: Cannot open /var/spool/asterisk/monitor/l/<phone-number>-1478529366.105898-all.wav
and i was getting it on Asterisk 1.4.44 every single second. What i did is to create the directory manually which mix_monitor couldnāt open (the ālā (itās a lowercase L) and give it the proper permissions). When i checked again the asterisk CLI the message disappeared! I donāt know if this is a proper solutionā¦ but it worked for me.