faxspool and JOB file

Gert Doering (gert@greenie.muc.de)
Thu, 2 Sep 1999 18:25:53 +0200


Hi,

On Thu, Sep 02, 1999 at 04:34:11PM +0200, Sascha Ziemann wrote:
> I am working on a Samba-Mgetty gateway.  In order to be able to send a
> winpopup message to the client, when the fax has successfully send, I
> need the IP address of the client in the fax-success program.  The
> fax-success program gets only the JOB file, so the information has be
> stored there, but faxspool has no option to store custom data in the
> JOB file.  

Use "-A <custom-data>".  It's there for exactly that reason :-)

> In order to extend the JOB file I have patched faxspool and
> added a -j option that can be used to add custom fields to the JOB
> file.  This is the patch:

Argl.  That's what "-A" is for - it is usually used for billing purposes,
but you can do with it whatever you want.

gert
-- 
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             gert@greenie.muc.de
fax: +49-89-35655025                        gert.doering@physik.tu-muenchen.de