HylaFAX The world's most advanced open source fax server |
Hi all, I've configured a serial Robotics modem as my fax sender and receiver. I have successfully configured to send faxes, but i have sometimes problems when i received a fax. Sometimes i receive well the fax, but many of the times the reception fails. Could someone tell me what can be the problem? I have no idea about the error messages. Or maybe someone can send me a valid configuration file for this modem? This is the error log: An attempt to receive facsimile on ttyS0 failed because: T.30 T2 timeout, expected page not received ---- Transcript of session follows ---- May 19 11:41:39.76: [ 292]: SESSION BEGIN 00000190 3491XXXXXXX May 19 11:41:39.76: [ 292]: HylaFAX (tm) Version 4.1.1 May 19 11:41:39.76: [ 292]: MODEM set XON/XOFF/FLUSH: input ignored, output disabled May 19 11:41:39.76: [ 292]: <-- [19:AT+FCLASS=1#CID=1A\r] May 19 11:41:45.05: [ 292]: --> [7:CONNECT] May 19 11:41:45.05: [ 292]: ANSWER: FAX CONNECTION DEVICE '/dev/ttyS0' May 19 11:41:45.05: [ 292]: STATE CHANGE: ANSWERING -> RECEIVING May 19 11:41:45.05: [ 292]: MODEM input buffering enabled May 19 11:41:45.05: [ 292]: RECV FAX: begin May 19 11:41:45.05: [ 292]: MODEM input buffering disabled May 19 11:41:45.05: [ 292]: <-- HDLC<23:FF C0 02 0E AE 2E A6 CA E6 76 96 16 2E F6 72 04 04 04 04 04 04 04 04> May 19 11:41:45.07: [ 292]: --> [7:CONNECT] May 19 11:41:45.07: [ 292]: <-- HDLC<10:FF C8 01 00 77 5F 01 79 03 C0> May 19 11:41:47.03: [ 292]: --> [2:OK] May 19 11:41:47.03: [ 292]: <-- [9:AT+FRH=3\r] May 19 11:41:47.22: [ 292]: --> [7:CONNECT] May 19 11:41:48.85: [ 292]: --> HDLC<25:FF C0 C2 CC 4C 9C 4C AC CC AC 04 8C 9C 04 04 04 04 04 04 04 04 04 04 41 E3> May 19 11:41:48.85: [ 292]: --> [2:OK] May 19 11:41:48.85: [ 292]: REMOTE TSI "91 XXXXXXX" May 19 11:41:48.85: [ 292]: <-- [9:AT+FRH=3\r] May 19 11:41:48.86: [ 292]: --> [7:CONNECT] May 19 11:41:49.12: [ 292]: --> HDLC<9:FF C8 C1 00 61 15 00 D1 06> May 19 11:41:49.12: [ 292]: --> [2:OK] May 19 11:41:49.12: [ 292]: REMOTE wants 9600 bit/s May 19 11:41:49.12: [ 292]: REMOTE wants page width 1728 pixels in 215 mm May 19 11:41:49.12: [ 292]: REMOTE wants unlimited page length May 19 11:41:49.12: [ 292]: REMOTE wants 3.85 line/mm May 19 11:41:49.12: [ 292]: REMOTE wants 2-D MR May 19 11:41:49.12: [ 292]: RECV training at v.29 9600 bit/s May 19 11:41:49.12: [ 292]: MODEM set XON/XOFF/DRAIN: input ignored, output generated May 19 11:41:49.12: [ 292]: <-- [10:AT+FRM=96\r] May 19 11:41:49.48: [ 292]: --> [7:CONNECT] May 19 11:41:51.05: [ 292]: MODEM set XON/XOFF/DRAIN: input ignored, output disabled May 19 11:41:51.05: [ 292]: RECV: TCF 1893 bytes, 5% non-zero, 1797 zero-run May 19 11:41:51.05: [ 292]: --> [10:NO CARRIER] May 19 11:41:51.05: [ 292]: DELAY 75 ms May 19 11:41:51.13: [ 292]: TRAINING succeeded May 19 11:41:51.13: [ 292]: <-- [9:AT+FTH=3\r] May 19 11:41:51.32: [ 292]: --> [7:CONNECT] May 19 11:41:51.32: [ 292]: <-- HDLC<3:FF C8 21> May 19 11:41:52.50: [ 292]: --> [2:OK] May 19 11:41:52.50: [ 292]: MODEM input buffering enabled May 19 11:41:52.50: [ 292]: MODEM set XON/XOFF/FLUSH: input ignored, output generated May 19 11:41:52.50: [ 292]: <-- [10:AT+FRM=96\r] May 19 11:41:53.00: [ 292]: --> [7:CONNECT] May 19 11:41:53.00: [ 292]: RECV: begin page May 19 11:41:56.51: [ 292]: RECV/CQ: Bad 1D pixel count, row 118, got 1818, expected 1728 May 19 11:41:56.63: [ 292]: RECV/CQ: Adjusting for trailing noise (1 run) May 19 11:41:56.63: [ 292]: RECV: 118 total lines, 0 bad lines, 0 consecutive bad lines May 19 11:41:56.63: [ 292]: RECV: end page May 19 11:41:56.63: [ 292]: --> [10:NO CARRIER] May 19 11:41:56.63: [ 292]: MODEM set XON/XOFF/DRAIN: input ignored, output disabled May 19 11:41:56.63: [ 292]: MODEM input buffering disabled May 19 11:41:56.63: [ 292]: <-- [9:AT+FRH=3\r] May 19 11:42:01.19: [ 292]: --> [7:CONNECT] May 19 11:42:04.93: [ 292]: --> [20:65 42 CB 00 39 45 14 71 21 8D 4A 53 18 30 20 41 14 34 AE FB] May 19 11:42:04.93: [ 292]: --> [20:57 B0 34 43 60 4B 2E 03 44 61 61 43 A4 14 2A 62 03 C5 4C 64] May 19 11:42:04.93: [ 292]: --> [20:A8 A4 91 39 DC 04 12 D8 B6 48 D0 C8 81 40 15 10 10 01 2C 04] May 19 11:42:04.93: [ 292]: --> [20:86 28 E2 85 44 08 46 60 21 A8 04 01 04 87 23 20 39 4A 03 17] May 19 11:42:04.93: [ 292]: --> [20:04 20 A4 49 84 AD 4A E1 56 09 B2 10 10 42 44 9D C3 40 60 2A] May 19 11:42:04.93: [ 292]: --> [20:DD 9A C4 20 16 A0 07 62 25 09 1A 98 31 1C B7 00 10 10 02 8C] May 19 11:42:04.93: [ 292]: --> [20:88 22 10 10 50 10 10 71 4A A8 25 3B 02 2A 04 E5 24 50 15 8A] May 19 11:42:04.93: [ 292]: --> [4:82 28 10 03] May 19 11:42:04.93: [ 292]: --> [5:ERROR] May 19 11:42:04.93: [ 292]: MODEM Command error May 19 11:42:04.93: [ 292]: FCS error May 19 11:42:04.93: [ 292]: <-- [9:AT+FRH=3\r] May 19 11:42:04.94: [ 292]: --> [7:CONNECT] May 19 11:42:09.94: [ 292]: MODEM TIMEOUT: receiving HDLC frame data May 19 11:42:09.95: [ 292]: --> [2:OK] May 19 11:42:09.95: [ 292]: RECV FAX (00000190): recvq/fax00106.tif from 91 XXXXXXX, route to <unspecified>, 0 pages in 0:24 May 19 11:42:09.95: [ 292]: RECV FAX: T.30 T2 timeout, expected page not received May 19 11:42:09.95: [ 292]: <-- [9:AT+FTH=3\r] May 19 11:42:09.98: [ 292]: --> [7:CONNECT] May 19 11:42:09.98: [ 292]: <-- HDLC<3:FF C8 5F> May 19 11:42:11.16: [ 292]: --> [2:OK] May 19 11:42:11.16: [ 292]: MODEM input buffering enabled May 19 11:42:11.16: [ 292]: RECV FAX (00000190): session with 91 XXXXXXX terminated abnormally: T.30 T2 timeout, expected page not received May 19 11:42:11.16: [ 292]: RECV FAX: bin/faxrcvd "recvq/fax00106.tif" "ttyS0" "00000190" "T.30 T2 timeout, expected page not received" "91XXXXXXX" "" And this is the configuration file: CountryCode: 34 AreaCode: 91 FAXNumber: XXXXXXX LongDistancePrefix: 0 InternationalPrefix: 00 DialStringRules: etc/dialrules #ServerTracing: 0x08501 ServerTracing: 0xFFFFF #SessionTracing: 0x08501 SessionTracing: 0xFFFFF RecvFileMode: 0640 LogFileMode: 0640 DeviceMode: 0660 RingsBeforeAnswer: 2 SpeakerVolume: on GettyArgs: "-r -b -s %s %l" LocalIdentifier: "NothingSetup" TagLineFormat: "From %%l|%c|Page %%P of %%T" MaxRecvPages: 25 FaxRcvdCmd: bin/faxrcvd # # # Modem-related stuff: should reflect modem command interface # and hardware connection/cabling (e.g. flow control). # ModemType: Class1 # use class 1 interface ModemRate: 38400 # max rate for DCE-DTE communication ModemFlowControl: xonxoff # hardware flow control # ModemSetupDTRCmd: ATS13=1&D2 # setup so DTR drop resets modem ModemSetupDCDCmd: AT&C1 # setup so DCD reflects carrier (or not) ModemNoFlowCmd: AT&H0&I0&R1 # setup modem for no flow control ModemHardFlowCmd: AT&H1&I0&R2 # setup modem for hardware flow control ModemSoftFlowCmd: AT&H2&I2&R1 # setup modem for software flow control ModemResultCodesCmd: ATQ0X4 # enable result codes # ModemMfrQueryCmd: !USR ModemModelQueryCmd: ATI3 ModemRevQueryCmd: ATI7 # XXX returns a multi-line result # # When AT+FCLASS=1 is issued the modem automatically switches # to software flow control; these parameters let the fax software # reset flow control as needed after entering Class 1. # Class1NFLOCmd: AT&H0&I0&R1 # setup modem for no flow control Class1HFLOCmd: AT&H1&I0&R2 # setup modem for hardware flow control Class1SFLOCmd: "" # modem does this automatically # # The remainder of this configuration is included so that the # modem "idles" in Class 0 while not sending or receiving facsimile. # ModemSetupAACmd: AT+FCLASS=0#CID=1 # leave modem idling in class 0 ModemAnswerCmd: AT+FCLASS=1#CID=1A # answer in Class 1 # # Disables the reporting of bad frames by the modem. This # overcomes a firmware problem in the x2 and V90 Sportsters. # It is not necessary for the Courier modem. # Class2NRCmd: AT+FNR=1,1,1,0 CIDNumber: "NMBR = " CIDName: "NAME = " Thank you in advance... -- Diego Chaparro González. Grupo de Sistemas y Comunicaciones. Universidad Rey Juan Carlos. C/ Tulipan s/n - 28933 Móstoles (Spain) dchaparro@xxxxxxxxxxxxxxxxxx
Attachment:
signature.asc
Description: This is a digitally signed message part