![]() |
Hi, for a fews weeks I�ve been trying to use my modem as fax-modem. But I�m not able to fix the problem. This is my configuration: OS: Linux Suse 6.0 Modem: noname class 2 modprobe: not succesful Error-Message: "Communication failure during Phase B/C (modem protocol botch)" Can anybody help or give some recommendations what should I do? Many thanks Udo Werner Here some more information: see attached files a) response to faxstat -v b) information about firmware c) error mail after trying to send fax "fax_30.Aug99_error_mail.txt" d) config.modem (as used on my system)
faxstat -v HylaFAX scheduler on U01.D01: Running Modem modem (982046): Running and idle Trying localhost (127.0.0.1) at port 4559... Connected to localhost. 220 U01.D01 server (HylaFAX (tm) Version 4.0pl2) ready. -> USER root 230 User root logged in. -> PORT 127,0,0,1,4,10 200 PORT command successful. -> LIST status 150 Opening new data connection for "status". 226 Transfer complete.
Anzeige des aktiven Konfigurationsprofils: nach Einschalten des Modems keine Nutzung durch HylaFax / SuSEFax OK at&v ACTIVE PROFILE: B0 E1 L2 M1 Q0 V1 W0 X4 Y0 &C1 &D2 &G0 &L0 &N000 &P1 &Q5 &R0 &S0 &X0 &Y0 &K3 %A000 %C1 %P0 \A3 \C0 \J0 \N3 \Q3 \T000 \V1 \X0 S00:000 S06:003 S07:060 S08:002 S09:006 S10:014 S11:090 S12:050 S14:AAH S16:00H S18:00H S21:30H S22:79H S23:18H S25:05H S26:001 S27:CDH V.42 S REGISTER:S36:007 S46:138 S48:007 S82:128 S95:044 STORED PROFILE 0: B0 E1 L2 M1 Q0 V1 W0 X4 Y0 &C1 &D2 &G0 &L0 &N000 &P1 &Q5 &R0 &S0 &X0 &K3 %A000 %C1 %P0 \A3 \C0 \J0 \N3 \Q3 \T000 \V1 \X0 S00:000 S14:AAH S18:00H S21:30H S22:79H S23:99H S25:05H S26:01H S27:CDH V.42 S REGISTER:S36:007 S46:138 S48:007 S82:128 S95:044 STORED PROFILE 1: B0 E1 L2 M1 Q0 V1 W0 X4 Y0 &C1 &D2 &G0 &L0 &N000 &P1 &Q5 &R0 &S0 &X0 &K3 %A000 %C1 %P0 \A3 \C0 \J1 \N1 \Q3 \T001 \V0 \X0 S00:001 S14:AAH S18:00H S21:30H S22:79H S23:18H S25:05H S26:01H S27:CDH V.42 S REGISTER:S36:007 S46:138 S48:007 S82:128 S95:044 TELEPHONE NUMBERS: &Z0= &Z1= &Z2= OK Produktidentifikationscode ati0 249 OK Pr�fsumme ati1 099 OK Versionscode der Firmware ati6 V3.5 FEB-07-95 DM1414/2B/RC144DPI/PCB:490-22801-xx or 490-39602-xx or 490-21407-xx or 490-21420-xx BZT POSTZULASSUNG-FIRMWARE VERSION:V.105 OK
From fax@YAST_ASK Mon Aug 30 20:52:07 1999 Return-Path: <fax> Received: (from uucp@localhost) by U01.D01 (8.8.8/8.8.8) id UAA00373; Mon, 30 Aug 1999 20:52:07 +0200 Date: Mon, 30 Aug 1999 20:52:07 +0200 From: Facsimile Agent <fax@YAST_ASK> Message-Id: <199908301852.UAA00373@U01.D01> To: udo@U01.D01 Subject: /home/udo/fax/fax_udo.ps to 004146912967 failed Status: R Your facsimile job to 004146912967 failed because: Communication failure during Phase B/C (modem protocol botch); Giving up after 3 attempts to send same page ---- Transcript of session follows ---- Aug 30 20:51:19.88: [ 370]: SESSION BEGIN 00000059 4146912967 Aug 30 20:51:19.88: [ 370]: SEND FAX: JOB 32 DEST 004146912967 COMMID 00000059 Aug 30 20:51:19.88: [ 370]: DELAY 2600 ms Aug 30 20:51:22.49: [ 370]: <-- [15:ATE0V1Q0S0=0H0\r] Aug 30 20:51:22.64: [ 370]: --> [2:OK] Aug 30 20:51:22.64: [ 370]: <-- [12:ATS8=2S7=60\r] Aug 30 20:51:22.78: [ 370]: --> [2:OK] Aug 30 20:51:22.78: [ 370]: <-- [12:AT+FCLASS=2\r] Aug 30 20:51:22.92: [ 370]: --> [2:OK] Aug 30 20:51:22.92: [ 370]: <-- [10:AT+FTBC=0\r] Aug 30 20:51:23.07: [ 370]: --> [5:ERROR] Aug 30 20:51:23.07: [ 370]: MODEM Command error Aug 30 20:51:23.07: [ 370]: <-- [10:AT+FBOR=0\r] Aug 30 20:51:23.22: [ 370]: --> [2:OK] Aug 30 20:51:23.22: [ 370]: <-- [13:AT+FPHCTO=30\r] Aug 30 20:51:23.37: [ 370]: --> [5:ERROR] Aug 30 20:51:23.37: [ 370]: MODEM Command error Aug 30 20:51:23.37: [ 370]: <-- [24:AT+FDCC=1,5,2,2,2,0,0,0\r] Aug 30 20:51:23.52: [ 370]: --> [2:OK] Aug 30 20:51:23.52: [ 370]: <-- [7:ATL0M1\r] Aug 30 20:51:23.67: [ 370]: --> [2:OK] Aug 30 20:51:23.67: [ 370]: <-- [12:AT+FCLASS=2\r] Aug 30 20:51:23.92: [ 370]: --> [2:OK] Aug 30 20:51:23.92: [ 370]: <-- [10:AT+FTBC=0\r] Aug 30 20:51:24.17: [ 370]: --> [5:ERROR] Aug 30 20:51:24.17: [ 370]: MODEM Command error Aug 30 20:51:24.17: [ 370]: <-- [10:AT+FBOR=0\r] Aug 30 20:51:24.42: [ 370]: --> [2:OK] Aug 30 20:51:24.42: [ 370]: <-- [13:AT+FPHCTO=30\r] Aug 30 20:51:24.67: [ 370]: --> [5:ERROR] Aug 30 20:51:24.67: [ 370]: MODEM Command error Aug 30 20:51:24.67: [ 370]: <-- [24:AT+FDCC=1,5,2,2,2,0,0,0\r] Aug 30 20:51:24.92: [ 370]: --> [2:OK] Aug 30 20:51:24.92: [ 370]: <-- [21:AT+FLID="Udo Werner"\r] Aug 30 20:51:25.17: [ 370]: --> [2:OK] Aug 30 20:51:25.17: [ 370]: <-- [24:AT+FDIS=1,5,0,2,1,0,0,0\r] Aug 30 20:51:25.43: [ 370]: --> [2:OK] Aug 30 20:51:25.43: [ 370]: DIAL 004146912967 Aug 30 20:51:25.43: [ 370]: <-- [17:ATDT004146912967\r] Aug 30 20:51:49.53: [ 370]: --> [3:CED] Aug 30 20:51:49.53: [ 370]: --> [5:+FCON] Aug 30 20:51:49.53: [ 370]: --> [19:+FNSF: 00 00 59 4B ] Aug 30 20:51:49.54: [ 370]: REMOTE NSF " 00 00 59 4B" Aug 30 20:51:49.54: [ 370]: --> [27:+FCSI: +49 4146 912967] Aug 30 20:51:49.54: [ 370]: REMOTE CSI "+49 4146 912967" Aug 30 20:51:49.54: [ 370]: --> [22:+FDIS: 1,3,0,2,2,2,0,3] Aug 30 20:51:49.54: [ 370]: --> [2:OK] Aug 30 20:51:49.54: [ 370]: REMOTE best rate 9600 bit/s Aug 30 20:51:49.54: [ 370]: REMOTE max page width 1728 pixels in 215 mm Aug 30 20:51:49.54: [ 370]: REMOTE max unlimited page length Aug 30 20:51:49.54: [ 370]: REMOTE best vres 7.7 line/mm Aug 30 20:51:49.54: [ 370]: REMOTE best format 2-D Uncompressed Mode Aug 30 20:51:49.54: [ 370]: REMOTE supports T.30 Annex C, half duplex ECM Aug 30 20:51:49.54: [ 370]: REMOTE best 10 ms/scanline Aug 30 20:51:49.54: [ 370]: USE 9600 bit/s Aug 30 20:51:49.54: [ 370]: USE 10 ms/scanline Aug 30 20:51:49.54: [ 370]: SEND file "docq/doc32.ps;41" Aug 30 20:51:49.54: [ 370]: USE page width 1728 pixels in 215 mm Aug 30 20:51:49.54: [ 370]: USE unlimited page length Aug 30 20:51:49.54: [ 370]: USE 7.7 line/mm Aug 30 20:51:49.54: [ 370]: USE 2-D MR Aug 30 20:51:49.54: [ 370]: <-- [7:AT+FDT\r] Aug 30 20:51:49.72: [ 370]: --> [19:+FNSF: 00 00 59 4B ] Aug 30 20:51:49.72: [ 370]: --> [27:+FCSI: +49 4146 912967] Aug 30 20:51:49.72: [ 370]: --> [22:+FDIS: 1,3,0,2,2,2,0,3] Aug 30 20:51:55.55: [ 370]: --> [22:+FDCS: 1,3,0,1,0,0,0,5] Aug 30 20:51:57.35: [ 370]: --> [7:CONNECT] Aug 30 20:51:57.35: [ 370]: SEND wait for XON Aug 30 20:51:57.35: [ 370]: --> [1:] Aug 30 20:51:57.35: [ 370]: SEND begin page Aug 30 20:52:01.36: [ 370]: SENT 8173 bytes of data Aug 30 20:52:01.36: [ 370]: SEND end page Aug 30 20:52:02.10: [ 370]: --> [24:] Aug 30 20:52:02.10: [ 370]: --> [2:OK] Aug 30 20:52:02.10: [ 370]: SEND send EOP (no more pages or documents) Aug 30 20:52:02.10: [ 370]: <-- [9:AT+FET=2\r] Aug 30 20:52:05.01: [ 370]: --> [14:+FPTS: 2,2,0,0] Aug 30 20:52:06.46: [ 370]: --> [8:+FHNG: 0] Aug 30 20:52:06.46: [ 370]: REMOTE HANGUP: Normal and proper end of connection (code 0) Aug 30 20:52:06.46: [ 370]: SEND recv RTN (retrain negative) Aug 30 20:52:06.46: [ 370]: SEND: Communication failure during Phase B/C (modem protocol botch); Giving up after 3 attempts to send same page "docq/doc32.ps;41", dirnum 0 Aug 30 20:52:06.46: [ 370]: <-- [5:ATH0\r] Aug 30 20:52:06.46: [ 370]: --> [2:OK] Aug 30 20:52:06.55: [ 370]: SESSION END ---- Unsent job status ---- Destination: 004146912967 JobID: 32 GroupID: 32 Sender: Udo Werner Mailaddr: udo CommID: 00000059 Submitted From: localhost Page Width: 209 (mm) Page Length: 296 (mm) Resolution: 196 (lpi) Status: Communication failure during Phase B/C (modem protocol botch); Giving up after 3 attempts to send same page Dialogs: 3 (exchanges with remote device) Dials: 0 (consecutive failed calls to destination) Calls: 3 (total phone calls placed) Pages: 0 (pages transmitted) TotPages: 1 (total pages to transmit) Attempts: 3 (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/doc32.ps 3501 PostScript
# $Id: class2,v 1.23 1996/06/24 02:58:32 sam Rel $ # # HylaFAX Facsimile Software # # Copyright (c) 1990-1996 Sam Leffler # Copyright (c) 1991-1996 Silicon Graphics, Inc. # HylaFAX is a trademark of Silicon Graphics, Inc. # # Permission to use, copy, modify, distribute, and sell this software and # its documentation for any purpose is hereby granted without fee, provided # that (i) the above copyright notices and this permission notice appear in # all copies of the software and related documentation, and (ii) the names of # Sam Leffler and Silicon Graphics may not be used in any advertising or # publicity relating to the software without the specific, prior written # permission of Sam Leffler and Silicon Graphics. # # THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, # EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY # WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. # # IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR # ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, # OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, # WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF # LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE # OF THIS SOFTWARE. # # # Generic Class 2 modem configuration. # # EDIT THIS CONFIGURATION TO REFLECT YOUR SETUP # CountryCode: 049 AreaCode: 4141 FAXNumber: 982046 LongDistancePrefix: 0 InternationalPrefix: 00 DialStringRules: etc/dialrules #ServerTracing: 527 #SessionTracing: 527 ServerTracing: 11 SessionTracing: 11 RecvFileMode: 0644 LogFileMode: 0600 DeviceMode: 0666 RingsBeforeAnswer: 1 SpeakerVolume: on GettyArgs: "-r -b -s %s %l" LocalIdentifier: "Udo Werner" TagLineFont: etc/lutRS18.pcf TagLineFormat: "From %%l|%c|Page %%p of %%t" MaxRecvPages: 25 # # # Modem-related stuff: should reflect modem command interface # and hardware connection/cabling (e.g. flow control). # ModemType: Class2 # use this to supply a hint #ModemRate: 19200 # max rate for DCE-DTE communication #ModemFlowControl: xonxoff # XON/XOFF flow control assumed #ModemSetupDTRCmd: AT&D2 # setup so DTR drop resets modem #ModemSetupDCDCmd: AT&C1 # setup so DCD reflects carrier (or not) # # We normally append the "@" symbol to the dial string so that # the modem will wait 5 seconds before attempting to connect # and return result codes that distinguish between no carrier # and no answer. This makes it possible to avoid problems with # repeatedly dialing a number that doesn't have a fax machine # (kudos to Stuart Lynne for this trick.) # # NB: If you need to prefix phone numbers to get through a PBX, # put it in the ModemDialCmd; e.g. "DT9%s@". # #ModemDialCmd: ATDT%s@ # T for tone dialing, @ for silence # # Other possible configuration stuff. The default strings are # shown below. Only those that are different from the defaults # need to be included in the configuration file. # #ModemResetCmds: "" # stuff to do when modem is reset #ModemAnswerCmd: ATA # use this to answer phone #ModemNoFlowCmd: AT&K # disable flow control cmd #ModemHardFlowCmd: AT&K3 # hardware flow control cmd #ModemSoftFlowCmd: AT&K4 # software flow control cmd #ModemNoAutoAnswerCmd: ATS0=0 # disable auto-answer # # Set modem speaker volume commands: OFF QUIET LOW MEDIUM HIGH. # Note that we both turn the speaker on/off and set volume. # #ModemSetVolumeCmd: "ATM0 ATL0M1 ATL1M1 ATL2M1 ATL3M1" #ModemEchoOffCmd: ATE0 # disable command echo #ModemVerboseResultsCmd: ATV1 # enable verbose command results #ModemResultCodesCmd: ATQ0 # enable result codes #ModemOnHookCmd: ATH0 # place phone on hook (hangup) #ModemSoftResetCmd: ATZ # do soft reset of modem #ModemWaitTimeCmd: ATS7=60 # wait 60 seconds for carrier #ModemCommaPauseTimeCmd: ATS8=2 # comma pause time is 2 seconds #ModemRecvFillOrder: LSB2MSB # bit order of received facsimile #ModemSendFillOrder: LSB2MSB # bit order modem expects for transmit # # Configuration parameters for Class 2 modems. # Class2Cmd: AT+FCLASS=2 # command to enter class 2 Class2BORCmd: AT+FBOR=0 # bit order for phase B/C/D (direct) #Class2RELCmd: AT+FREL=1 # byte-align EOL codes on recv #Class2CQCmd: "" # commands to enable copy quality proc. #Class2AbortCmd: AT+FK # abort session command #Class2CQQueryCmd: AT+FCQ=? # query for copy quality capabilities Class2DCCQueryCmd: AT+FDCC=? # query for modem capabilities #Class2TBCCmd: AT+FTBC=0 # setup stream mode Class2CRCmd: AT+FCR=1 # enable capability to receive #Class2PHCTOCmd: AT+FPHCTO=30 # set phase C timeout parameter Class2BUGCmd: AT+FBUG=1 # enable HDLC frame tracing #Class2LIDCmd: AT+FLID # set local identifier command #Class2DCCCmd: AT+FDCC # set modem capabilities command #Class2DISCmd: AT+FDIS # set session parameters command #Class2DDISCmd: AT+FDIS # disable pre-dial DIS command hack #Class2CIGCmd: AT+FCIG # set pollingidentifier command #Class2PTSCmd: AT+FPTS # setpost-page status command #Class2SPLCmd: AT+FSPL # set pollingindicator command # # If Class2RecvDataTrigger is not set, then it is set to DC1 # #Class2RecvDataTrigger: "" # character sent to modem to start recv Class2XmitWaitForXON: yes # if true, wait for XON before send