HylaFAX The world's most advanced open source fax server

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

Modem error 5



I have compiled HylaFAX (tm) Version 4.0pl1 on an Alpha server 4100
running Digital Unix 4.0B
using g++.  Compiled file.
Using a MultiTech MT2834ZDXb.  I have not been able to send out a fax
yet.
Following are my config.tty02 file and Session Logs.
PLease HELP!!



#
# Configuration for a Multi-Tech MT1432, MT224BA, and MT1932ZDX modems.
#
# MT1432        firmware rev 0307 I or newer
# MT132BG       rev 0109A
# MT1932ZDX     rev 0109H
#
# Note that MT1432 modems come in several varieties:
#
# MT1432BA      uses Rockwell data pump
# MT1432BA/A    uses AT&T data pump
# MT1432BG      MT1432BA tweaked for German FCC
# MT1432MK      (for UK?)
#
# The modem has been tried with both XON/XOFF and RTS/CTS flow
# control; this configuration is for hardware flow control.
#
# CONFIG: CLASS2: Multi-Tech*-*
#
# BEGIN-SERVER
# END-SERVER
CountryCode:            1
AreaCode:               847
FAXNumber:              +1.847.XXX.XXXX
LongDistancePrefix:     1
InternationalPrefix:    011
DialStringRules:        "etc/dialrules"
#ServerTracing:          1
#SessionTracing:         11
RecvFileMode:           0600
LogFileMode:            0600
DeviceMode:             0660
RingsBeforeAnswer:      0
SpeakerVolume:          off
GettyArgs:              "std.%s"
LocalIdentifier:        "Alpha Fax"
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).
#
ServerTracing:          0xfffff
SessionTracing:         0xfffff
ModemType:              Class2          # use class 2 interface
ModemRate:              38400           # lock rate for DCE-DTE
communication
#ModemFlowControl:      xonxoff         # software flow control
ModemFlowControl:       rtscts          # RTS/CTS flow control assumed
#
ModemHardFlowCmd:       AT&E4           # hardware flow control
ModemSoftFlowCmd:       AT&E5           # software flow control
ModemSetupDTRCmd:       AT&D3           # setup so DTR drop resets modem
ModemSetupDCDCmd:       AT&C1           # setup so DCD reflects carrier
(or not)
ModemSetupAACmd:        AT+FAA=1        # enable adaptive-answer in
class 2
#
# NB: some models get confused by the @
#
ModemDialCmd:           ATDT%s@         # T for tone dialing, @ for
silence
#
Class2RecvDataTrigger:  "\022"          # character sent to modem to
start recv



Session Log

