HylaFAX The world's
most advanced open source fax server
|
|
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
[hylafax-users] Error When Sending With &D0
I have an external serial modem connecting to a USB port with a pl2303
converter.
DTR is not asserted so in order to solve it we need to add &D0 to the
init string:
ModemResetCmds: AT&D0&W
It is dialing but we get an error:
Mar 10 09:39:08.83: [23933]: SESSION BEGIN 000026224 97297777777
Mar 10 09:39:08.83: [23933]: HylaFAX (tm) Version 4.3.0
Mar 10 09:39:08.83: [23933]: SEND FAX: JOB 8781 DEST 7777777 COMMID
000026224 DEVICE '/dev/ttyUSB0' FROM
Mar 10 09:39:08.83: [23933]: <-- [12:AT+FCLASS=1\r]
Mar 10 09:39:08.86: [23933]: --> [2:OK]
Mar 10 09:39:08.86: [23933]: DIAL 7777777
Mar 10 09:39:08.86: [23933]: <-- [13:ATDT97777777\r]
Mar 10 09:39:27.68: [23933]: --> [7:CONNECT]
Mar 10 09:39:27.70: [23933]: --> [2:OK]
Mar 10 09:39:27.70: [23933]: REMOTE NSF "AD 00 55 48 79 6C 61 46 41 58
20 28 74 6D 29 20 56 65 72 73 69 6F 6E 20 34 2E 33 2E 30"
Mar 10 09:39:27.70: [23933]: NSF remote fax equipment: HylaFAX
Mar 10 09:39:27.70: [23933]: NSF remote station ID: "HylaFAX (tm) Version 4.3.0"
Mar 10 09:39:27.70: [23933]: <-- [9:AT+FRH=3\r]
Mar 10 09:39:28.38: [23933]: --> [7:CONNECT]
Mar 10 09:39:28.40: [23933]: --> [2:OK]
Mar 10 09:39:28.40: [23933]: REMOTE CSI "**********"
Mar 10 09:39:28.40: [23933]: <-- [9:AT+FRH=3\r]
Mar 10 09:39:28.82: [23933]: --> [7:CONNECT]
Mar 10 09:39:28.83: [23933]: --> [2:OK]
Mar 10 09:39:28.83: [23933]: REMOTE best rate 14400 bit/s
Mar 10 09:39:28.83: [23933]: REMOTE max A3 page width (303 mm)
Mar 10 09:39:28.83: [23933]: REMOTE max unlimited page length
Mar 10 09:39:28.83: [23933]: REMOTE best vres R16 x 15.4 line/mm
Mar 10 09:39:28.83: [23933]: REMOTE format support: MH, MR, MMR
Mar 10 09:39:28.83: [23933]: REMOTE supports T.30 Annex A, 256-byte ECM
Mar 10 09:39:28.83: [23933]: REMOTE best 0 ms/scanline
Mar 10 09:39:28.83: [23933]: USE 14400 bit/s
Mar 10 09:39:28.83: [23933]: USE error correction mode
Mar 10 09:39:28.83: [23933]: SEND file "docq/doc8637.ps;c0"
Mar 10 09:39:28.83: [23933]: USE A4 page width (215 mm)
Mar 10 09:39:28.83: [23933]: USE unlimited page length
Mar 10 09:39:28.83: [23933]: USE 3.85 line/mm
Mar 10 09:39:28.83: [23933]: USE 2-D MMR
Mar 10 09:39:28.83: [23933]: USE 0 ms/scanline
Mar 10 09:39:28.83: [23933]: SEND training at v.17 14400 bit/s
Mar 10 09:39:28.83: [23933]: <-- [9:AT+FRS=7\r]
Mar 10 09:39:28.92: [23933]: --> [2:OK]
Mar 10 09:39:28.92: [23933]: <-- [9:AT+FTH=3\r]
Mar 10 09:39:34.79: [23933]: --> [7:CONNECT]
Mar 10 09:39:34.79: [23933]: <-- data [23]
Mar 10 09:39:34.79: [23933]: <-- data [2]
Mar 10 09:39:34.80: [23933]: --> [5:ERROR]
Mar 10 09:39:34.80: [23933]: MODEM Command error
Mar 10 09:39:34.80: [23933]: Error sending T.30 prologue frames
Mar 10 09:39:34.80: [23933]: SEND training at v.17 12000 bit/s
Mar 10 09:39:34.80: [23933]: <-- [9:AT+FRS=7\r]
Mar 10 09:39:34.89: [23933]: --> [2:OK]
Mar 10 09:39:34.89: [23933]: <-- [9:AT+FTH=3\r]
Mar 10 09:39:40.76: [23933]: --> [7:CONNECT]
Mar 10 09:39:40.76: [23933]: <-- data [23]
Mar 10 09:39:40.76: [23933]: <-- data [2]
Mar 10 09:39:40.76: [23933]: --> [5:ERROR]
Mar 10 09:39:40.76: [23933]: MODEM Command error
Mar 10 09:39:40.76: [23933]: Error sending T.30 prologue frames
Mar 10 09:39:40.76: [23933]: SEND training at v.17 9600 bit/s
Mar 10 09:39:40.76: [23933]: <-- [9:AT+FRS=7\r]
Mar 10 09:39:40.86: [23933]: --> [2:OK]
Mar 10 09:39:40.86: [23933]: <-- [9:AT+FTH=3\r]
Mar 10 09:39:46.73: [23933]: --> [7:CONNECT]
Mar 10 09:39:46.73: [23933]: <-- data [23]
Mar 10 09:39:46.73: [23933]: <-- data [2]
Mar 10 09:39:46.74: [23933]: --> [5:ERROR]
Mar 10 09:39:46.74: [23933]: MODEM Command error
Mar 10 09:39:46.74: [23933]: Error sending T.30 prologue frames
Mar 10 09:39:46.74: [23933]: SEND training at v.29 9600 bit/s
Mar 10 09:39:46.74: [23933]: <-- [9:AT+FRS=7\r]
Mar 10 09:39:46.83: [23933]: --> [2:OK]
Mar 10 09:39:46.83: [23933]: <-- [9:AT+FTH=3\r]
Mar 10 09:39:52.70: [23933]: --> [7:CONNECT]
Mar 10 09:39:52.70: [23933]: <-- data [23]
Mar 10 09:39:52.70: [23933]: <-- data [2]
Mar 10 09:39:52.71: [23933]: --> [5:ERROR]
Mar 10 09:39:52.71: [23933]: MODEM Command error
Mar 10 09:39:52.71: [23933]: Error sending T.30 prologue frames
Mar 10 09:39:52.71: [23933]: SEND training at v.29 7200 bit/s
Mar 10 09:39:52.71: [23933]: <-- [9:AT+FRS=7\r]
Mar 10 09:39:52.80: [23933]: --> [2:OK]
Mar 10 09:39:52.80: [23933]: <-- [9:AT+FTH=3\r]
Mar 10 09:39:58.67: [23933]: --> [7:CONNECT]
Mar 10 09:39:58.67: [23933]: <-- data [23]
Mar 10 09:39:58.67: [23933]: <-- data [2]
Mar 10 09:39:58.67: [23933]: --> [5:ERROR]
Mar 10 09:39:58.67: [23933]: MODEM Command error
Mar 10 09:39:58.67: [23933]: Error sending T.30 prologue frames
Mar 10 09:39:58.67: [23933]: SEND training at v.27ter 4800 bit/s
Mar 10 09:39:58.67: [23933]: <-- [9:AT+FRS=7\r]
Mar 10 09:39:58.77: [23933]: --> [2:OK]
Mar 10 09:39:58.77: [23933]: <-- [9:AT+FTH=3\r]
Mar 10 09:40:04.64: [23933]: --> [7:CONNECT]
Mar 10 09:40:04.64: [23933]: <-- data [23]
Mar 10 09:40:04.64: [23933]: <-- data [2]
Mar 10 09:40:04.65: [23933]: --> [5:ERROR]
Mar 10 09:40:04.65: [23933]: MODEM Command error
Mar 10 09:40:04.65: [23933]: Error sending T.30 prologue frames
Mar 10 09:40:04.65: [23933]: SEND training at v.27ter fallback mode 2400 bit/s
Mar 10 09:40:04.65: [23933]: <-- [9:AT+FRS=7\r]
Mar 10 09:40:04.74: [23933]: --> [2:OK]
Mar 10 09:40:04.74: [23933]: <-- [9:AT+FTH=3\r]
Mar 10 09:40:10.61: [23933]: --> [7:CONNECT]
Mar 10 09:40:10.61: [23933]: <-- data [23]
Mar 10 09:40:10.61: [23933]: <-- data [2]
Mar 10 09:40:10.61: [23933]: --> [5:ERROR]
Mar 10 09:40:10.61: [23933]: MODEM Command error
Mar 10 09:40:10.61: [23933]: Error sending T.30 prologue frames
Mar 10 09:40:10.61: [23933]: TRAINING failed
Mar 10 09:40:10.61: [23933]: SEND: Failure to train remote modem at
2400 bps or minimum speed; Giving up
Mar 10 09:40:10.61: [23933]: <-- [9:AT+FTH=3\r]
Mar 10 09:40:16.50: [23933]: --> [7:CONNECT]
Mar 10 09:40:16.50: [23933]: <-- data [3]
Mar 10 09:40:16.50: [23933]: <-- data [2]
Mar 10 09:40:16.50: [23933]: --> [5:ERROR]
Mar 10 09:40:16.50: [23933]: MODEM Command error
Mar 10 09:40:16.51: [23933]: <-- [5:ATH0\r]
Mar 10 09:40:17.30: [23933]: --> [2:OK]
Mar 10 09:40:17.44: [23933]: SESSION END
This is the log at the answering machine:
Mar 10 09:39:18.77: [23838]: SESSION BEGIN 000026227 97297777777
Mar 10 09:39:18.77: [23838]: HylaFAX (tm) Version 4.3.0
Mar 10 09:39:18.77: [23838]: <-- [4:ATA\r]
Mar 10 09:39:26.60: [23838]: --> [7:CONNECT]
Mar 10 09:39:26.60: [23838]: ANSWER: FAX CONNECTION DEVICE '/dev/ttyS0'
Mar 10 09:39:26.60: [23838]: RECV FAX: begin
Mar 10 09:39:26.60: [23838]: <-- data [32]
Mar 10 09:39:26.60: [23838]: <-- data [2]
Mar 10 09:39:26.63: [23838]: --> [7:CONNECT]
Mar 10 09:39:26.63: [23838]: <-- data [23]
Mar 10 09:39:26.63: [23838]: <-- data [2]
Mar 10 09:39:26.66: [23838]: --> [7:CONNECT]
Mar 10 09:39:26.66: [23838]: <-- data [13]
Mar 10 09:39:26.66: [23838]: <-- data [2]
Mar 10 09:39:28.86: [23838]: --> [2:OK]
Mar 10 09:39:28.86: [23838]: <-- [9:AT+FRH=3\r]
Mar 10 09:39:28.98: [23838]: --> [7:CONNECT]
Mar 10 09:39:34.82: [23838]: --> [10:NO CARRIER]
Mar 10 09:39:34.82: [23838]: MODEM No carrier
Mar 10 09:39:34.82: [23838]: <-- [9:AT+FRS=7\r]
Mar 10 09:39:34.91: [23838]: --> [2:OK]
Mar 10 09:39:34.91: [23838]: <-- [9:AT+FTH=3\r]
Mar 10 09:39:35.78: [23838]: --> [7:CONNECT]
Mar 10 09:39:35.85: [23838]: <-- data [3]
Mar 10 09:39:35.85: [23838]: <-- data [2]
Mar 10 09:39:36.18: [23838]: --> [2:OK]
Mar 10 09:39:36.18: [23838]: RECV send CRP (command repeat)
Mar 10 09:39:36.18: [23838]: <-- [9:AT+FRH=3\r]
Mar 10 09:39:36.24: [23838]: --> [7:CONNECT]
Mar 10 09:39:40.79: [23838]: --> [10:NO CARRIER]
Mar 10 09:39:40.79: [23838]: MODEM No carrier
Mar 10 09:39:40.79: [23838]: <-- [9:AT+FRS=7\r]
Mar 10 09:39:40.88: [23838]: --> [2:OK]
Mar 10 09:39:40.88: [23838]: <-- [9:AT+FTH=3\r]
Mar 10 09:39:41.75: [23838]: --> [7:CONNECT]
Mar 10 09:39:41.75: [23838]: <-- data [3]
Mar 10 09:39:41.75: [23838]: <-- data [2]
Mar 10 09:39:42.07: [23838]: --> [2:OK]
Mar 10 09:39:42.07: [23838]: RECV send CRP (command repeat)
Mar 10 09:39:42.07: [23838]: <-- [9:AT+FRH=3\r]
Mar 10 09:39:42.14: [23838]: --> [7:CONNECT]
Mar 10 09:39:46.77: [23838]: --> [10:NO CARRIER]
Mar 10 09:39:46.77: [23838]: MODEM No carrier
Mar 10 09:39:46.77: [23838]: <-- [9:AT+FRS=7\r]
Mar 10 09:39:46.86: [23838]: --> [2:OK]
Mar 10 09:39:46.86: [23838]: <-- [9:AT+FTH=3\r]
Mar 10 09:39:47.73: [23838]: --> [7:CONNECT]
Mar 10 09:39:47.73: [23838]: <-- data [3]
Mar 10 09:39:47.73: [23838]: <-- data [2]
Mar 10 09:39:48.05: [23838]: --> [2:OK]
Mar 10 09:39:48.05: [23838]: RECV send CRP (command repeat)
Mar 10 09:39:48.05: [23838]: <-- [9:AT+FRH=3\r]
Mar 10 09:39:48.11: [23838]: --> [7:CONNECT]
Mar 10 09:39:52.74: [23838]: --> [10:NO CARRIER]
Mar 10 09:39:52.74: [23838]: MODEM No carrier
Mar 10 09:39:52.74: [23838]: DELAY 1500 ms
Mar 10 09:39:54.24: [23838]: <-- [9:AT+FTH=3\r]
Mar 10 09:39:55.11: [23838]: --> [7:CONNECT]
Mar 10 09:39:55.11: [23838]: <-- data [32]
Mar 10 09:39:55.11: [23838]: <-- data [2]
Mar 10 09:39:55.14: [23838]: --> [7:CONNECT]
Mar 10 09:39:55.14: [23838]: <-- data [23]
Mar 10 09:39:55.14: [23838]: <-- data [2]
Mar 10 09:39:55.17: [23838]: --> [7:CONNECT]
Mar 10 09:39:55.17: [23838]: <-- data [13]
Mar 10 09:39:55.17: [23838]: <-- data [2]
Mar 10 09:39:57.37: [23838]: --> [2:OK]
Mar 10 09:39:57.37: [23838]: <-- [9:AT+FRH=3\r]
Mar 10 09:39:57.44: [23838]: --> [7:CONNECT]
Mar 10 09:39:58.70: [23838]: --> [10:NO CARRIER]
Mar 10 09:39:58.70: [23838]: MODEM No carrier
Mar 10 09:39:58.70: [23838]: <-- [9:AT+FRS=7\r]
Mar 10 09:39:58.79: [23838]: --> [2:OK]
Mar 10 09:39:58.79: [23838]: <-- [9:AT+FTH=3\r]
Mar 10 09:39:59.66: [23838]: --> [7:CONNECT]
Mar 10 09:39:59.66: [23838]: <-- data [3]
Mar 10 09:39:59.66: [23838]: <-- data [2]
Mar 10 09:39:59.98: [23838]: --> [2:OK]
Mar 10 09:39:59.98: [23838]: RECV send CRP (command repeat)
Mar 10 09:39:59.98: [23838]: <-- [9:AT+FRH=3\r]
Mar 10 09:40:00.05: [23838]: --> [7:CONNECT]
Mar 10 09:40:04.68: [23838]: --> [10:NO CARRIER]
Mar 10 09:40:04.68: [23838]: MODEM No carrier
Mar 10 09:40:04.68: [23838]: <-- [9:AT+FRS=7\r]
Mar 10 09:40:04.77: [23838]: --> [2:OK]
Mar 10 09:40:04.77: [23838]: <-- [9:AT+FTH=3\r]
Mar 10 09:40:05.64: [23838]: --> [7:CONNECT]
Mar 10 09:40:05.64: [23838]: <-- data [3]
Mar 10 09:40:05.64: [23838]: <-- data [2]
Mar 10 09:40:05.96: [23838]: --> [2:OK]
Mar 10 09:40:05.96: [23838]: RECV send CRP (command repeat)
Mar 10 09:40:05.96: [23838]: <-- [9:AT+FRH=3\r]
Mar 10 09:40:06.02: [23838]: --> [7:CONNECT]
Mar 10 09:40:10.64: [23838]: --> [10:NO CARRIER]
Mar 10 09:40:10.64: [23838]: MODEM No carrier
Mar 10 09:40:10.64: [23838]: <-- [9:AT+FRS=7\r]
Mar 10 09:40:16.64: [23838]: --> [2:OK]
Mar 10 09:40:16.64: [23838]: <-- [9:AT+FTH=3\r]
Mar 10 09:40:17.51: [23838]: --> [7:CONNECT]
Mar 10 09:40:17.51: [23838]: <-- data [3]
Mar 10 09:40:17.51: [23838]: <-- data [2]
Mar 10 09:40:17.83: [23838]: --> [2:OK]
Mar 10 09:40:17.83: [23838]: RECV send CRP (command repeat)
Mar 10 09:40:17.83: [23838]: <-- [9:AT+FRH=3\r]
Mar 10 09:40:24.84: [23838]: --> [0:]
Mar 10 09:40:24.84: [23838]: MODEM <Empty line>
Mar 10 09:40:24.84: [23838]: <-- data [1]
Mar 10 09:40:24.85: [23838]: --> [2:^P^C]
Mar 10 09:40:24.85: [23838]: --> [2:OK]
Mar 10 09:40:24.85: [23838]: RECV FAX: No answer (T.30 T1 timeout)
Mar 10 09:40:24.85: [23838]: RECV FAX: end
Mar 10 09:40:24.85: [23838]: SESSION END
The answering modem is working perfectly at the moment, attaching to a
serial port.
This is the send's modem config:
ModemType: Class1 # use this to supply a hint
ModemRate: 14400 # rate for DCE-DTE communication
ModemDialCmd: ATDT9%s # T for tone dialing
ModemResetCmds: AT&D0&W # stuff to do when modem is reset
ModemVerboseResultsCmd: ATV1 # enable verbose command results
Class1Cmd: AT+FCLASS=1 # command to enter class 1
Class1PPMWaitCmd: AT+FTS=7 # command to stop and wait before PPM
Class1TCFWaitCmd: AT+FTS=7 # command to stop and wait before TCF
Class1EOPWaitCmd: AT+FTS=9 # command to stop and wait before EOP
Class1SendMsgDelay: 200 # 75ms delay after training
Class1SwitchingCmd: AT+FRS=7 # silence between HDLC recv and trans
Class1TrainingRecovery: 1500 # 1.5sec delay after training failure
Class1RecvAbortOK: 200 # wait 200ms for abort response
Class1FrameOverhead: 4 # 4 byte overhead in recvd HDLC frames
Class1RecvIdentTimer: 40000 # 35+5secs waiting for ident frames
Class1TCFMaxNonZero: 10 # max 10% of data may be non-zero
Class1TCFMinRun: 1000 # min run is 2/3rds of TCF duration
Any ideas on how to solve this?
Thanks.
____________________ 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*