Hylafax Mailing List Archives

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

Re: [hylafax-users] faxsend return value problem



WARNING:  The following data has NOT been sanitized, to ensure
          that the signature remains intact, if valid.  Please
          be careful if you open any enclosed attachments.

WARNING:  The following data has NOT been sanitized, to ensure
          that the signature remains intact, if valid.  Please
          be careful if you open any enclosed attachments.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Alle 19:51, luned́ 20 gennaio 2003, caro Lee Howard hai scritto:
> On 2003.01.20 10:27 Diego Ercolani wrote:
> > in my current hylafax installation I've found that sometime sending a
> > fax
> > without answering from the other machine result errounesly "fax sent"
> > message.
>
> Could you please supply us with a session log of such a fax?
>
> Thanks.
>
> Lee.
Sure,
here I am....
(thank you for your speed answer! ;-) )

+-------------------------------------------------------+
|     A: triple unanswered try, failed FAX     |
+-------------------------------------------------------+

1.Here it is my ~/.hylarc
- -----------------------------------
VRes: 98
Notify: when requeued
MaxDials: 3
MailAddr: diego.ercolani@yacme.com
Notify: requeued
Verbose: Yes

2.First I send a fax to an internal number:
- ---------------------------------------------------------------------
$ sendfax -h albana -l -n -d 43 a.ps
Warning, verbose = Yes (line 52)
Trying albana (192.168.1.2) at port 4559...
Connected to albana.cantina.yacme.
220 albana.cantina.yacme server (HylaFAX (tm) Version 4.1.5) ready.
- -> USER ercolani
230 User ercolani logged in.
match against (..., 512)
rule: offset 0 string = "%!" -- success (result postscript, rule "")
Apply DisplayNumber rules to "43"
- --> return result "43"
- -> TYPE I
200 Type set to Image.
SEND compressed data, 17695 bytes
- -> PORT 192,168,1,103,199,5
200 PORT command successful.
- -> MODE Z
200 Mode set to ZIP.
- -> STOT
150 FILE: /tmp/doc410.ps (Opening new data connection).
SEND 5582 bytes transmitted (3.2x compression)
226 Transfer complete (FILE: /tmp/doc410.ps).
- -> JNEW
200 New job created: jobid: 349 groupid: 349.
- -> JPARM FROMUSER "Diego Ercolani"
213 FROMUSER set to "Diego Ercolani".
- -> JPARM LASTTIME 000259
213 LASTTIME set to 000259.
- -> JPARM MAXDIALS 3
213 MAXDIALS set to 3.
- -> JPARM MAXTRIES 3
213 MAXTRIES set to 3.
- -> JPARM SCHEDPRI 127
213 SCHEDPRI set to 127.
- -> JPARM DIALSTRING "43"
213 DIALSTRING set to "43".
- -> JPARM NOTIFYADDR "diego.ercolani@yacme.com"
213 NOTIFYADDR set to "diego.ercolani@yacme.com".
- -> JPARM VRES 98
213 VRES set to 98.
- -> JPARM PAGEWIDTH 209
213 PAGEWIDTH set to 209.
- -> JPARM PAGELENGTH 296
213 PAGELENGTH set to 296.
- -> JPARM NOTIFY "done+requeue"
213 NOTIFY set to "done+requeue".
- -> JPARM PAGECHOP "default"
213 PAGECHOP set to "default".
- -> JPARM CHOPTHRESHOLD 3
213 CHOPTHRESHOLD set to 3.
- -> JPARM DOCUMENT /tmp/doc410.ps
200 Added document /tmp/doc410.ps as docq/doc410.ps.349.
- -> JSUBM
200 Job 349 submitted.
request id is 349 (group id 349) for host albana (1 file)

3.First try (unanswered) (this is my script log status file)
- ------------------------------------------------------------------------------------
lun gen 20 20:11:45 CET 2003/var/spool/hylafax/faxsend.diego :Parameters -m 
ttyS0 sendq/q349
/var/spool/hylafax/docq:
        doc410.ps;00
        doc410.ps.349
        seqf
/var/spool/hylafax/sendq:
        q349
        seqf
RETVAL: 0 status - Send Retry, retry job


4. Prune JOB
- --------------------------------------------
$ faxalter -h albana -p 349
Warning, verbose = Yes (line 52)
Trying albana (192.168.1.2) at port 4559...
Connected to albana.cantina.yacme.
220 albana.cantina.yacme server (HylaFAX (tm) Version 4.1.5) ready.
- -> USER ercolani
230 User ercolani logged in.
- -> JOB 349
200 Current job: jobid: 349 groupid: 349.
- -> JSUSP
200 Job 349 suspended.
- -> JPARM SENDTIME NOW
213 SENDTIME set to NOW.
- -> JSUBM
200 Job 349 submitted.
Job 349: done.