Apr 29 09:38:00 databeast FaxSend[15161]: servertracing = 0xfffff (line
72)
Apr 29 09:38:00 databeast FaxSend[15161]: sessiontracing = 0xfffff (line
73)
Apr 29 09:38:00 databeast FaxSend[15161]: modemtype = Class2 (line 74)
Apr 29 09:38:00 databeast FaxSend[15161]: modemrate = 38400 (line 75)
Apr 29 09:38:00 databeast FaxSend[15161]: modemflowcontrol = rtscts
(line 77)
Apr 29 09:38:00 databeast FaxSend[15161]: modemhardflowcmd = AT&E4 (line
79)
Apr 29 09:38:00 databeast FaxSend[15161]: modemsoftflowcmd = AT&E5 (line
80)
Apr 29 09:38:00 databeast FaxSend[15161]: modemsetupdtrcmd = AT&D3 (line
81)
Apr 29 09:38:00 databeast FaxSend[15161]: modemsetupdcdcmd = AT&C1 (line
82)
Apr 29 09:38:00 databeast FaxSend[15161]: modemsetupaacmd = AT+FAA=1
(line 83)
Apr 29 09:38:00 databeast FaxSend[15161]: modemdialcmd = ATDT%s@ (line
87)
Apr 29 09:38:00 databeast FaxSend[15161]: class2recvdatatrigger = ^R
(line 89)
Apr 29 09:38:00 databeast FaxSend[15161]: Define AreaCode = "847"
Apr 29 09:38:00 databeast FaxSend[15161]: Define CountryCode = "1"
Apr 29 09:38:00 databeast FaxSend[15161]: Define LongDistancePrefix =
"1"
Apr 29 09:38:00 databeast FaxSend[15161]: Define InternationalPrefix =
"011"
Apr 29 09:38:00 databeast FaxSend[15161]: Define Area = "847"
Apr 29 09:38:00 databeast FaxSend[15161]: Define Country = "1"
Apr 29 09:38:00 databeast FaxSend[15161]: Define IDPrefix = "011"
Apr 29 09:38:00 databeast FaxSend[15161]: Define LDPrefix = "1"
Apr 29 09:38:00 databeast FaxSend[15161]: Define WS = " ^I"
Apr 29 09:38:00 databeast FaxSend[15161]: CanonicalNumber := [
Apr 29 09:38:00 databeast FaxSend[15161]:   "#.*" = ""
Apr 29 09:38:00 databeast FaxSend[15161]:   "[abcABC]" = "2"
Apr 29 09:38:00 databeast FaxSend[15161]:   "[defDEF]" = "3"
Apr 29 09:38:00 databeast FaxSend[15161]:   "[ghiGHI]" = "4"
Apr 29 09:38:00 databeast FaxSend[15161]:   "[jklJKL]" = "5"
Apr 29 09:38:00 databeast FaxSend[15161]:   "[mnoMNO]" = "6"
Apr 29 09:38:00 databeast FaxSend[15161]:   "[prsPRS]" = "7"
Apr 29 09:38:00 databeast FaxSend[15161]:   "[tuvTUV]" = "8"
Apr 29 09:38:00 databeast FaxSend[15161]:   "[wxyWXY]" = "9"
Apr 29 09:38:00 databeast FaxSend[15161]:   "[^+0-9]+" = ""
Apr 29 09:38:00 databeast FaxSend[15161]:   "^011" = "+"
Apr 29 09:38:00 databeast FaxSend[15161]:   "^1" = "+1"
Apr 29 09:38:00 databeast FaxSend[15161]:   "^[^+]" = "+1847&"
Apr 29 09:38:00 databeast FaxSend[15161]: ]
Apr 29 09:38:00 databeast FaxSend[15161]: DialString := [
Apr 29 09:38:00 databeast FaxSend[15161]:   "[- ^I.]+" = ""
Apr 29 09:38:00 databeast FaxSend[15161]:   "[abcABC]" = "2"
Apr 29 09:38:00 databeast FaxSend[15161]:   "[defDEF]" = "3"
Apr 29 09:38:00 databeast FaxSend[15161]:   "[ghiGHI]" = "4"
Apr 29 09:38:00 databeast FaxSend[15161]:   "[jklJKL]" = "5"
Apr 29 09:38:00 databeast FaxSend[15161]:   "[mnoMNO]" = "6"
Apr 29 09:38:00 databeast FaxSend[15161]:   "[prsPRS]" = "7"
Apr 29 09:38:00 databeast FaxSend[15161]:   "[tuvTUV]" = "8"
Apr 29 09:38:00 databeast FaxSend[15161]:   "[wxyWXY]" = "9"
Apr 29 09:38:00 databeast FaxSend[15161]:   "^[+]1" = "1"
Apr 29 09:38:00 databeast FaxSend[15161]:   "^[+]" = "011"
Apr 29 09:38:00 databeast FaxSend[15161]: ]
Apr 29 09:38:00 databeast FaxSend[15161]: MODEM set DTR OFF
Apr 29 09:38:00 databeast FaxSend[15161]: MODEM set baud rate: 0 baud
(flow cont
rol unchanged)
Apr 29 09:38:00 databeast FaxSend[15161]: DELAY 2600 ms
Apr 29 09:38:03 databeast FaxSend[15161]: MODEM set DTR ON
Apr 29 09:38:03 databeast FaxSend[15161]: MODEM set baud rate: 38400
baud, input
 flow RTS/CTS, output flow RTS/CTS
