Hylafax Mailing List Archives

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

[hylafax-users]



	
Hi Lee,

	Here's below the "config.ttyS0" of my modem. I hope this the files
you are looking in my config of my modem.
Below also the logs of probemodems. Thanks

#
# Generic Class 2 modem configuration.
#
# EDIT THIS CONFIGURATION TO REFLECT YOUR SETUP
#
CountryCode:            63
AreaCode:               2
FAXNumber:              5256152
LongDistancePrefix:     0
InternationalPrefix:    00
DialStringRules:        etc/dialrules
ServerTracing:          0xFFF
SessionTracing:         11
RecvFileMode:           0600
LogFileMode:            0600
DeviceMode:             0600
RingsBeforeAnswer:      1
SpeakerVolume:          off
GettyArgs:              "-h %l dx_%s"
LocalIdentifier:        "NothingSetup"
TagLineFont:            etc/lutRS18.pcf
TagLineFormat:          "From %%l|%c|Page %%P of %%T"
QualifyTSI:             etc/tsi
NoCarrierRetrys:        5
PercentGoodLines:       0
MaxConsecutiveBadLines: 0
MaxRecvPages:           25
MaxDials:               3
MaxTries:               3
UUCPLockTimeout:        15
#
#
# 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:          ""              # disable pre-dial DIS command hack
Class2CIGCmd:           AT+FCIG         # set polling identifier command
Class2PTSCmd:           AT+FPTS         # set post-page status command
Class2SPLCmd:           AT+FSPL         # set polling indicator 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



============================================================================
===============
	This is the log I got when running probemodem ttyS0.

[root@puppy log]# probemodem ttyS0

Now we are going to probe the tty port.  This takes a few seconds,
so be patient.  Note that if you do not have the modem cabled to
the port, or the modem is turned off, this may hang (just go and
cable up the modem or turn it on, or whatever).

Probing for best speed to talk to modem: 38400 OK.
[1]+  Terminated              ( trap 0 1 2 15; while true; do
    sleep 10; echo ""; echo "Hmm, something seems to be hung, check your
modem eh?";
done )

This looks like a Class 1+2 modem.

ATI0    RESULT = "OK"   RESPONSE = "MT5600ZDX"
ATI1    RESULT = "OK"   RESPONSE = "116"
ATI2    RESULT = "OK"   RESPONSE = "OK"
ATI3    RESULT = "OK"   RESPONSE = "V2.300-V90_2M_DLS"

Class 1 stuff...

AT+FCLASS=?     RESULT = "OK"   RESPONSE = "0,1,2,1.0"
AT+FCLASS?      RESULT = "OK"   RESPONSE = "0"
AT+FCLASS=0     RESULT = "OK"   RESPONSE = "OK"
AT+FCLASS=1     RESULT = "OK"   RESPONSE = "OK"
AT+FCLASS?      RESULT = "OK"   RESPONSE = "1"
AT+FJUNK=?      RESULT = "ERROR"        RESPONSE = "ERROR"
AT+FJUNK?       RESULT = "ERROR"        RESPONSE = "ERROR"
AT+FAA=?        RESULT = "OK"   RESPONSE = "0,1"
AT+FAA? RESULT = "OK"   RESPONSE = "0"
AT+FAE=?        RESULT = "OK"   RESPONSE = "0,1"
AT+FAE? RESULT = "OK"   RESPONSE = "0"
AT+FTH=?        RESULT = "OK"   RESPONSE =
"3,24,48,72,73,74,96,97,98,121,122,145,146"
AT+FRH=?        RESULT = "OK"   RESPONSE =
"3,24,48,72,73,74,96,97,98,121,122,145,146"
AT+FTM=?        RESULT = "OK"   RESPONSE =
"3,24,48,72,73,74,96,97,98,121,122,145,146"
AT+FRM=?        RESULT = "OK"   RESPONSE =
"3,24,48,72,73,74,96,97,98,121,122,145,146"
AT+FTS=?        RESULT = "OK"   RESPONSE = "0-255"
AT+FRS=?        RESULT = "OK"   RESPONSE = "0-255"

Class 2 stuff...

