Nedi, My source file is attached. Make sure you set attributes correctly once you upload this (chmod 777 check_fax). This version fixes the problem with incorrect process ID in the /tmp/check_fax.pid file... so look inside this file and then compare to the output of ps command. The presence of 'sleep 30' in the ps output could have come from anywhere, no guarantee it was from check_fax. Both should be present if check_fax is running and currently sleeping.
Once you create rc.local in your mnt/kd directory, it should be editable from the 'edit' tab in the user interface. The backup folder is just in case something goes wrong with the pdf conversion and emailing... the tiff will be stored there. I don't receive a lot of faxes so I am not bothered by affect on the CF card write cycles. You can always modify the script to either not backup, or back it up somewhere else. David On Sun, Oct 2, 2011 at 9:34 AM, Nedi <n...@gmx.ch> wrote: > Hi David, > many Thanks for Your Help > > 1.) I don’t have rc.local in my mnt/kd or in my /etc folder. > I made one file in my /mnt/kd/rc.local right 755 > after manual running the script bring a fail at the line 35 "| \" > than I put „ | \ " at the end of application/pd > so: > > To: $email" | \ > mime-pack "New FAX received from $cid" "/tmp/fax-$shortf" > "application/pdf"| \ > sendmail -t > rm -f "/tmp/fax-$shortf" > > after that I think the script works but i don’t get any fax through > email. > > after ps in the console I see sleep 30 that show me that the script works > but ii'm not shure? > > 1457 root 23564 S /usr/sbin/asterisk -f -p -I -c > 1458 root 23564 S /usr/sbin/asterisk -f -p -I -c > 1459 root 920 S sleep 30 > 1460 root 4824 S /usr/sbin/sshd: root@pts/0 > 1466 root 1296 S -sh > 1470 root 928 R ps > > 2.) I have found that the process ID placed into the /tmp/check_fax.pid > could you send me your check_fax file to n...@gmx.ch > > 3.) what ist with the Backup Folder placed in mnt/kd/fax ? > I don’t have that folder and I created one, how is it with the CF Card and > write cycle if i get alot of faxes ? > > regards nedi > > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2dcopy2 > _______________________________________________ > Astlinux-users mailing list > Astlinux-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/astlinux-users > > Donations to support AstLinux are graciously accepted via PayPal to > pay...@krisk.org. >
check_fax
Description: Binary data
------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________ Astlinux-users mailing list Astlinux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/astlinux-users Donations to support AstLinux are graciously accepted via PayPal to pay...@krisk.org.