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] Access to remote station identifier in faxrcvd



* Paul Freeman <paul.freeman@xxxxxxxxxx> [070604 11:07]:
> I have recently started using Hylafax for receiving faxes and forwarding them
> on via email (with pdf attachment).  I wanted to customize the email delivery
> process to include the sending station identifier (where it is supplied).

> I was wondering whether it was possible to have access to the remote
> (sending) station identifier in faxrcvd?  The remote TSI is available as
> $SENDER but I cannot locate the station identifier (it is available in the
> tagline).  Would I have to code this and if so, where would I start?

The "sending station identifier" is the "TSI" (Transmitting Station
Identifier).

The "tagline" you see at the top of the fax (or at the "bottom" if they
put the paper in upside down) is actual image data the the remote has
rendered onto the fax.  It's not anything sent outside the image data.

If you want, there are numerous OCR packages available.  Depending on
the fonts and characters the remote renders the tagline in, you could
theoretically have success in decoding the ORC line, parsing the data you
want out of it, and using it.  But knowing that it's image data, with no
defined structure, varied fonts, languages, information, and formats
makes it a quite challenging proposition in the general case.

a.

-- 
Aidan Van Dyk                                             aidan@xxxxxxxx
Senior Software Developer                          +1 215 825-8700 x8103
iFAX Solutions, Inc.                                http://www.ifax.com/

Attachment: signature.asc
Description: Digital signature




Project hosted by iFAX Solutions