Hylafax Mailing List Archives

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

[hylafax-users] Unable to send a fax with an external USR modem



Hi,

I'm trying to send a fax with an external USR modem, but I always get "Unspecified Transmit Phase B error (code 20)"

My configuration file is the following:

ModemType: Class2.0 # use class 2.0 interface
ModemRate: 9600 # DCE-DTE communication rate
ModemFlowControl: rtscts # hardware flow control
#
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
#
ModemSetupDTRCmd: ATS13=1&D2 # setup so DTR drop resets modem
ModemSetupDCDCmd: AT&C1 # setup so DCD reflects carrier (or not)
ModemResultCodesCmd: ATQ0X4 # enable extended result codes
#
# NB: adaptive answer only seems to work properly when
# the modem is left idling in Class 2.0
#
ModemSetupAACmd: AT+FAA=1
#
# Set modem speaker volume commands: OFF QUIET LOW MEDIUM HIGH.
# Note that we both turn the speaker on/off and set volume.
#
ModemSetVolumeCmd: "ATM0 ATM1 ATM1 ATM1 ATM1"
#
# Modem does not support HDLC frame tracing; we add this just
# to eliminate spurious ERROR results that confuse the naive.
#
Class2BUGCmd: AT+FBU=0
#
# The modem doesn't support copy quality checking, even though it
# returns (0-2,0-2) for AT+FCQ=?; therefore we override the query
# response so that the server will do copy quality checking.
#
Class2CQQueryCmd: !(0),(0) # override modem response
#
# 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
#
# USR modems violate Class 2.0 specs and do not send RTC itself
#
Class2SendRTC: yes
#
# +FAP=? not supported on this modem, gives ERROR in ServerTracing
#
Class2APQueryCmd: none


Here is a log file:

