Hylafax Mailing List Archives

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

Re: [hylafax-users] FaxDispatch



Hello Carol,

maybe this does what you want:

case "$DEVICE" in
ttyMA04)            SENDTO=fax3@xxxxxxxx;  FILETYPE=tif;;
ttyMA05)            SENDTO=fax3@xxxxxxxx;  FILETYPE=tif;;
*)
   case "$CIDNUMBER" in
   384100)             SENDTO=fax0@xxxxxxxx;  FILETYPE=tif;;
   *)                  SENDTO=jeff@xxxxxxxx;  FILETYPE=tif;;
   esac
esac

or this:

case "$CIDNUMBER" in
384100)             SENDTO=fax0@xxxxxxxx;  FILETYPE=tif;;
*)
   case "$DEVICE" in
   ttyMA04)            SENDTO=fax3@xxxxxxxx;  FILETYPE=tif;;
   ttyMA05)            SENDTO=fax3@xxxxxxxx;  FILETYPE=tif;;
   *)                  SENDTO=jeff@xxxxxxxx;  FILETYPE=tif;;
   esac
esac

It depends on what you want to happen for faxes with both $DEVICE = ttyMA05 and $CIDNUMBER = 384100.


Bodo


____________________ 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*



Home
Report any problems to webmaster@hylafax.org

HylaFAX is a trademark of Silicon Graphics Corporation.
Internet connectivity for hylafax.org is provided by:
VirtuALL Private Host Services