5.*second try
lun gen 20 20:16:18 CET 2003/var/spool/hylafax/faxsend.diego :Parameters -m 
ttyS2 sendq/q349
/var/spool/hylafax/docq:
        doc410.ps;00
        doc410.ps.349
        seqf
/var/spool/hylafax/sendq:
        q349
        seqf
RETVAL: 0 status - Send Retry, retry job


6. Prune JOB
- -------------------------------------------
$ faxalter -h albana -p 349
Warning, verbose = Yes (line 52)
Trying albana (192.168.1.2) at port 4559...
Connected to albana.cantina.yacme.
220 albana.cantina.yacme server (HylaFAX (tm) Version 4.1.5) ready.
- -> USER ercolani
230 User ercolani logged in.
- -> JOB 349
200 Current job: jobid: 349 groupid: 349.
- -> JSUSP
200 Job 349 suspended.
- -> JPARM SENDTIME NOW
213 SENDTIME set to NOW.
- -> JSUBM
200 Job 349 submitted.
Job 349: done.

7. Third Unanswered (LAST) Try.
N.B. look that retval is 123
- ---------------------------------------
lun gen 20 20:18:09 CET 2003/var/spool/hylafax/faxsend.diego :Parameters -m 
ttyS0 sendq/q349
/var/spool/hylafax/docq:
        doc410.ps;00
        doc410.ps.349
        seqf
/var/spool/hylafax/sendq:
        q349
        seqf
RETVAL: 123 status - sendq/q349:
tts:1043090667
killtime:1043100642
retrytime:0
state:6
npages:0
totpages:1
ntries:0
ndials:3
totdials:3
maxdials:3
tottries:0
maxtries:3
pagewidth:209
resolution:98
pagelength:296
priority:127
schedpri:125
minsp:0
desiredbr:13
desiredst:0
desiredec:1
desireddf:3
desiredtl:0
useccover:1
external:43
number:43
mailaddr:diego.ercolani@yacme.com
sender:Diego Ercolani
jobid:349
jobtag:
pagehandling:20P
modem:any
receiver:
company:
location:
cover:
client:brugneto.cantina.yacme
owner:ercolani
groupid:349
signalrate:0 bit/s
dataformat:2-D MMR
jobtype:facsimile
tagline:
subaddr:
passwd:
doneop:default
commid:00002592
status:No carrier detected; too many attempts to dial
notify:when done+requeued
pagechop:default
chopthreshold:3
!postscript:0::docq/doc410.ps.349
fax:0::docq/doc410.ps;00
- -----
STATUS: "carrier"
Requeue required by Diego Utility

+----------------------------------------------+
|     B: two unanswered try,               |
|         third answered                        |
|         received  FAX                           |
+-----------------------------------------------+

1. then same ~/.hylarc
2. send fax
- ----------------------------------------------
0 [ercolani@brugneto ~]
$ sendfax -h ttyS0@albana -l -n -d 43 a.ps
Warning, verbose = Yes (line 52)
Trying albana (192.168.1.2) at port 4559...
Connected to albana.cantina.yacme.
220 albana.cantina.yacme server (HylaFAX (tm) Version 4.1.5) ready.
- -> USER ercolani
230 User ercolani logged in.
match against (..., 512)
rule: offset 0 string = "%!" -- success (result postscript, rule "")
Apply DisplayNumber rules to "43"
- --> return result "43"
- -> TYPE I
200 Type set to Image.
SEND compressed data, 17695 bytes
- -> PORT 192,168,1,103,205,101
200 PORT command successful.
- -> MODE Z
200 Mode set to ZIP.
- -> STOT
150 FILE: /tmp/doc412.ps (Opening new data connection).
SEND 5582 bytes transmitted (3.2x compression)
226 Transfer complete (FILE: /tmp/doc412.ps).
- -> JNEW
200 New job created: jobid: 351 groupid: 351.
- -> JPARM FROMUSER "Diego Ercolani"
213 FROMUSER set to "Diego Ercolani".
- -> JPARM LASTTIME 000259
213 LASTTIME set to 000259.
- -> JPARM MODEM "ttyS0"
213 MODEM set to "ttyS0".
- -> JPARM MAXDIALS 3
213 MAXDIALS set to 3.
- -> JPARM MAXTRIES 3
213 MAXTRIES set to 3.
- -> JPARM SCHEDPRI 127
213 SCHEDPRI set to 127.
- -> JPARM DIALSTRING "43"
213 DIALSTRING set to "43".
- -> JPARM NOTIFYADDR "diego.ercolani@yacme.com"
213 NOTIFYADDR set to "diego.ercolani@yacme.com".
- -> JPARM VRES 98
213 VRES set to 98.
- -> JPARM PAGEWIDTH 209
213 PAGEWIDTH set to 209.
- -> JPARM PAGELENGTH 296
213 PAGELENGTH set to 296.
- -> JPARM NOTIFY "done+requeue"
213 NOTIFY set to "done+requeue".
- -> JPARM PAGECHOP "default"
213 PAGECHOP set to "default".
- -> JPARM CHOPTHRESHOLD 3
213 CHOPTHRESHOLD set to 3.
- -> JPARM DOCUMENT /tmp/doc412.ps
200 Added document /tmp/doc412.ps as docq/doc412.ps.351.
- -> JSUBM
200 Job 351 submitted.
request id is 351 (group id 351) for host albana (1 file)

