HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [hylafax-users] routing faxes to certain folders



This is what I'm getting at /var/log/messages:



Dec  6 11:40:33 xen0vm0 HylaFAX[11905]: HylaFAX INET Protocol Server:
restarted.
Dec  6 11:40:33 xen0vm0 FaxGetty[11490]: CAUGHT SIGNAL 15
Dec  6 11:40:33 xen0vm0 FaxGetty[11490]: CLOSE /dev/ttyS0
Dec  6 11:40:33 xen0vm0 FaxGetty[11910]: OPEN /dev/ttyS0  HylaFAX (tm)
Version 4.2.5
Dec  6 11:40:43 xen0vm0 FaxGetty[11910]: MODEM ROCKWELL RC288DPi/Zoom
ACF3_V1.900M-V92- A Z201
Dec  6 11:41:25 xen0vm0 FaxGetty[11910]: ANSWER: FAX CONNECTION  DEVICE
'/dev/ttyS0'
Dec  6 11:41:55 xen0vm0 FaxGetty[11916]: RECV FAX (000000027): from
123456789, page 1 in 0:28, INF, R16 x 15.4 line/mm, 2-D MMR, 14400 bit/s
Dec  6 11:41:55 xen0vm0 FaxGetty[11917]: RECV FAX (000000027):
recvq/fax000000010.tif from 3177458695, route to <unspecified>, 1 pages in
0:30
Dec  6 11:41:56 xen0vm0 FaxGetty[11910]: RECV FAX: bin/faxrcvd
"recvq/fax000000010.tif" "ttyS0" "000000027" ""
Dec  6 11:42:07 xen0vm0 FaxGetty[11910]: MODEM ROCKWELL RC288DPi/Zoom
ACF3_V1.900M-V92- A Z201

The received faxes always go into /var/spool/hylafax/recq folder only.  I
have checked /tmp.  It's as if it's not seeing FaxDispatch or there is
another problem.


 trdavis@xxxxxxxxxxxxx





                                                                           
             "Jamin W.                                                     
             Collins"                                                      
             <jcollins@asgards                                          To 
             realm.net>                Todd R Davis                        
             Sent by:                  <TRDavis@xxxxxxxxxxxxx>             
             hylafax-users-bou                                          cc 
             nce@xxxxxxxxxxx           hylafax-users@xxxxxxxxxxx           
                                                                   Subject 
                                       Re: [hylafax-users] routing faxes   
             12/06/2006 11:14          to certain folders                  
             AM                                                            
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           




Todd R Davis wrote:
> I am trying to figure out how to direct faxes to certain folders based on
> the call number sent. I have tried using the FaxDispatch file but haven't
> found a way to send to certain folders. Only to e-mail addresses.  I'm
> wondering if I need to modify the faxrcvd script to do this and if so how
> to modify it.   Or is this even an option in hylafax? Thanks in advance.

Something like the following in should work:

case "$CALLID4" in
         1234)
                 cp $FILE /tmp/$FILENAME.tif
                 chmod a+r /tmp/$FILENAME.tif
         ;;
esac


--
Jamin W. Collins

____________________ HylaFAX(tm) Users Mailing List _______________________
  To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
 On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null
  *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*





----------------------------------------------------------------------------------------------------

CONFIDENTIALITY NOTICE

This e-mail and the files transmitted with it are intended solely for the
use of addressee.  If you are not the intended recipient, or a person
responsible for delivering this e-mail to the intended recipient, you are
hereby notified that you have received this e-mail in error and that any
use, dissemination, distribution, forwarding, printing, or copying of this
email is strictly prohibited.  If you have received this e-mail in error,
please notify the sender immediately by replying to this e-mail and
deleting it from your computer.


____________________ HylaFAX(tm) Users Mailing List _______________________
  To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
 On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null
  *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*




Project hosted by iFAX Solutions