![]() |
Now it doesn't route anywhere... The log shows routed to:<unspecified> I tried just the last case, and I tried it in both of them, same result. -Mike > -----Original Message----- > From: hylafax-users-bounce@xxxxxxxxxxx > [mailto:hylafax-users-bounce@xxxxxxxxxxx] On Behalf Of Tony S. Sykes > Sent: Tuesday, January 18, 2005 4:58 AM > To: Michael Alexander > Cc: HylaFax (E-mail) > Subject: 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*