HylaFAX The world's
most advanced open source fax server
|
|
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
[hylafax-users] Modem hangs on receiving
Hi guys
I'm try to set up a complete send/receive environment with HylaFax+ on
a xen dom0 openSUSE machine but while i can send faxes without any
problem, when receivin the modem hangs. config.ttyS0 and one of the
failed receives log follows.
I am really new to hylafax, but for what i'v read here and there i
know that is better to have a rt kernel to operate with a fax
environment. A xen enabled kernel is not really rt so this can be the
problem. But what i need to find out (something i can't really
understand) is if it is clearly a kernel problem or a modem problem.
Please have a look at the logs:
**one of the failed receives:
Mar 22 17:07:02.43: [ 3911]: SESSION BEGIN 000000006 +39079661438
Mar 22 17:07:02.43: [ 3911]: HylaFAX (tm) Version 5.2.9
Mar 22 17:07:02.43: [ 3911]: <-- [4:ATA\r]
Mar 22 17:07:13.10: [ 3911]: --> [7:CONNECT]
Mar 22 17:07:13.10: [ 3911]: ANSWER: FAX CONNECTION DEVICE '/dev/ttyS0'
Mar 22 17:07:13.10: [ 3911]: STATE CHANGE: ANSWERING -> RECEIVING
Mar 22 17:07:13.10: [ 3911]: RECV FAX: begin
Mar 22 17:07:13.10: [ 3911]: <-- HDLC<32:FF C0 04 B5 00 AA 12 9E 36 86
62 82 1A 04 14 2E B6 94 04 6A A6 4E CE 96 F6 76 04 AC 74 4C 74 9C>
Mar 22 17:07:13.10: [ 3911]: <-- data [32]
Mar 22 17:07:13.10: [ 3911]: <-- data [2]
Mar 22 17:07:13.13: [ 3911]: --> [7:CONNECT]
Mar 22 17:07:13.13: [ 3911]: <-- HDLC<23:FF C0 02 A6 C6 96 6E 4E A6 CA
04 86 96 36 E6 86 E6 96 4E 42 04 04 04>
Mar 22 17:07:13.13: [ 3911]: <-- data [23]
Mar 22 17:07:13.13: [ 3911]: <-- data [2]
Mar 22 17:07:13.15: [ 3911]: --> [7:CONNECT]
Mar 22 17:07:13.15: [ 3911]: <-- HDLC<13:FF C8 01 00 77 5F 23 01 FB C1 01 01 18>
Mar 22 17:07:13.15: [ 3911]: <-- data [13]
Mar 22 17:07:13.15: [ 3911]: <-- data [2]
Mar 22 17:07:15.35: [ 3911]: --> [2:OK]
Mar 22 17:07:15.35: [ 3911]: <-- [9:AT+FRH=3\r]
Mar 22 17:07:15.43: [ 3911]: --> [7:CONNECT]
Mar 22 17:07:17.19: [ 3911]: --> HDLC<25:FF C0 C2 6C CC 2C 0C 4C 6C 9C
EC 0C 04 04 04 04 04 04 04 04 04 04 04 BA C5>
Mar 22 17:07:17.19: [ 3911]: --> [2:OK]
Mar 22 17:07:17.19: [ 3911]: RECV recv TSI (sender id)
Mar 22 17:07:17.19: [ 3911]: REMOTE TSI "079620436"
Mar 22 17:07:17.19: [ 3911]: <-- [9:AT+FRH=3\r]
Mar 22 17:07:17.21: [ 3911]: --> [7:CONNECT]
Mar 22 17:07:17.62: [ 3911]: --> HDLC<15:FF C8 C1 00 44 1F 23 01 01 01
01 01 00 B7 02>
Mar 22 17:07:17.62: [ 3911]: --> [2:OK]
Mar 22 17:07:17.62: [ 3911]: RECV recv DCS (command signal)
Mar 22 17:07:17.62: [ 3911]: REMOTE wants 14400 bit/s
Mar 22 17:07:17.62: [ 3911]: REMOTE wants A4 page width (215 mm)
Mar 22 17:07:17.62: [ 3911]: REMOTE wants unlimited page length
Mar 22 17:07:17.62: [ 3911]: REMOTE wants 3.85 line/mm
Mar 22 17:07:17.62: [ 3911]: REMOTE wants 2-D MMR
Mar 22 17:07:17.62: [ 3911]: REMOTE wants T.30 Annex A, 256-byte ECM
Mar 22 17:07:17.62: [ 3911]: RECV training at v.17 14400 bit/s
Mar 22 17:07:17.62: [ 3911]: <-- [11:AT+FRM=145\r]
Mar 22 17:07:19.34: [ 3911]: --> [7:CONNECT]
Mar 22 17:07:20.85: [ 3911]: RECV: TCF 2704 bytes, 0% non-zero, 2673 zero-run
Mar 22 17:07:20.85: [ 3911]: --> [10:NO CARRIER]
Mar 22 17:07:20.85: [ 3911]: <-- [9:AT+FRS=7\r]
Mar 22 17:07:20.94: [ 3911]: --> [2:OK]
Mar 22 17:07:20.94: [ 3911]: TRAINING succeeded
Mar 22 17:07:20.94: [ 3911]: <-- [9:AT+FTH=3\r]
Mar 22 17:07:21.81: [ 3911]: --> [7:CONNECT]
Mar 22 17:07:21.81: [ 3911]: <-- HDLC<3:FF C8 21>
Mar 22 17:07:21.81: [ 3911]: <-- data [3]
Mar 22 17:07:21.81: [ 3911]: <-- data [2]
Mar 22 17:07:22.13: [ 3911]: --> [2:OK]
Mar 22 17:07:22.13: [ 3911]: <-- [11:AT+FRM=146\r]
Mar 22 17:07:22.93: [ 3911]: --> [7:CONNECT]
Mar 22 17:07:22.93: [ 3911]: MODEM input buffering enabled
Mar 22 17:07:23.36: [ 3911]: RECV received frame number 0
Mar 22 17:07:23.50: [ 3911]: RECV received frame number 1
Mar 22 17:07:23.63: [ 3911]: RECV received frame number 2
Mar 22 17:07:23.77: [ 3911]: RECV received frame number 3
Mar 22 17:07:23.91: [ 3911]: RECV received frame number 4
Mar 22 17:07:24.05: [ 3911]: RECV received frame number 5
Mar 22 17:07:24.19: [ 3911]: RECV received frame number 6
Mar 22 17:07:24.40: [ 3911]: RECV received frame number 7
Mar 22 17:07:24.54: [ 3911]: RECV received frame number 8
Mar 22 17:07:24.67: [ 3911]: RECV received frame number 9
Mar 22 17:07:24.81: [ 3911]: RECV received frame number 10
Mar 22 17:07:24.95: [ 3911]: RECV received frame number 11
Mar 22 17:07:25.10: [ 3911]: RECV received frame number 12
Mar 22 17:07:25.23: [ 3911]: RECV received frame number 13
Mar 22 17:07:25.37: [ 3911]: RECV received frame number 14
Mar 22 17:08:25.53: [ 3911]: MODEM TIMEOUT: reading from modem
Mar 22 17:08:25.53: [ 3911]: Bad HDLC terminating flag received.
Mar 22 17:09:25.00: [ 3911]: Timeout awaiting synchronization sequence
Mar 22 17:09:25.00: [ 3911]: Bad HDLC terminating flag received.
Mar 22 17:10:25.00: [ 3911]: Timeout awaiting synchronization sequence
Mar 22 17:10:25.00: [ 3911]: Bad HDLC terminating flag received.
Mar 22 17:11:25.00: [ 3911]: Timeout awaiting synchronization sequence
Mar 22 17:11:25.00: [ 3911]: Bad HDLC terminating flag received.
Mar 22 17:12:25.00: [ 3911]: Timeout awaiting synchronization sequence
Mar 22 17:12:25.00: [ 3911]: MODEM input buffering disabled
Mar 22 17:12:55.00: [ 3911]: MODEM TIMEOUT: reading from modem
Mar 22 17:12:55.00: [ 3911]: <-- data [1]
Mar 22 17:12:55.20: [ 3911]: MODEM TIMEOUT: reading line from modem
Mar 22 17:12:55.20: [ 3911]: MODEM <Timeout>
Mar 22 17:12:55.20: [ 3911]: Timeout waiting for Phase C carrier drop. {E154}
Mar 22 17:12:55.21: [ 3911]: RECV: 3840 bytes of data, 318 total lines
Mar 22 17:12:55.21: [ 3911]: RECV keeping unconfirmed page
Mar 22 17:12:55.21: [ 3911]: RECV FAX (000000006): from 079620436,
page 1 in 0:05:42, INF, 3.85 line/mm, 2-D MMR, 14400 bit/s
Mar 22 17:12:56.22: [ 3911]: RECV FAX: Timeout waiting for Phase C
carrier drop. {E154}
Mar 22 17:12:56.22: [ 3911]: <-- [9:AT+FRS=7\r]
Mar 22 17:12:56.22: [ 3911]: RECV FAX (000000006):
recvq/fax000000005.tif from 079620436, subaddress <unspecified>, 1
pages in 0:05:42
Mar 22 17:13:26.22: [ 3911]: MODEM TIMEOUT: reading line from modem
Mar 22 17:13:26.22: [ 3911]: MODEM <Timeout>
Mar 22 17:13:26.22: [ 3911]: Failure to receive silence
(synchronization failure). {E100}
Mar 22 17:13:26.22: [ 3911]: <-- data [1]
Mar 22 17:13:26.42: [ 3911]: MODEM TIMEOUT: reading line from modem
Mar 22 17:13:26.42: [ 3911]: MODEM <Timeout>
Mar 22 17:13:26.42: [ 3911]: <-- [9:AT+FTH=3\r]
Mar 22 17:13:33.98: [ 3911]: --> [0:]
Mar 22 17:13:33.98: [ 3911]: MODEM TIMEOUT: sending HDLC frame
Mar 22 17:13:33.98: [ 3911]: MODEM input buffering enabled
Mar 22 17:13:33.98: [ 3911]: RECV FAX (000000006): session with
079620436 terminated abnormally: Timeout waiting for Phase C carrier
drop. {E154}
Mar 22 17:13:33.98: [ 3911]: RECV FAX: bin/faxrcvd
'recvq/fax000000005.tif' 'ttyS0' '000000006' 'Timeout waiting for
Phase C carrier drop. {E154}'
Mar 22 17:13:33.98: [ 3911]: RECV FAX: end
Mar 22 17:13:33.98: [ 3911]: SESSION END
**the config.ttyS0 file:
CountryCode: 39
AreaCode: 079
FAXNumber: +39.079.661438
LongDistancePrefix: 0
InternationalPrefix: 00
DialStringRules: etc/dialrules
ServerTracing: 1
SessionTracing: 0xFFF
RecvFileMode: 0660
LogFileMode: 0600
DeviceMode: 0600
RingsBeforeAnswer: 2
SpeakerVolume: high
GettyArgs: "-h %l dx_%s"
LocalIdentifier: "Brigaglia Service"
TagLineFont: etc/lutRS18.pcf
TagLineFormat: "From %%l|%c|Page %%P of %%T"
MaxRecvPages: 30
#
ModemType: Class1 # use this to supply a hint
ModemFlowControl: rtscts # many firmwares have broken
software flow control
ModemSetupDTRCmd: AT&D3 # hang up and reset on DTR drop
Class1TMConnectDelay: 400 # counteract quick CONNECT response
Class1HasRHConnectBug: yes # cope with +FRH=3 CONNECT errors
--
--
___
Salvatore Brigaglia
http://www.kde-it.org
http://opensourcecat.blogspot.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*