Personal tools
HylaFAX The world's most advanced open source fax server

Editing Community

Warning: You are not logged in. Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Current revision Your text
Line 1: Line 1:
<center>'''Information and advice by the HylaFAX community'''</center>
<center>'''Information and advice by the HylaFAX community'''</center>
-
==Mailing Lists==
+
Please bear with me.  I am fairly new to Hylafax and, haven’t done any Linux/Unix scripting in a long time.  My company has a Hylafax server with 4 analog (dialup) modems.  When a fax is received, it is saved as a PDF file to a Windows share for distribution to different departments. This works well for routine faxes.  However,  some of the faxes we receive are considered urgent and require immediate attention.  Keep in mind that we receive between 6500 to 7000 faxes a month! So, when an urgent fax is received, it takes a long time to sort through the shared folder and find it.  With that in mind, I have dedicated 1 of the modems to receive urgent faxes only. My next step is to configure the FaxDispatch file to save faxes from this modem to a STAT folder (Windows share).  Below, is the FaxDispatch file I intend to use for this purpose.  It would be nice to have some more experienced eyes to look at it and let me know if you think it would work.  Thanks in advance for your help.
-
The HylaFAX mailing lists are the primary forum for community discussion. Users of HylaFAX are encouraged to subscribe to the hylafax-users list where they can ask questions, provide advice, and discuss the state of all things fax. Information on subscribing to and from the mailing lists is available on the [[Mailing Lists]] page.
+
-
===Mailing List Archive===
+
______________________________________________________________________________________
-
A complete archive of all mailing list postings going back to 1997 is available. You may [http://www.hylafax.org/archive/ browse] or [http://www.hylafax.org/archive/ search] the archives.
+
# Don't want emails
 +
NOTIFY_FAXMASTER="never"
 +
# New name
 +
n=`date +%Y.%m.%d.%H.%M.%S`
 +
# This section will save received faxes to a specified location depending upon
 +
# which modem received the fax.  
-
==Community Pages==
+
case "$DEVICE" in
-
HylaFAX.org invites all HylaFAX users to add their own information to the Community Pages. Some recommendations include: HylaFAX hardware/software reviews, advice, or desired HylaFAX features. But please feel free to add whatever relevant information you think other HylaFAX users would be interested in.
+
ttyS6)
 +
$TIFF2PDF -o $t.pdf $FILE
 +
/bin/mv $FILE /var/lib/samba/stat/$n;;
 +
ttyS5)
 +
$TIFF2PDF -o $t.pdf $FILE
 +
/bin/mv $FILE /var/lib/samba/fax/$n;;
 +
ttyS4)
 +
$TIFF2PDF -o $t.pdf $FILE
 +
/bin/mv $FILE /var/lib/samba/fax/$n;;
 +
ttyS1)
 +
$TIFF2PDF -o $t.pdf $FILE
 +
/bin/mv $FILE /var/lib/samba/fax/$n;;
 +
esac
-
'''**WARNING**''' Please note that this section of the site is subject to much less editorial review than the main [[Documentation]] section (for instance), and the information contained herein may occasionally need to be viewed with some skepticism. If you read anything that you believe is entirely incorrect or grossly misleading, please feel free to add a comment that says so, or change it to be more correct yourself!
+
# New destination
 +
# t=/var/lib/samba/fax/$n
-
* [[Reviews]]: Contributed reviews and/or rants of anything HylaFAX
+
# See interesting information, commands could `2>&1 >>` here too
-
* Advice
+
# set > /tmp/FaxDispatch.log
-
** [[Cheap Class1 Modems]]
+
 
-
* [[Wishlist]]: Things you would like to see added to HylaFAX
+
# make pdf in target
-
* [[Press]]: Please add any articles written about HylaFAX
+
# $TIFF2PDF -o $t.pdf $FILE
-
* Howtos
+
 
-
** [[Install Diva Server and HylaFAX from source on Ubuntu 9.0.4]]:
+
# We only copy to the fax location, archive this just in case
 +
/bin/cp $FILE $t.tif
 +
 
 +
# use this to move it instead, but then there is no archive and if
 +
#  a user deletes it from the Samba Share it's gone forever
 +
# /bin/mv $FILE /var/lib/samba/fax
 +
 
 +
# Make infos like faxrcvd
 +
if [ -f log/c$COMMID ]; then
 +
$SED -e '/-- data/d' \
 +
-e '/start.*timer/d' -e '/stop.*timer/d' \
 +
-e 's/=/=3D/g' \
 +
log/c$COMMID
 +
elif [ -n "$COMMID" ]; then
 +
echo "$DICTNOLOGAVAIL ($DICTCOMMID c$COMMID)."
 +
else
 +
echo "$DICTNOLOGAVAIL."
 +
fi

Please note that all contributions to hylafax.org are considered to be released under the Attribution-ShareAlike 2.5 (see hylafax.org:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!


Cancel | Editing help (opens in new window)


Powered by MediaWiki
Attribution-ShareAlike 2.5

Project hosted by iFAX Solutions