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] hangup cause



thanks again Lee,

I think that solution might work, but is not very comfortable. I'm just
writing a perl daemon for a webfax solution, which will be running on
the hylafax server and communicate with it as a client. Of course I can
even let
that daemon open and parse those logfiles since its running on the same
machine. I was just hoping I could get this info more easily through a
command. I might have to direct this to the devlist then. It should not
be too hard to pass this info through to the client since its already
available somehow.

Moritz

On Fri, 2005-11-04 at 08:43 -0800, Lee Howard wrote:
> In the modem config file there is a setting "LogFileMode".  You set that 
> to allow permissions for you to download the file (0644 ?).
> 
> To identify which file is associated with which job you'd have to first 
> download the queue file from doneq, look for the commid entry, and then 
> download the associated communication log file.
> 
> It works more like ftp for this part:
> 
> ftp localhost 4559
> cd doneq
> get q555
> (parse for commid)
> cd ../log
> get c000000555
> quit
> 
> That's just a guess, though.  I've not actually done that to test.
> 
> Lee.
> 
> 
> moritz winterberg wrote:
> 
> >thanks for the answer Lee. 
> >Assuming the permission is there, how would this be done then ? 
> >Is there a cmd which outputs the content of the log file (you wrote
> >config file but probably mean log file instead) ?
> >Something like 
> >"telnet localhost:4559" 
> >"getLog for jobID xx" ??
> >
> >thanks
> >
> >moritz 
> >
> >On Fri, 2005-11-04 at 07:08 -0800, Lee Howard wrote:
> >  
> >
> >>moritz winterberg wrote:
> >>
> >>    
> >>
> >>>I'm using a perl hylafax client to send faxes (jparm etc.).
> >>>Now I'd like to have more detailed info on failed transfers (eg. number
> >>>busy, number unallocated etc.).
> >>>I can already find this info in /var/spool/hylafax/log/c000* files.
> >>>Would there be any way to get this info as a client ?
> >>>faxstat -s just tells me "An error occured while trying to establish the
> >>>connection", but no details ?
> >>>
> >>>any hint ?
> >>> 
> >>>
> >>>      
> >>>
> >>If the file permissions permit (LogFileMode in modem config) then you 
> >>can fetch the config file via the client.
> >>
> >>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