Hello,
* Giuseppe Sacco <[EMAIL PROTECTED]> schrieb am [21.02.05 19:46]:
> Il giorno lun, 21-02-2005 alle 17:53 +0100, Gerhard Brauer ha scritto:
> [...]
> > When a fax is correctly sent it still remains in the sent queue. And
> > will be tried more and more. Those faxes must be manually removed.
> [...]
>
> This is probably a libcapi20-2 bug. Could you please provide a log of
> the communication? I think that capi4hylafax returns an error even if
> the fax is correctly sent, so hylafax reschedul it. To create this log,
> just use 0xfff as value for SessionTracing and ServerTracing in
> your /etc/hylafax/config and /etc/hylafax.* files, then restart hylafax.
I don't no if i set SessionTracing correct, i set it in $hyla/config and
config.faxCAPI. in config.faxCAPI it seems to be not recognized so it
set LogTraceLevel in config.faxCAPI to also to highest.
I send a fax from client to my own number with:
sendfax -h $hylaserver -n -d $number /etc/motd
This from server syslog: (sorry for line breaks)
--------------------------
Feb 22 00:22:40 s01 FaxQueuer[29793]: HylaFAX (tm) Version 4.2.1
Feb 22 00:22:40 s01 FaxQueuer[29793]: Copyright (c) 1990-1996 Sam Leffler
Feb 22 00:22:40 s01 FaxQueuer[29793]: Copyright (c) 1991-1996 Silicon Graphics,
Inc.
Feb 22 00:22:40 s01 HylaFAX[29795]: HylaFAX INET Protocol Server: restarted.
Feb 22 00:23:13 s01 HylaFAX[29891]: servertracing = 0xfff (line 53)
Feb 22 00:23:13 s01 HylaFAX[29891]: <--- 220 s01.kis.te server (HylaFAX (tm)
Version 4.2.1) ready.
Feb 22 00:23:13 s01 HylaFAX[29891]: HylaFAX INET connection from ws02.kis.te
[192.168.1.11]
Feb 22 00:23:13 s01 HylaFAX[29891]: command: USER gerhard
Feb 22 00:23:13 s01 HylaFAX[29891]: USER gerhard
Feb 22 00:23:13 s01 HylaFAX[29891]: <--- 230 User gerhard logged in.
Feb 22 00:23:13 s01 HylaFAX[29891]: FAX LOGIN FROM ws02.kis.te [192.168.1.11],
gerhard
Feb 22 00:23:13 s01 HylaFAX[29891]: command: TZONE LOCAL
Feb 22 00:23:13 s01 HylaFAX[29891]: TZONE LOCAL
Feb 22 00:23:13 s01 HylaFAX[29891]: <--- 200 Using time values in CET.
Feb 22 00:23:13 s01 HylaFAX[29891]: command: TYPE I
Feb 22 00:23:13 s01 HylaFAX[29891]: TYPE I
Feb 22 00:23:13 s01 HylaFAX[29891]: <--- 200 Type set to Image.
Feb 22 00:23:13 s01 HylaFAX[29891]: command: PORT 192,168,1,11,128,106
Feb 22 00:23:13 s01 HylaFAX[29891]: PORT 192.168.1.11;27264
Feb 22 00:23:13 s01 HylaFAX[29891]: <--- 200 PORT command successful.
Feb 22 00:23:13 s01 HylaFAX[29891]: command: MODE Z
Feb 22 00:23:13 s01 HylaFAX[29891]: MODE Z
Feb 22 00:23:13 s01 HylaFAX[29891]: <--- 200 Mode set to ZIP.
Feb 22 00:23:13 s01 HylaFAX[29891]: command: STOT
Feb 22 00:23:13 s01 HylaFAX[29891]: STOT
Feb 22 00:23:13 s01 HylaFAX[29891]: Filesystem has SysV-style file creation
semantics.
Feb 22 00:23:13 s01 HylaFAX[29891]: <--- 150 FILE: /tmp/doc42.ps (Opening new
data connection).
Feb 22 00:23:13 s01 HylaFAX[29891]: <--- 226 Transfer complete (FILE:
/tmp/doc42.ps).
Feb 22 00:23:13 s01 HylaFAX[29891]: command: JNEW
Feb 22 00:23:13 s01 HylaFAX[29891]: <--- 200 New job created: jobid: 42
groupid: 42.
Feb 22 00:23:13 s01 HylaFAX[29891]: command: JPARM FROMUSER "Gerhard Brauer"
Feb 22 00:23:13 s01 HylaFAX[29891]: <--- 213 FROMUSER set to "Gerhard Brauer".
Feb 22 00:23:13 s01 HylaFAX[29891]: command: JPARM LASTTIME 000259
Feb 22 00:23:13 s01 HylaFAX[29891]: <--- 213 LASTTIME set to 000259.
Feb 22 00:23:13 s01 HylaFAX[29891]: command: JPARM MAXDIALS 12
Feb 22 00:23:13 s01 HylaFAX[29891]: <--- 213 MAXDIALS set to 12.
Feb 22 00:23:13 s01 HylaFAX[29891]: command: JPARM MAXTRIES 3
Feb 22 00:23:13 s01 HylaFAX[29891]: <--- 213 MAXTRIES set to 3.
Feb 22 00:23:13 s01 HylaFAX[29891]: command: JPARM SCHEDPRI 127
Feb 22 00:23:13 s01 HylaFAX[29891]: <--- 213 SCHEDPRI set to 127.
Feb 22 00:23:13 s01 HylaFAX[29891]: command: JPARM DIALSTRING "1859875"
Feb 22 00:23:13 s01 HylaFAX[29891]: <--- 213 DIALSTRING set to "1859875".
Feb 22 00:23:13 s01 HylaFAX[29891]: command: JPARM NOTIFYADDR "[EMAIL
PROTECTED]"
Feb 22 00:23:13 s01 HylaFAX[29891]: <--- 213 NOTIFYADDR set to "[EMAIL
PROTECTED]".
Feb 22 00:23:13 s01 HylaFAX[29891]: command: JPARM VRES 98
Feb 22 00:23:13 s01 HylaFAX[29891]: <--- 213 VRES set to 98.
Feb 22 00:23:13 s01 HylaFAX[29891]: command: JPARM PAGEWIDTH 209
Feb 22 00:23:13 s01 HylaFAX[29891]: <--- 213 PAGEWIDTH set to 209.
Feb 22 00:23:13 s01 HylaFAX[29891]: command: JPARM PAGELENGTH 296
Feb 22 00:23:13 s01 HylaFAX[29891]: <--- 213 PAGELENGTH set to 296.
Feb 22 00:23:13 s01 HylaFAX[29891]: command: JPARM NOTIFY "none"
Feb 22 00:23:13 s01 HylaFAX[29891]: <--- 213 NOTIFY set to "none".
Feb 22 00:23:13 s01 HylaFAX[29891]: command: JPARM PAGECHOP "default"
Feb 22 00:23:13 s01 HylaFAX[29891]: <--- 213 PAGECHOP set to "default".
Feb 22 00:23:13 s01 HylaFAX[29891]: command: JPARM CHOPTHRESHOLD 3
Feb 22 00:23:13 s01 HylaFAX[29891]: <--- 213 CHOPTHRESHOLD set to 3.
Feb 22 00:23:13 s01 HylaFAX[29891]: command: JPARM DOCUMENT /tmp/doc42.ps
Feb 22 00:23:13 s01 HylaFAX[29891]: <--- 200 Added document /tmp/doc42.ps as
docq/doc42.ps.42.
Feb 22 00:23:13 s01 HylaFAX[29891]: command: JSUBM
Feb 22 00:23:13 s01 FaxQueuer[29793]: SUBMIT JOB 42
Feb 22 00:23:13 s01 FaxQueuer[29793]: JOB 42 (suspended dest pri 127 tts 0:00
killtime 2:59:00): CREATE
Feb 22 00:23:13 s01 FaxQueuer[29793]: JOB 42 (ready dest +4967211859875 pri 127
tts 0:00 killtime 2:59:00): READY
Feb 22 00:23:13 s01 FaxQueuer[29793]: JOB 42 (ready dest +4967211859875 pri 127
tts 0:00 killtime 2:59:00): PROCESS
Feb 22 00:23:13 s01 FaxQueuer[29793]: JOB 42 (active dest +4967211859875 pri
127 tts 0:00 killtime 2:59:00): ACTIVE
Feb 22 00:23:13 s01 FaxQueuer[29793]: JOB 42 (active dest +4967211859875 pri
127 tts 0:00 killtime 2:59:00): PREPARE START
Feb 22 00:23:13 s01 HylaFAX[29891]: <--- 200 Job 42 submitted.
Feb 22 00:23:13 s01 FaxQueuer[29892]: JOB 42 (active dest +4967211859875 pri
127 tts 0:00 killtime 2:59:00): CONVERT DOCUMENT: bin/ps2fax -o
docq/doc42.ps;00 -r 98 -w 1728 -l 297 -m 4294967295 -1 docq/doc42.ps.42
Feb 22 00:23:13 s01 FaxQueuer[29793]: JOB 42 (active dest +4967211859875 pri
127 tts 0:00 killtime 2:59:00): PREPARE DONE
Feb 22 00:23:13 s01 FaxQueuer[29793]: JOB 42 (active dest +4967211859875 pri
127 tts 0:00 killtime 2:59:00): CMD START /usr/bin/c2faxsend -m faxCAPI
sendq/q42 (PID 29900)
*** Fax transfer starts ***
Feb 22 00:23:13 s01 kernel: kcapi: appl 4 up
Feb 22 00:23:14 s01 kernel: capidrv-1: incoming call 67211859875,2,2,1859875
Feb 22 00:23:14 s01 kernel: isdn_tty: call from 67211859875 -> 1859875 ignored
Feb 22 00:23:14 s01 kernel: capidrv-1: incoming call 67211859875,2,2,1859875
ignored
Feb 22 00:23:14 s01 kernel: kcapi: appl 4 ncci 0x10101 up
Feb 22 00:23:23 s01 kernel: kcapi: appl 2 ncci 0x20201 up
Feb 22 00:23:29 s01 kernel: kcapi: appl 4 ncci 0x10101 down
Feb 22 00:23:29 s01 kernel: kcapi: appl 2 ncci 0x20201 down
Feb 22 00:23:29 s01 kernel: kcapi: appl 4 releasing(1)
Feb 22 00:23:29 s01 kernel: kcapi: appl 4 down
Feb 22 00:23:29 s01 kernel: kcapi: recv_handler: applid 4 ? (LISTEN_CONF
ID=004 #0x0000 LEN=0014
Feb 22 00:23:29 s01 kernel: Controller/PLCI/NCCI = 0x1
Feb 22 00:23:29 s01 kernel: Info = 0x0
Feb 22 00:23:29 s01 kernel: )
Feb 22 00:23:29 s01 FaxQueuer[29793]: JOB 42 (active dest +4967211859875 pri
127 tts 0:00 killtime 2:58:44): CMD DONE: exit status 0
Feb 22 00:23:29 s01 FaxQueuer[29793]: JOB 42 (sleeping dest +4967211859875 pri
126 tts 0:00 killtime 2:58:44): SEND INCOMPLETE: requeue for 7:13;
Feb 22 00:23:29 s01 FaxQueuer[29793]: JOB 42 (sleeping dest +4967211859875 pri
126 tts 0:00 killtime 2:58:44): SLEEP FOR 7:13
*** here i manually remove the fax ***
Feb 22 00:23:48 s01 HylaFAX[30052]: servertracing = 0xfff (line 53)
Feb 22 00:23:48 s01 HylaFAX[30052]: <--- 220 s01.kis.te server (HylaFAX (tm)
Version 4.2.1) ready.
Feb 22 00:23:48 s01 HylaFAX[30052]: HylaFAX INET connection from localhost
[127.0.0.1]
Feb 22 00:23:48 s01 HylaFAX[30052]: command: USER gerhard
Feb 22 00:23:48 s01 HylaFAX[30052]: USER gerhard
Feb 22 00:23:48 s01 HylaFAX[30052]: <--- 230 User gerhard logged in.
Feb 22 00:23:48 s01 HylaFAX[30052]: FAX LOGIN FROM localhost [127.0.0.1],
gerhard
Feb 22 00:23:48 s01 HylaFAX[30052]: command: TZONE LOCAL
Feb 22 00:23:48 s01 HylaFAX[30052]: TZONE LOCAL
Feb 22 00:23:48 s01 HylaFAX[30052]: <--- 200 Using time values in CET.
Feb 22 00:23:48 s01 HylaFAX[30052]: command: JKILL 42
Feb 22 00:23:48 s01 FaxQueuer[29793]: KILL JOB 42
Feb 22 00:23:48 s01 FaxQueuer[29793]: NOTIFY: bin/notify "doneq/q42" "killed" ""
Feb 22 00:23:48 s01 FaxQueuer[29793]: JOB 42 (failed dest +4967211859875 pri
126 tts 6:54 killtime 2:58:25): DEAD
Feb 22 00:23:48 s01 FaxQueuer[29793]: JOB 42 (failed dest +4967211859875 pri
126 tts 6:54 killtime 2:58:25): DELETE
Feb 22 00:23:48 s01 HylaFAX[30052]: <--- 200 Job 42 killed.
Feb 22 00:23:48 s01 FaxQueuer[29793]: NOTIFY exit status: 0 (30053)
The log from capi4hylafax is:
-----------------------------
Feb 22 00:23:13.76: [29900]: CapiFaxSend - INFO: SESSION BEGIN 00000042
+49.6721.1859875
Feb 22 00:23:13.76: [29900]: CapiFaxSend - INFO: SEND FAX: JOB 42 DEST 1859875
COMMID 00000139
Feb 22 00:23:13.76: [29900]: CapiFaxSend - INFO: Try to connect to fax number
1859875 in Hylafax mode on controller 1.
Feb 22 00:23:13.76: [29900]: CapiFaxSend - INFO: Dial and starting transfer of
TIFF-File docq/doc42.ps;00 with normal resolution.
Feb 22 00:23:14.20: [ 1495]: c2faxrecv - INFO: SESSION BEGIN 00000140
+49.6721.1859875
Feb 22 00:23:14.20: [ 1495]: c2faxrecv - INFO: Incoming fax call on controller
1 from 67211859875 to 1859875.
Feb 22 00:23:21.36: [29902]: CapiFaxSend - INFO: Connection established.
Feb 22 00:23:21.36: [29902]: CapiFaxSend - INFO: StationID = +49 6721
1859875
Feb 22 00:23:21.36: [29902]: CapiFaxSend - INFO: BaudRate = 64000
Feb 22 00:23:21.36: [29902]: CapiFaxSend - INFO: Flags = HighRes,
MR_compr, MMR_compr
Feb 22 00:23:21.37: [29902]: CapiFaxSend - INFO: Page 1 was sended. - Last Page!
Feb 22 00:23:21.37: [29902]: CapiFaxSend - INFO: Fax file completely transfered
to CAPI.
Feb 22 00:23:23.75: [ 1495]: c2faxrecv - INFO: Connection established.
Feb 22 00:23:23.75: [ 1495]: c2faxrecv - INFO: StationID = +49 6721 1859875
Feb 22 00:23:23.75: [ 1495]: c2faxrecv - INFO: BaudRate = 64000
Feb 22 00:23:23.75: [ 1495]: c2faxrecv - INFO: Flags = MMR_compr
Feb 22 00:23:23.75: [ 1495]: c2faxrecv - INFO: Write fax in path
/var/spool/hylafax to file recvq/fax00046.tif.
Feb 22 00:23:26.74: [ 1495]: c2faxrecv - INFO: Page 1 was received. - Last Page!
Feb 22 00:23:29.36: [29902]: CapiFaxSend - INFO: Connection dropped with Reason
0x3400 (No additional information).
Feb 22 00:23:29.39: [ 1495]: c2faxrecv - INFO: Fax received and calling
'/var/spool/hylafax/bin/faxrcvd "recvq/fax00046.tif" "faxCAPI" "00000140" ""
"+49 6721 1859875" "" "1859875"'.
Feb 22 00:23:30.08: [ 1495]: c2faxrecv - INFO: Connection is droped with reason
0x3400 (No additional information).
Feb 22 00:23:30.08: [ 1495]: c2faxrecv - INFO: SESSION END
The status mail i receive as user gerhard is:
-----------------------------------------------
Your facsimile job to 1859875 was deleted from the queue.
---- Unsent job status ----
Destination: 1859875
JobID: 42
GroupID: 42
Sender: Gerhard Brauer
Mailaddr: [EMAIL PROTECTED]
CommID: 00000139
Submitted From: ws02.kis.te
Page Width: 209 (mm)
Page Length: 296 (mm)
Resolution: 98 (lpi)
Status: (nothing available)
Dialogs: 1 (exchanges with remote device)
Dials: 2 (consecutive failed calls to destination)
Calls: 2 (total phone calls placed)
Pages: 1 (pages transmitted)
TotPages: 1 (total pages to transmit)
Attempts: 1 (attempts to send current page)
Dirnum: 0 (directory of next page to send)
---- Documents submitted for transmission ----
The following documents were submitted for transmission and are
available on the server for reuse until they are automatically
purged when this job is removed. Documents may also be manually
removed using the faxrm command; consult faxrm(1) for information.
Filename Size Type
docq/doc42.ps 5825 PostScript
I hope this is what you wanted ;-)
>
> Please, have also a look at:
> http://bugs.hylafax.org/bugzilla/show_bug.cgi?id=619
>
> Thanks,
> Giuseppe
Bye
Gerhard
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]