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] xferfaxlog to jobID/faxID/callcid to image filename?



On Dec 21, 2007 6:11 PM, Lukasz Szybalski <szybalski@xxxxxxxxx> wrote:
> Hello,
> Is there a way from xferfaxlog to find link to a actual image of the
> fax in recvq?
> It seems as the xferfaxlog has a job id which points to a log of the
> transaction but nowhere in the xferfaxlog does it say the actual
> faximage filenname.
>
> 12/17/07 15:06  RECV    000126415       ttyS14          ""      fax     "1.773.299.7501"        ""      2220073 4       3:41    3:41    ""      ""      ""      ""      ""      "00
> 46 1F 23 01 08"
> 12/17/07 15:06  CALL    000126415       ttyS14          ""      fax     "1.773.299.7501"        ""      0       0       3:47    3:47    ""      ""      ""      ""      ""      ""
>
> so my job id points to 000126415, which is a file in the log folder
> c000126415      . Now in order to get my fax image filename I would have to
> parse the file and get my
> Dec 17 15:10:32.92: [ 5254]: <-- [9:AT+FTH=3\r]
> Dec 17 15:10:33.11: [ 5254]: --> [7:CONNECT]
> Dec 17 15:10:33.11: [ 5254]: <-- data [3]
> Dec 17 15:10:33.11: [ 5254]: <-- data [2]
> Dec 17 15:10:34.29: [ 5254]: --> [2:OK]
> Dec 17 15:10:34.29: [ 5254]: RECV send MCF (message confirmation)
> Dec 17 15:10:34.29: [ 5254]: RECV FAX (000126415): from , page 4 in
> 0:43, INF, 7.7 line/mm, 2-D MMR, 14400 bit/s
> Dec 17 15:10:34.29: [ 5254]: RECV FAX (000126415):
> recvq/fax000113780.tif from , route to <unspecified>, 4 pages in 3:41
> Dec 17 15:10:34.29: [ 5254]: <-- [9:AT+FRH=3\r]
> Dec 17 15:10:34.47: [ 5254]: --> [7:CONNECT]
> Dec 17 15:10:35.67: [ 5254]: --> [2:OK]
> Dec 17 15:10:35.67: [ 5254]: RECV recv DCN (disconnect)
> Dec 17 15:10:35.67: [ 5254]: RECV FAX: bin/faxrcvd
> "recvq/fax000113780.tif" "ttyS14" "000126415" ""
>
> fax000113780.tif
>
>
> Is there an option in hylafax config somewhere to enable this
> fax000113780.tif to be added to xferfaxlog?
>
>
> Thanks,
> Lucas

I just want to add to this and say that I would find it useful as
well. Not just having the tif image name but also the size in bytes
next to it.
Current I have a java program that queries a database (holding the
xferfaxlog info) and then finds the c000xxxxx log file and greps it
for *.tif" then checks the size of the file (if it exists). Would be
nice to have this info in xferfaxlog from the start.


>
> ____________________ 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*
>
>

--
George H
george.dma@xxxxxxxxx


____________________ 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