![]() |
Anton Setiyono wrote:
I'm using hylaFAX+ 4.3.0.4 and is wondering if hylaFAX supports replacing numbers (e.g Facsimile received from +62 232 233233223) with some characters, so the fax will show like this : Facsimile received from PT SUN MOTOR GROUP.
That characters will be retreived from hylafax's config file, according to the numbers specified. (like small database).
Is that possible ?
Yes. One of my customers does this in their etc/FaxDictionary file:
-------------------------------- PAGES=`faxinfo $FILE | grep Pages: | sed 's/.*Pages: //g'`
if [ -n "$CALLID2" ] && [ "$CALLID2" != "Anonymous" ]; then DICTRECEIVEDFROM="\$PAGES page fax received from \$CALLID2"; else if [ -n "$CALLID1" ] && [ "$CALLID1" != "anonymous" ]; then DICTRECEIVEDFROM="\$PAGES page fax received from \$CALLID1"; else DICTRECEIVEDFROM="\$PAGES page fax received from \$SENDER"; fi fi -----------------------------
This puts the number of pages and the Caller*ID into the Subject: line, when available. I would suggest to you that you do something like this:
RESNAME=`select name from database where sender=$SENDER` DICTRECEIVEDFROM="\$PAGES page fax received from \$RESNAME"
Lee.
-- Anton Setiyono Technical Support Officer Management Information System PT Konimex Ds Sanggrahan Kec Grogol Sukoharjo - Jawa Tengah - Indonesia Phone : (62)(271) 716246, 714645, 719966 Fax : (62)(271) 716247 ICQ # 144625593
____________________ 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*