Page 1 of 1

soxmix error and /var/spool.../monitor no such directory err

PostPosted: Fri Oct 06, 2006 3:38 pm
by devafree
Hello
I am using 2.0.1 version astguiclient and 1.2.12.1 .I am getting the following error (when I run the .pl from the comand line also same error comes).
From: root@abc.com
Subject: cron: /usr/share/astguiclient/AST_CRON_mix_recordings_BASIC.pl
/usr/bin/soxmix: Unknown output file format for '/var/spool/asterisk/monitor/monitor': Filetype was not specified
mv: cannot move `/var/spool/asterisk/monitor/monitor' to `/var/spool/asterisk/monitor/ORIG/monitor': No such file or directory
mv: cannot move `/var/spool/asterisk/monitor/monitor' to `/var/spool/asterisk/monitor/ORIG/monitor': No such file or directory
mv: cannot move `/var/spool/asterisk/monitor/monitor' to `/var/spool/asterisk/monitor/DONE/monitor': No such file or directory

I had read about this on one post , but i am not able to search it now. Kindly advise what to do.

Thanks,
Devafree

PostPosted: Fri Oct 06, 2006 4:02 pm
by kchung
Please paste your astguiclient.conf and dir listing for /var/spool/asterisk/monitor

Have you made any changes to AST_CRON_mix_recordings_BASIC.pl?

PostPosted: Fri Oct 06, 2006 6:16 pm
by gerski
try recording one conversation and see if you can still see the error... im having the same problem when i have no recordings yet.

output

PostPosted: Tue Oct 10, 2006 5:44 pm
by devafree
cat /etc/astguiclient.conf
# astguiclient.conf - configuration elements for the astguiclient package
# this is the astguiclient configuration file
# all comments will be lost if you run install.pl again

PATHhome => /usr/share/astguiclient
PATHlogs => /var/log/astguiclient
PATHagi => /var/lib/asterisk/agi-bin
PATHweb => /usr/local/apache2/htdocs
PATHsounds => /var/lib/asterisk/sounds
PATHmonitor => /var/spool/asterisk/monitor

VARserver_ip => xx.xx.xx.xx
VARDB_server => localhost
VARDB_database => asterisk
VARDB_user => cron
VARDB_pass => 1234
VARDB_port => 3306

-----------------------------
ls /var/spool/asterisk/monitor/
20061010-223612_xxxxxxxxxxx-in.wav 20061011-040740_xxxxxxxxxxx-in.wav
20061010-223612_xxxxxxxxxxx-out.wav 20061011-040740_2xxxxxxxxxx-out.wav
20061010-223615_xxxxxxxxxxx-in.wav 20061011-040742_xxxxxxxxxxx-in.wav
20061010-223615_xxxxxxxxxxx-out.wav
20061011-040723_2023212294-in.wav DONE/
20061011-040723_2023212294-out.wav ORIG/
20061011-040737_2023685947-in.wav new/
20061011-040737_2023685947-out.wav wav.raw
-----------------------------------

The recordings are Ok , but I am getting the error still.
Regards
devafree