HylaFAX The world's most advanced open source fax server

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

Re: [hylafax-users] waiting for modem to come ready



Title: RE: [hylafax-users] waiting for modem to come ready

dear all,

I have set up hylafax on Redhat 7.2 and i am using US Robotics 33.6 faxmodem
I try to send a fax (sendfax -n -d 123456 file)
after a while, a confirmation mail is received and it told me that the fax is sent successfully.
However, the fax cannot be received in the destination. (i am pretty sure that the fax machine is working properly in the destination side).

Please help...

After that i tried to send 2 more faxes (to different destination), the same situation occured.
Then i tried to send another fax, this time the hylafax system doesn't have any response. no fax is preparing to send out.

strange...
Please help...

Thanks
Lui

-----Original Message-----
From: nicola mersi [mailto:nicolamersi@tiscalinet.it]
Sent: Tuesday, August 13, 2002 7:54 PM
To: hylafax-users@hylafax.org
Subject: [hylafax-users] waiting for modem to come ready


I have set up hylafax on a mandrake 8.0 machine and I have a US Robotics
sportser voice faxmodem 33.6.
everithing seams OK but if I try to send a fax i.e.
sendfax -n -d 555678908 /etc/passwd
faxstat says me: waiting for modem to come ready.
After a while faxgetty dies.
If I use minicom the modem works correctly.
The following is the log:
ago 13 11:42:08.35: [12234]: SESSION BEGIN 00000018 3905500558732316
ago 13 11:42:08.35: [12234]: SEND FAX: JOB 7 DEST 00558732316 COMMID 00000018
ago 13 11:42:08.35: [12234]: DELAY 2600 ms
ago 13 11:42:10.95: [12234]: <-- [4:ATZ\r]
ago 13 11:42:11.08: [12234]: --> [2:OK]
ago 13 11:42:11.08: [12234]: <-- [17:ATE0V1Q0X3S0=0H0\r]
ago 13 11:42:16.08: [12234]: MODEM <Timeout>
ago 13 11:42:16.08: [12234]: SEND FAILED: Can not setup modem
ago 13 11:42:16.08: [12234]: SESSION END

and the following is config.ttyS0
# $Id: usr-xon,v 1.4 2001/02/05 06:38:34 darren Exp $
#
# 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.
#

#
# Configuration for using the Class 1 command interface with
# a USR Courier or Sportster modem and XON/XOFF flow control.
#
#
CountryCode:            39
AreaCode:               055
FAXNumber:              +390558794272
LongDistancePrefix:     055
InternationalPrefix:    0039
DialStringRules:        etc/dialrules
ServerTracing:          1
SessionTracing:         11
RecvFileMode:           0644
LogFileMode:            0644
DeviceMode:             0644
RingsBeforeAnswer:      1
SpeakerVolume:          off
GettyArgs:              "-h %l dx_%s"
LocalIdentifier:        "Comune di Signa"
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:              Class1          # use class 1 interface
ModemRate:              38400           # max rate for DCE-DTE communication
ModemFlowControl:       rtscts          # 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:    ATQ0X3          # 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&H1&I0&R2    #  before was 0 leave modem idling in
class 0
ModemAnswerCmd: AT+FCLASS=1&H1&I0&R2A   # before was 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

____________________ 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@hylafax.org < /dev/null
  *To learn about commercial HylaFAX(tm) support, mail sales@hylafax.org.*




Project hosted by iFAX Solutions