3. 1st try
- ---------------------------------------------------------
lun gen 20 20:31:34 CET 2003/var/spool/hylafax/faxsend.diego :Parameters -m 
ttyS0 sendq/q351
/var/spool/hylafax/docq:
        doc410.ps
        doc411.ps;00
        doc411.ps.350
        doc412.ps;00
        doc412.ps.351
        seqf
/var/spool/hylafax/sendq:
        q350
        q351
        seqf
RETVAL: 0 status - Send Retry, retry job

4. Prune JOB
- ----------------------------------
$ faxalter -h ttyS0@albana -p 351
Warning, verbose = Yes (line 52)
Trying albana (192.168.1.2) at port 4559...
Connected to albana.cantina.yacme.
220 albana.cantina.yacme server (HylaFAX (tm) Version 4.1.5) ready.
- -> USER ercolani
230 User ercolani logged in.
- -> JOB 351
200 Current job: jobid: 351 groupid: 351.
- -> JSUSP
200 Job 351 suspended.
- -> JPARM SENDTIME NOW
213 SENDTIME set to NOW.
- -> JSUBM
200 Job 351 submitted.
Job 351: done.


5. 2nd Unanswered try
- ------------------------------------------
lun gen 20 20:34:24 CET 2003/var/spool/hylafax/faxsend.diego :Parameters -m 
ttyS0 sendq/q351
/var/spool/hylafax/docq:
        doc410.ps
        doc411.ps
        doc412.ps;00
        doc412.ps.351
        seqf
/var/spool/hylafax/sendq:
        q351
        seqf
RETVAL: 0 status - Send Retry, retry job

6. Prune JOB
- --------------------------------------
0 [ercolani@brugneto ~]
$ faxalter -h ttyS0@albana -p 351
Warning, verbose = Yes (line 52)
Trying albana (192.168.1.2) at port 4559...
Connected to albana.cantina.yacme.
220 albana.cantina.yacme server (HylaFAX (tm) Version 4.1.5) ready.
- -> USER ercolani
230 User ercolani logged in.
- -> JOB 351
200 Current job: jobid: 351 groupid: 351.
- -> JSUSP
200 Job 351 suspended.
- -> JPARM SENDTIME NOW
213 SENDTIME set to NOW.
- -> JSUBM
200 Job 351 submitted.
Job 351: done.

7. 3rd and answered try
NOTE that Return Value is 123 as before in 3rd unanswered try!!!
- -------------------------------------
lun gen 20 20:36:15 CET 2003/var/spool/hylafax/faxsend.diego :Parameters -m 
ttyS0 sendq/q351
/var/spool/hylafax/docq:
        doc410.ps
        doc411.ps
        doc412.ps;00
        doc412.ps.351
        seqf
/var/spool/hylafax/sendq:
        q351
        seqf
RETVAL: 123 status - sendq/q351:
tts:1043091375
killtime:1043101833
retrytime:0
state:6
npages:1
totpages:1
ntries:0
ndials:0
totdials:3
maxdials:3
tottries:1
maxtries:3
pagewidth:209
resolution:98
pagelength:296
priority:127
schedpri:125
minsp:0
desiredbr:13
desiredst:0
desiredec:1
desireddf:3
desiredtl:0
useccover:1
external:43
number:43
mailaddr:diego.ercolani@yacme.com
sender:Diego Ercolani
jobid:351
jobtag:
pagehandling:
modem:ttyS0
receiver:
company:
location:
cover:
client:brugneto.cantina.yacme
owner:ercolani
groupid:351
signalrate:14400 bit/s
dataformat:1-D MR
jobtype:facsimile
tagline:
subaddr:
passwd:
doneop:default
commid:00002598
status:
notify:when done+requeued
pagechop:default
chopthreshold:3
!postscript:0::docq/doc412.ps
- -----
STATUS: ""
Job Done (as supposed by Diego Workaround!)
- ------------------------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE+LFBm4ytO7itWWCwRAkBQAJ9b2vRRMR3xaGDjmaOa84WkPaq/owCdEhb3
hVFNBVoIRGWWT9+djo5qAQU=
=nlXj
-----END PGP SIGNATURE-----


____________________ 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@hylafax.org < /dev/null
  *To learn about commercial HylaFAX(tm) support, mail sales@hylafax.org.*



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