HylaFAX The world's
most advanced open source fax server
|
|
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
[hylafax-users] 3Com Modem wedged
Hi.
I'm using Hylafax last version on a Linux Mandrake 1.0 corporate.
I have 3 modems 3Com 56K Professional Message connected to the server for
inbound and outbound faxes.
Sometimes I receive a message "the modem on ttyS0 (or ttyS3) appears to be
wedged".
Here is the log:
Oct 23 11:28:02.03: [13070]: SESSION BEGIN 00000185 390532820896
Oct 23 11:28:02.03: [13070]: <-- [4:ATA\r]
Oct 23 11:28:55.46: [13070]: --> [10:NO CARRIER]
Oct 23 11:28:55.46: [13070]: ANSWER: Ring detected without successful
handshake
Oct 23 11:28:55.46: [13070]: SESSION END
Someone knows how to solve it ?
I'm using this type of modem in Class 2.0 with the following config.ttyS0
# $Id: class2.0,v 1.12 1996/06/24 02:58:33 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.
#
PageChop: none
#
# Generic Class 2.0 modem configuration.
#
# EDIT THIS CONFIGURATION TO REFLECT YOUR SETUP
#
CountryCode: 39
AreaCode: 0532
FAXNumber: +390532820894
LongDistancePrefix: 0
InternationalPrefix: 00
DialStringRules: etc/dialrules
ServerTracing: 1
SessionTracing: 11
RecvFileMode: 0600
LogFileMode: 0600
DeviceMode: 0600
RingsBeforeAnswer: 1
SpeakerVolume: off
GettyArgs: "-h %l dx_%s"
LocalIdentifier: "Weitek FaxServer"
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.0 # use class 2.0 interface
ModemRate: 38400 # DCE-DTE communication rate
ModemFlowControl: rtscts # XON/XOFF flow control assumed
#
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 disable it to keep
# the fax software from complaining.
#
Class2CQCmd: AT+FCQ=0,0
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
#
# Settaggi per WEITEK
#
ModemDialCmd: ATDT0%s
ModemWaitTimeCmd: ATS7=90
ModemResetCmds: AT+MCA=0 #disabilita segreteria
Class2SendRTC: yes
Class2Cmd: AT+FCLASS=2.0 #command to enter in class 2.0
Class2BORCmd: AT+FBO=0 #bit order for phase B/C/D (direct)
Class2AbortCmd: AT+FSK #abort session command
Class2DCCQueryCmd: AT+FCC=? #query for modem capabilities
Class2TBCCmd: AT+FPP=0 #setup stream mode
Class2CRCmd: AT+FCR=1 #enable capability to receive
Class2PHCTOCmd: AT+FCT=30 #set phase C timeout parameter
Someone has the right config.ttyS0 for my type of modem ?
Thanks in advance for any answer
-------------------------
Otello Artosi
WEITEK - AETNA Group
E-mail: otello@weitek.it
PGP fp: E2C3 98DF A79F 401D 0775 1CFF E2A4 E581 82E5 F713
____________________ HylaFAX(tm) Users Mailing List _______________________
To unsub: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null