HylaFAX The world's most advanced open source fax server

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

[hylafax-users] Problems with faxdispatch



Hi,
  (Hylafax 4.2.1 on suse enterprise server 9)
  I have some problems with FaxDispatch changing routings of incoming faxes.
I have the following entries (specific numbers and e-mail addresses changed)

FILETYPE=pdf;
# MIMENCODE=bin/uuencode_it;
SENDTO=master@xxxxxx;
#
case "$DEVICE" in
ttyS0) SENDTO=faxes@xxxxxx;;
ttyS14) SENDTO=me@xxxxxx;;
esac
#
case "$SENDER" in
*609*858*6470*)		SENDTO=me@xxxxxx;;
*609*858*6418*)		SENDTO=me@xxxxxx;;
*609*858*1323*)		SENDTO=me@xxxxxx;;
*1798*)	SENDTO=other@xxxxxx;;
esac


I successfully get a PDFs but they are all delivered to master@xxxxxxx  Here
is the text of the test that came to master:
    Sender: 1798
     Pages: 1
   Quality: Normal
      Page: North American Letter
  Received: 2005:01:17 16:01:56
TimeToRecv: 0:24
SignalRate: 14400 bit/s
DataFormat: 1-D MH
ErrCorrect: No
ReceivedOn: ttyS14
    CommID: c000000018

From that it should go to other correct? Because the last case statement
says anything from sender= 1798 goes to other@xxxxxxx  That overrides the
ttyS14 going to me@xxxxxx, which would override the master@xxxxxx?

Changing the filetype entry works as well as the first SENDTO, so I know
that faxdispatch is getting processed.  That would point to a failing in the
case statements, how can I see exactly where it is failing and why?

Thanks,
Mike



____________________ 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