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] Problems with faxdispatch



Remove the sendto master at the top and put it before the last sendto before the esac with an *) to pick up any other entry.

> 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;;
*)	SENDTO=master@xxxxxx;;
> esac

> -----Original Message-----
> From: hylafax-users-bounce@xxxxxxxxxxx
> [mailto:hylafax-users-bounce@xxxxxxxxxxx]On Behalf Of Michael 
> Alexander
> Sent: Monday, January 17, 2005 10:25 PM
> To: hylafax-users@xxxxxxxxxxx
> Subject: [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*



-+-+-+-+-+-+-+-+-+ Business Computer Projects - Disclaimer -+-+-+-+-+-+-+-+-+-
This message, and any associated attachment is confidential.  If you have received
it in error, please delete it from your system, do not use or disclose the information
in any way, and notify either the sender or Postmaster@xxxxxxxxxxxxxxx immediately.
The contents of this message may contain personal views which are not necessarily 
the views of Business Computer Projects Ltd., unless specifically stated.  Whilst every
effort has been made to ensure that emails and their attachments are virus free, it is 
the responsibility of the recipient(s) to verify the integrity of such emails.
Business Computer Projects Ltd
BCP House
151 Charles Street
Stockport
Cheshire
SK1 3JY
Tel: +44 (0)161 355-3000
Fax: +44 (0)161 355-3001
Web: http://www.bcpsoftware.com

____________________ 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