Hylafax Mailing List Archives
|
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
Re: [hylafax-users] FaxDispatch
Carol Almquist wrote:
I currently running version 4.2.0 and am trying to use FaxDispatch to
route the incoming faxes. Here is my FaxDispatch file ....
case "$DEVICE" in
ttyMA04) SENDTO=fax3@xxxxxxxx; FILETYPE=tif;;
ttyMA05) SENDTO=fax3@xxxxxxxx; FILETYPE=tif;;
esac
case "$CIDNUMBER" in
384100) SENDTO=fax0@xxxxxxxx; FILETYPE=tif;;
*) SENDTO=jeff@xxxxxxxx; FILETYPE=tif;;
esac
If I call 384100 the fax goes to fax0@xxxxxxxx but if ttyMA04 receives
the fax it goes to jeff@xxxxxxxx (the default). I know ttyMA04
received the fax from the email. If I switch the order around but
leave the default as the last option the DEVICE is routed correctly
but not the CIDNUMBER. Is there a problem having the two case
statements or do I have something else wrong?
You have to decide how you want things to be handled. The way you have
it written there the entire $DEVICE case statement is undone by the
$CIDNUMBER case statement.
From your message I can't really tell what you're trying to do. Maybe
explain it in more detail, and I can point out what you're doing wrong.
Lee.
____________________ 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*