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] Having problems with sendfax notifications.



First to everyone on the list, sorry about the extra posts. I was having a
problem getting my subscription working and I thought the posts were being
rejected. I guess they we're not. But back to my problem.

Ok, I seem to be getting notifications now but I still don't understand why my
time stamp I put into notify is not working. If notify is being called, and I
think it is, then I would expect that the following line I added would put a
time stamp in my test directory.

date >test/lastnotify.txt

The line is placed near the start of the script. If I run the script manually
the date stamp works but when the script is called by Hylafax no time stamp is
updated. The "test" directory is in the same directory as sendq and doneq.

I've not done a lot of "sh" scripting so I could easily be doing something
wrong.

Thanks in advance

John

-----Original Message-----
From: hylafax-users-bounce@xxxxxxxxxxx
[mailto:hylafax-users-bounce@xxxxxxxxxxx] On Behalf Of Aidan Van Dyk
Sent: Friday, May 19, 2006 11:53 AM
To: John Warren
Cc: hylafax-users@xxxxxxxxxxx
Subject: Re: [hylafax-users] Having problems with sendfax notifications.


* John Warren <jwarren@xxxxxxxxxxxxx> [060519 14:45]:
> I'm working on an application that required notification on every fax sent
> even if there is no error. I thought that I could control this using the
> Notify script but it seem that Notify does not get called if there were no
> errors and in fact seems it's not being called at all.

> It just seems like no notifications are being send period for outbound. 

> Anyone have any ideas where I should look?

Make sure that the client submitting the job has asked for
notifications.  In HylaFAX, notifications are only sent if the user
request it.  If the client sets "none" for the job notification, no
notification will be be run for normal completion/failure.

If you don't want user's submitting jobs with "none" notify, you could
use JobControl to reject any job with notification set to none.  This
would quickly get user's attention and get them to start using
notification....

-- 
Aidan Van Dyk                                             aidan@xxxxxxxx
Senior Software Developer                          +1 215 825-8700 x8103
iFAX Solutions, Inc.                                http://www.ifax.com/


____________________ 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