Hylafax Mailing List Archives

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

[hylafax-users] Faxwatch Events - No Send Confirmation



Greetings!

I am a new user of Hylafax and the project I am working on requires that I 
monitor fax send events and update a DB table with a send confirmation.

I read the documentation and found the "faxwatch" utility, which looked 
perfect for what I needed. All I had to do was pipe the output into a script 
that does the DB work I need and I was in business.

The problem I am running into is that there does not seem to be a single event 
that can confirm that a fax was successfully sent. 

When I send a fax successfully, faxwatch ("S*" trigger) generates the 
following output (except for the "xxxxxxxxxx").

----- begin -----
134138 116 JOB 6 (dest +1xxxxxxxxxx pri 127 com ): SEND FAX: Begin attempt
134158 117 JOB 6 (dest +1xxxxxxxxxx pri 127 com ): SEND FAX: Call placed 
(off-hook)
134223 118 JOB 6 (dest +1xxxxxxxxxx pri 127 com ): SEND FAX: Connected to 
remote device
134250 119 JOB 6 (dest +1xxxxxxxxxx pri 127 com ): SEND FAX: Page 1 sent in 
0:25 (file docq/doc6.ps;30) <INF, 3.85 line/mm, 1-D MR, 14400 bit/s, 10 
ms/scanline>
134250 123 JOB 6 (dest +1xxxxxxxxxx pri 127 com ): SEND FAX: Finished attempt
134250 125 JOB 6 (dest +1xxxxxxxxxx pri 126 com 00000011): SEND FAX: Requeue 
job
134350 116 JOB 6 (dest +1xxxxxxxxxx pri 126 com ): SEND FAX: Begin attempt
134409 117 JOB 6 (dest +1xxxxxxxxxx pri 126 com ): SEND FAX: Call placed 
(off-hook)
134434 118 JOB 6 (dest +1xxxxxxxxxx pri 126 com ): SEND FAX: Connected to 
remote device
134456 119 JOB 6 (dest +1xxxxxxxxxx pri 126 com ): SEND FAX: Page 2 sent in 
0:20 (file docq/doc6.ps;30) <INF, 3.85 line/mm, 1-D MR, 14400 bit/s, 10 
ms/scanline>
134456 120 JOB 6 (dest +1xxxxxxxxxx pri 126 com ): SEND FAX: Document sent in 
0:20 (file docq/doc6.ps;30)
134456 123 JOB 6 (dest +1xxxxxxxxxx pri 126 com ): SEND FAX: Finished attempt
134456 126 JOB 6 (dest +1xxxxxxxxxx pri 126 com 00000012): SEND FAX: Job 
completed successfully
----- end -----

Exactly what I expected. I then sent a fax to an incorrect number and got the 
following output:

----- begin -----
162055 116 JOB 7 (dest +1xxxxxxxxxx pri 127 com ): SEND FAX: Begin attempt
162114 117 JOB 7 (dest +1xxxxxxxxxx pri 127 com ): SEND FAX: Call placed 
(off-hook)
162211 123 JOB 7 (dest +1xxxxxxxxxx pri 127 com ): SEND FAX: Finished attempt
162211 125 JOB 7 (dest +1xxxxxxxxxx pri 126 com 00000013): SEND FAX: Requeue 
job
162710 116 JOB 7 (dest +1xxxxxxxxxx pri 126 com ): SEND FAX: Begin attempt
162729 117 JOB 7 (dest +1xxxxxxxxxx pri 126 com ): SEND FAX: Call placed 
(off-hook)
162825 123 JOB 7 (dest +1xxxxxxxxxx pri 126 com ): SEND FAX: Finished attempt
162825 126 JOB 7 (dest +1xxxxxxxxxx pri 126 com 00000014): SEND FAX: Job 
completed successfully
----- end -----

To my surprise the last entry in both cases indicated "Job completed 
successfully". :(

Is this a known bug? If so, are there any practical workarounds for it? I am 
using the Hylafax 4.1.8-24.2 rpm distributed with Suse 9.1.

Any information will be greatly appreciated.

Cesar

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



Home
Report any problems to webmaster@hylafax.org

HylaFAX is a trademark of Silicon Graphics Corporation.
Internet connectivity for hylafax.org is provided by:
VirtuALL Private Host Services