Apr 29 09:38:03 databeast FaxSend[15161]: MODEM flush i/o
Apr 29 09:38:03 databeast FaxSend[15161]: <-- [15:ATE0V1Q0S0=0H0\r]
Apr 29 09:38:03 databeast FaxSend[15161]: --> [2:OK]
Apr 29 09:38:03 databeast FaxSend[15161]: <--
[21:ATS8=2S7=60&E4&D3&C1\r]
Apr 29 09:38:03 databeast FaxSend[15161]: MODEM READ ERROR: errno 5
Apr 29 09:38:03 databeast FaxSend[15161]: --> [0:]
Apr 29 09:38:03 databeast FaxSend[15161]: MODEM <Empty line>
Apr 29 09:38:03 databeast FaxSend[15161]: MODEM set DTR OFF
Apr 29 09:38:03 databeast FaxSend[15161]: MODEM set baud rate: 0 baud
(flow cont
rol unchanged)
Apr 29 09:38:03 databeast FaxSend[15161]: MODEM setBaudRate::tcgetattr:
I/O erro
r
Apr 29 09:38:03 databeast FaxSend[15161]: DELAY 2600 ms
Apr 29 09:38:06 databeast FaxSend[15161]: MODEM set DTR ON
Apr 29 09:38:06 databeast FaxSend[15161]: /dev/tty02: Can not open modem
(Operat
ion would block)
Apr 29 09:38:06 databeast FaxSend[15161]: MODEM set baud rate: 38400
baud, input
 flow RTS/CTS, output flow RTS/CTS
Apr 29 09:38:06 databeast FaxSend[15161]: MODEM setBaudRate::tcgetattr:
Bad file
 number
Apr 29 09:38:06 databeast FaxSend[15161]: /dev/tty02: Can not initialize
modem.
Apr 29 09:38:06 databeast FaxSend[15161]: STATE CHANGE: BASE ->
MODEMWAIT (timeo
ut 30)
Apr 29 09:38:36 databeast FaxSend[15161]: MODEM set DTR OFF
Apr 29 09:38:36 databeast FaxSend[15161]: MODEM set baud rate: 0 baud
(flow cont
rol unchanged)
Apr 29 09:38:36 databeast FaxSend[15161]: DELAY 2600 ms
Apr 29 09:38:39 databeast FaxSend[15161]: MODEM set DTR ON
Apr 29 09:38:39 databeast FaxSend[15161]: MODEM set baud rate: 38400
baud, input
 flow RTS/CTS, output flow RTS/CTS
Apr 29 09:38:39 databeast FaxSend[15161]: MODEM flush i/o
Apr 29 09:38:39 databeast FaxSend[15161]: <-- [15:ATE0V1Q0S0=0H0\r]
Apr 29 09:38:44 databeast FaxSend[15161]: MODEM TIMEOUT: reading line
from modem
Apr 29 09:38:44 databeast FaxSend[15161]: MODEM <Timeout>
Apr 29 09:38:44 databeast FaxSend[15161]: MODEM set DTR OFF
Apr 29 09:38:44 databeast FaxSend[15161]: MODEM set baud rate: 0 baud
(flow cont
rol unchanged)
Apr 29 09:38:44 databeast FaxSend[15161]: DELAY 2600 ms
Apr 29 09:38:46 databeast FaxSend[15161]: MODEM set DTR ON
Apr 29 09:38:46 databeast FaxSend[15161]: MODEM set baud rate: 38400
baud, input
 flow RTS/CTS, output flow RTS/CTS
Apr 29 09:38:46 databeast FaxSend[15161]: MODEM flush i/o
Apr 29 09:38:46 databeast FaxSend[15161]: <-- [15:ATE0V1Q0S0=0H0\r]
Apr 29 09:38:51 databeast FaxSend[15161]: MODEM TIMEOUT: reading line
from modem
Apr 29 09:38:51 databeast FaxSend[15161]: MODEM <Timeout>
Apr 29 09:38:51 databeast FaxSend[15161]: MODEM set DTR OFF
Apr 29 09:38:51 databeast FaxSend[15161]: MODEM set baud rate: 0 baud
(flow cont
rol unchanged)
Apr 29 09:39:21 databeast FaxSend[15161]: MODEM set DTR OFF
Apr 29 09:39:21 databeast FaxSend[15161]: MODEM set baud rate: 0 baud
(flow cont
rol unchanged)
.
.
.
Apr 29 09:39:36 databeast FaxSend[15161]: Unable to setup modem on
/dev/tty02; g
iving up after 2 attempts




Project hosted by iFAX Solutions