Jun 28 16:21:00.57: [ 1376]: DELAY 75 ms
Jun 28 16:21:00.65: [ 1376]: DELAY 2600 ms
Jun 28 16:21:04.27: [ 1376]: DELAY 10 ms
Jun 28 16:21:04.29: [ 1376]: <-- [4:ATZ\r]
Jun 28 16:21:04.44: [ 1376]: --> [3:ATZ]
Jun 28 16:21:04.44: [ 1376]: --> [2:OK]
Jun 28 16:21:04.44: [ 1376]: DELAY 3000 ms
Jun 28 16:21:07.45: [ 1376]: <-- [5:ATE0\r]
Jun 28 16:21:07.60: [ 1376]: --> [4:ATE0]
Jun 28 16:21:07.60: [ 1376]: --> [2:OK]
Jun 28 16:21:07.60: [ 1376]: <-- [5:ATV1\r]
Jun 28 16:21:07.75: [ 1376]: --> [2:OK]
Jun 28 16:21:07.75: [ 1376]: <-- [7:ATQ0X4\r]
Jun 28 16:21:07.90: [ 1376]: --> [2:OK]
Jun 28 16:21:07.90: [ 1376]: <-- [7:ATS0=0\r]
Jun 28 16:21:08.05: [ 1376]: --> [2:OK]
Jun 28 16:21:08.05: [ 1376]: <-- [7:ATS8=2\r]
Jun 28 16:21:08.20: [ 1376]: --> [2:OK]
Jun 28 16:21:08.20: [ 1376]: <-- [8:ATS7=60\r]
Jun 28 16:21:08.35: [ 1376]: --> [2:OK]
Jun 28 16:21:08.35: [ 1376]: <-- [12:AT&H1&I0&R2\r]
Jun 28 16:21:08.50: [ 1376]: --> [2:OK]
Jun 28 16:21:08.50: [ 1376]: <-- [11:ATS13=1&D2\r]
Jun 28 16:21:08.65: [ 1376]: --> [2:OK]
Jun 28 16:21:08.65: [ 1376]: <-- [6:AT&C1\r]
Jun 28 16:21:08.80: [ 1376]: --> [2:OK]
Jun 28 16:21:08.80: [ 1376]: <-- [14:AT+FCLASS=2.0\r]
Jun 28 16:21:08.95: [ 1376]: --> [2:OK]
Jun 28 16:21:08.95: [ 1376]: <-- [9:AT+FLO=2\r]
Jun 28 16:21:09.10: [ 1376]: --> [2:OK]
Jun 28 16:21:09.10: [ 1376]: <-- [9:AT+FPP=0\r]
Jun 28 16:21:09.25: [ 1376]: --> [2:OK]
Jun 28 16:21:09.25: [ 1376]: <-- [9:AT+FBO=0\r]
Jun 28 16:21:09.40: [ 1376]: --> [2:OK]
Jun 28 16:21:09.40: [ 1376]: <-- [10:AT+FCT=30\r]
Jun 28 16:21:09.55: [ 1376]: --> [2:OK]
Jun 28 16:21:09.55: [ 1376]: <-- [15:AT+FNR=1,1,1,0\r]
Jun 28 16:21:09.71: [ 1376]: --> [2:OK]
Jun 28 16:21:09.71: [ 1376]: <-- [9:AT+FIE=0\r]
Jun 28 16:21:09.86: [ 1376]: --> [2:OK]
Jun 28 16:21:09.86: [ 1376]: <-- [23:AT+FCC=1,5,2,2,0,0,0,0\r]
Jun 28 16:21:10.03: [ 1376]: --> [2:OK]
Jun 28 16:21:10.03: [ 1376]: <-- [5:ATM1\r]
Jun 28 16:21:10.18: [ 1376]: --> [2:OK]
Jun 28 16:21:10.19: [ 1376]: <-- [14:AT+FCLASS=2.0\r]
Jun 28 16:21:10.44: [ 1376]: --> [2:OK]
Jun 28 16:21:10.44: [ 1376]: <-- [9:AT+FLO=2\r]
Jun 28 16:21:10.69: [ 1376]: --> [2:OK]
Jun 28 16:21:10.69: [ 1376]: <-- [9:AT+FPP=0\r]
Jun 28 16:21:10.94: [ 1376]: --> [2:OK]
Jun 28 16:21:10.94: [ 1376]: <-- [9:AT+FBO=0\r]
Jun 28 16:21:11.19: [ 1376]: --> [2:OK]
Jun 28 16:21:11.19: [ 1376]: <-- [10:AT+FCT=30\r]
Jun 28 16:21:11.44: [ 1376]: --> [2:OK]
Jun 28 16:21:11.44: [ 1376]: <-- [15:AT+FNR=1,1,1,0\r]
Jun 28 16:21:11.70: [ 1376]: --> [2:OK]
Jun 28 16:21:11.70: [ 1376]: <-- [9:AT+FIE=0\r]
Jun 28 16:21:11.95: [ 1376]: --> [2:OK]
Jun 28 16:21:11.95: [ 1376]: <-- [23:AT+FCC=1,5,2,2,0,0,0,0\r]
Jun 28 16:21:12.22: [ 1376]: --> [2:OK]
Jun 28 16:21:12.22: [ 1376]: <-- [18:AT+FLI="external"\r]
Jun 28 16:21:12.48: [ 1376]: --> [2:OK]
Jun 28 16:21:12.48: [ 1376]: DIAL 17029938267
Jun 28 16:21:12.48: [ 1376]: <-- [16:ATDT0000000\r] <= (0s=Fax number)
Jun 28 16:21:24.41: [ 1376]: --> [4:+FCO]
Jun 28 16:21:26.56: [ 1376]: --> [5:ERROR]
Jun 28 16:21:26.56: [ 1376]: REMOTE HANGUP: Unspecified Transmit Phase B error (code 20)
Jun 28 16:21:26.57: [ 1376]: SEND FAILED: JOB 21 DEST 17029938267 ERR Unspecified Transmit Phase B error
Jun 28 16:21:26.57: [ 1376]: <-- [5:ATH0\r]
Jun 28 16:21:26.81: [ 1376]: --> [2:OK]
Jun 28 16:21:26.81: [ 1376]: SESSION END


I've tried to configure it as class 1 too, and I get a lot more error and then the session ends.

What is wrong with this configuration? Initial modem rate was 19200. I've reduced it to 9600

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*



Home
Report any problems to webmaster@hylafax.org

HylaFAX is a trademark of Silicon Graphics Corporation.
Internet connectivity for hylafax.org is provided by:
VirtuALL Private Host Services