Hylafax Mailing List Archives

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

[hylafax-users] FaxDispatch



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?


Thanks--
Carol



____________________ 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