[Asterisk-Users] "System" command causes core dump Warning: Newbie
help :)
Asterisk
asterisk at dotr.com
Tue Feb 15 11:45:12 MST 2005
Further to this, I've now noticed that the soxmix program is now not
working either : the -in and -out files are still there .. but no
errrors in the debug log
from the debug file:
Feb 15 18:35:56 DEBUG[866]: monitor executing ( nice -n 19 soxmix
"/var/spool/asterisk/monitor/agent-6005-1108492527-18733-in.gsm"
"/var/spool/asterisk/monitor/agent-6005-1108492527-18733-out.gsm"
"/var/spool/asterisk/monitor/agent-6005-1108492527-18733.gsm" && rm -f
"/var/spool/asterisk/monitor/agent-6005-1108492527-18733-"* ) &
from the directory listing afterwards ...
# ls -l /var/spool/asterisk/monitor/agent-6005-1108492527-18733*
-rw-r--r-- 1 root root 47355 Feb 15 18:35
/var/spool/asterisk/monitor/agent-6005-1108492527-18733-in.gsm
-rw-r--r-- 1 root root 47454 Feb 15 18:35
/var/spool/asterisk/monitor/agent-6005-1108492527-18733-out.gsm
The files are still there, and the mixed file is not. Which indicates
that soxmix is failing as well.
Things worked fine with both the mixing and faxing until yesterday. I'm
trying to see what has changed (although * is CVS-HEAD from well before
that)
Julian
Asterisk wrote:
> With the following program:
>
> #!/bin/sh
> # mailfax: program to email received fax as pdf
>
> FAXFILE=$1
> RECIPIENT=$2
> FAXSENDER=$3
> FAXID=`basename $1|cut -d "." -f1,2`.pdf
> FAXTXT=`basename $1|cut -d "." -f1,2`.txt
>
> tiff2pdf $FAXFILE > $FAXID
>
> sendfax.pl $FAXID $RECIPIENT $FAXSENDER $FAXFILE
> #end of program
>
> If I execute the following from the command line:
>
> mailfax /var/spool/asterisk/fax/1108470308.13060.tif
> somebody at company.co.uk 0178933333
>
> everything works just fine, and the .pdf comes through as an email
> attachment
>
> If I execute the following from the dialplan (* is CVS-HEAD 02/02/05)
>
> exten => 666,1,System(mailfax
> /var/spool/asterisk/fax/1108470308.13060.tif somebody at company.co.uk
> 0178933333)
>
> then the tiff2pdf program generates a core dump.
>
> Why would this be the case ? What can I start looking for ?
>
> Julian
>
>
>
>
>
>
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
More information about the asterisk-users
mailing list