AT+FCLASS=?     RESULT = "OK"   RESPONSE = "0,1,2,1.0"
AT+FCLASS?      RESULT = "OK"   RESPONSE = "1"
AT+FCLASS=0     RESULT = "OK"   RESPONSE = "OK"
AT+FCLASS=1     RESULT = "OK"   RESPONSE = "OK"
AT+FCLASS=2     RESULT = "OK"   RESPONSE = "OK"
AT+FCLASS?      RESULT = "OK"   RESPONSE = "2"
AT+FJUNK=?      RESULT = "ERROR"        RESPONSE = "ERROR"
AT+FJUNK?       RESULT = "ERROR"        RESPONSE = "ERROR"
AT+FAA=?        RESULT = "OK"   RESPONSE = "0,1"
AT+FAA? RESULT = "OK"   RESPONSE = "0"
AT+FAXERR=?     RESULT = "OK"   RESPONSE = "0-255"
AT+FAXERR?      RESULT = "OK"   RESPONSE = "0"
AT+FBADLIN=?    RESULT = "OK"   RESPONSE = "0"
AT+FBADLIN?     RESULT = "OK"   RESPONSE = "0"
AT+FBADMUL=?    RESULT = "OK"   RESPONSE = "0"
AT+FBADMUL?     RESULT = "OK"   RESPONSE = "0"
AT+FBOR=?       RESULT = "OK"   RESPONSE = "0-3"
AT+FBOR?        RESULT = "OK"   RESPONSE = "0"
AT+FBUF=?       RESULT = "ERROR"        RESPONSE = "ERROR"
AT+FBUF?        RESULT = "OK"   RESPONSE = "16384,13107,3276,0"
AT+FBUG=?       RESULT = "OK"   RESPONSE = "0"
AT+FBUG?        RESULT = "OK"   RESPONSE = "0"
AT+FCIG=?       RESULT = "OK"   RESPONSE = "(20)(32,33,35-96,123-126)"
AT+FCIG?        RESULT = "OK"   RESPONSE = "OK"
AT+FCQ=?        RESULT = "OK"   RESPONSE = "0"
AT+FCQ? RESULT = "OK"   RESPONSE = "0"
AT+FCR=?        RESULT = "OK"   RESPONSE = "0,1"
AT+FCR? RESULT = "OK"   RESPONSE = "0"
AT+FTBC=?       RESULT = "OK"   RESPONSE = "0"
AT+FTBC?        RESULT = "OK"   RESPONSE = "0"
AT+FDCC=?       RESULT = "OK"   RESPONSE =
"(0,1),(0-5),(0-2),(0-2),0,0,0,(0-7)"
AT+FDCC?        RESULT = "OK"   RESPONSE = "0,5,0,2,0,0,0,0"
AT+FDCS=?       RESULT = "OK"   RESPONSE =
"(0,1),(0-5),(0-2),(0-2),0,0,0,(0-7)"
AT+FDCS?        RESULT = "OK"   RESPONSE = "0,0,0,0,0,0,0,0"
AT+FDIS=?       RESULT = "OK"   RESPONSE =
"(0,1),(0-5),(0-2),(0-2),0,0,0,(0-7)"
AT+FDIS?        RESULT = "OK"   RESPONSE = "0,5,0,2,0,0,0,0"
AT+FDT=?        RESULT = "ERROR"        RESPONSE = "ERROR"
AT+FDT? RESULT = "ERROR"        RESPONSE = "ERROR"
AT+FECM=?       RESULT = "OK"   RESPONSE = "0"
AT+FECM?        RESULT = "OK"   RESPONSE = "0"
AT+FET=?        RESULT = "ERROR"        RESPONSE = "ERROR"
AT+FET? RESULT = "ERROR"        RESPONSE = "ERROR"
AT+FLID=?       RESULT = "OK"   RESPONSE = "(20)(32,33,35-96,123-126)"
AT+FLID?        RESULT = "OK"   RESPONSE = "OK"
AT+FLNFC=?      RESULT = "OK"   RESPONSE = "0"
AT+FLNFC?       RESULT = "OK"   RESPONSE = "0"
AT+FLPL=?       RESULT = "OK"   RESPONSE = "0,1"
AT+FLPL?        RESULT = "OK"   RESPONSE = "0"
AT+FMDL?        RESULT = "OK"   RESPONSE = "MultiModemZDX"
AT+FMFR?        RESULT = "OK"   RESPONSE = "Rockwell"
AT+FMINSP=?     RESULT = "OK"   RESPONSE = "0"
AT+FMINSP?      RESULT = "OK"   RESPONSE = "0"
AT+FPHCTO=?     RESULT = "OK"   RESPONSE = "0-255"
AT+FPHCTO?      RESULT = "OK"   RESPONSE = "30"
AT+FPTS=?       RESULT = "OK"   RESPONSE = "1-5"
AT+FPTS?        RESULT = "OK"   RESPONSE = "0"
AT+FRBC=?       RESULT = "OK"   RESPONSE = "0"
AT+FRBC?        RESULT = "OK"   RESPONSE = "0"
AT+FREL=?       RESULT = "OK"   RESPONSE = "0"
AT+FREL?        RESULT = "OK"   RESPONSE = "0"
AT+FREV?        RESULT = "OK"   RESPONSE = "V2.300-V90_2M_DLS"
AT+FSPL=?       RESULT = "OK"   RESPONSE = "0,1"
AT+FSPL?        RESULT = "OK"   RESPONSE = "0"
AT+FTBC=?       RESULT = "OK"   RESPONSE = "0"
AT+FTBC?        RESULT = "OK"   RESPONSE = "0"
AT+FVRFC=?      RESULT = "OK"   RESPONSE = "0"
AT+FVRFC?       RESULT = "OK"   RESPONSE = "0"
AT+FWDFC=?      RESULT = "OK"   RESPONSE = "0"
AT+FWDFC?       RESULT = "OK"   RESPONSE = "0"
AT+FK=? RESULT = "ERROR"        RESPONSE = "ERROR"


Regards

Jay Ungab
Dairy Farm Off-Shore Support Center
2/F, Bank of Philippine Islands Bldg., Muralla St.
Intramuros, Manila, Philippines
Telephone: +63 (2) 525 6152 Extension 229
Fax: +63 (2) 5279622
Email: jungab@dairy-farm.com.ph






____________________ HylaFAX(tm) Users Mailing List _______________________
 To unsub: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null



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