HylaFAX The world's most advanced open source fax server

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

[hylafax-users] destctrls RejectNotice not being sent to sendfax -w client



Hi list,

(system is RH9 with hylafax-4.2.1-1rh9.rpm but I don't think this question is specific to that platform or release)

I have a bunch of users sending faxes out via my hylafax server. They are sloppy in updating their phone books (and not paying attention to failure e-mails) so they keep attempting faxes to certain fax numbers that are no longer valid (the number is out of service, no fax machine answers, etc). To save modem time (not to mention long distance fees) I've added these bad numbers to destctrls, for example:

.*9445556677 RejectNotice = "no fax answers (checked 20050215)"

This RejectNotice shows up correctly in the faxstat -d output:

23435 127 F root 944-555-6677 0:0 0:1 REJECT: no fax answers (c

I would have expected the RejectNotice to also be shown in the output of "sendfax -w ..." but instead the error there is just "Unspecified reason (scheduler NAK'd request)" (see below).

Is this something that can be "fixed" or is there a good reason for it (like it really is not allowed in the protocol and has to remain that way)?

Thanks in advance.

Regards.

Martin



# sendfax -t 1 -T 1 -vv -n -w -d 944-555-6677 ~/a.txt

Trying localhost (127.0.0.1) at port 4559...
Connected to localhost.localdomain.
220 socrates.localdomain server (HylaFAX (tm) Version 4.2.1) ready.
-> USER root
230 User root logged in.
match against (..., 512)
rule: offset 0 string = "%!" -- failed (comparison)
...
rule: offset 0 ascii = -- success (result postscript, rule "%F/textfmt -B -f Courier-Bold -Ml=0.4in -p 11 -s %s >%o <%i")CONVERT "/usr/sbin/textfmt -B -f Courier-Bold -Ml=0.4in -p 11 -s default >/tmp//sndfax64doqi </root/a.txt"Apply DisplayNumber rules to "9445556677"
--> return result "9445556677"
-> TYPE I
200 Type set to Image.
SEND compressed data, 6789 bytes
-> PORT 127,0,0,1,5,102
200 PORT command successful.
-> MODE Z
200 Mode set to ZIP.
-> STOT
150 FILE: /tmp/doc24916.ps (Opening new data connection).
SEND 2229 bytes transmitted (3.0x compression)
226 Transfer complete (FILE: /tmp/doc24916.ps).
-> JNEW
200 New job created: jobid: 23436 groupid: 23436.
-> JPARM FROMUSER "root"
213 FROMUSER set to "root".
-> JPARM LASTTIME 000259
213 LASTTIME set to 000259.
-> JPARM MAXDIALS 1
213 MAXDIALS set to 1.
-> JPARM MAXTRIES 1
213 MAXTRIES set to 1.
-> JPARM SCHEDPRI 127
213 SCHEDPRI set to 127.
-> JPARM DIALSTRING "9445556677"
213 DIALSTRING set to "9445556677".
-> JPARM NOTIFYADDR "root@xxxxxxxxxxxxxxxxxxxx"
213 NOTIFYADDR set to "root@xxxxxxxxxxxxxxxxxxxx".
-> JPARM VRES 196
213 VRES set to 196.
-> JPARM PAGEWIDTH 209
213 PAGEWIDTH set to 209.
-> JPARM PAGELENGTH 296
213 PAGELENGTH set to 296.
-> JPARM NOTIFY "none"
213 NOTIFY set to "none".
-> JPARM PAGECHOP "default"
213 PAGECHOP set to "default".
-> JPARM CHOPTHRESHOLD 3
213 CHOPTHRESHOLD set to 3.
-> JPARM DOCUMENT /tmp/doc24916.ps
200 Added document /tmp/doc24916.ps as docq/doc24916.ps.23436.
-> JSUBM
200 Job 23436 submitted.
request id is 23436 (group id 23436) for host localhost (1 file)
-> JWAIT
504 Cannot register trigger: Unspecified reason (scheduler NAK'd request).
#


____________________ 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