![]() |
case "$CALLID3" in *7200) SENDTO="user1@domain"; FILETYPE=pdf;; esac case "$CALLID3) SENDTO="user@domain"; FILETYPE=pdf;; esac
if [ "$CALLID3" != "" ]; then PHONEMATCH=$CALLID3\$ USERENTRY=`grep -v "^#" etc/users | grep "$PHONEMATCH"` if [ "$USERENTRY" != "" ]; then USERNAME=`echo $USERENTRY | awk '{print $1}'` SENDTO="$USERNAME" fi fi
Kevin wrote:
I have a odd problem with dispatching faxes to email based on MSN.
My msn numbers are 7200 to 7219 (20 x number)
The first 3 dispatches 100% to the email addresses supplied in the users file.
Thereafter it ignores the users list and dispatches 7204 to 7219 to faxmaster only.
Any idea what im missing?
There is some error in your FaxDispatch scripting.
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*
--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 269.5.1/764 - Release Date: 4/17/2007 04:43 AM
____________________ 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*