HylaFAX The world's most advanced open source fax server

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

Re: [hylafax-users] How to read "From" field from received fax



On 2005.01.10 06:52 Sylwester Rutkowski wrote:
Hi,

Nice try, but the $SENDER shows the receiver's phone number, not the
name
visible in the "From" field in the header of the fax. Thanks anyway.

The field I am looking for is the one containing the name of the
sender.
In hylafax config.ttySx file this field is called "LocalIdentifier",
while
the $SENDER parameter returns the field "FAXNumber".
I looked into logs and couldn't find the name there. Does anyone has
idea
how to get it? Pleeease.

I'm very confused as to what you mean by "From field".


There is a field common in e-mails that begins, "From: ", and may say something like, "From: Lee Howard <faxguy@xxxxxxxxxxxxxxxx>". If this is the "field" for which you are looking, then you can *set* it by setting "FROMADDR" in FaxDispatch (see 'man faxrcvd'). This is only available since 4.2.0.

When HylaFAX sends a fax it populates the TSI signal with the information in "LocalIdentifier". If, however, "LocalIdentifier" is empty, then "FAXNumber" is used instead. "$SENDER" in FaxDispatch/faxrcvd refers to whatever the sender sent as its TSI signal. That signal is the *only* reliable source of identification that the sender communicates via fax protocol. If you are looking for more, then you will need to look to get it from Caller*ID.

If you configure Caller*ID properly, and if you have Caller*ID "name" serviced, then you will get $CIDNAME and $CIDNUMBER available to you. The caller's name may appear in the $CIDNAME value.

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*




Project hosted by iFAX Solutions