HylaFAX The world's most advanced open source fax server

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

Re: Automating faxes



David Batterham wrote:
    
    
    Hi All,
    
    I have developed a system to send faxes from a purchase orders system
    using hylaFAX as the engine.
    
    At the moment I am calling sendfax from a C program to send faxes. I need
    a way of telling whether these faxes were successfull or not, ie, a return
    code or something. I would like to avoid pulling lines out of logs etc if
    possible. Ideally I want to be able to determine that a fax has failed
    miserably and send the fax or the original unconverted text file to a
    remote printer, so the user can determine the problem and retry or fax the
    order manually.
    
    Any help and ideas appreciated... 

you could speak the HylaFAX protocol directly to hfaxd(1M); try using
faxstat(1) with the "-v" flag and watch the output; another way is
creating jobs and using faxsend(1M);

	matthias




Project hosted by iFAX Solutions