Hylafax Mailing List Archives

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

[hylafax-users] DID problem



I'm having some problems getting DID to work.  I'm using a MultiTech
MultiModemDID, and Hylafax 4.1.1-3.1 (From Debian Woody).

Reception on the POTS port of the modem works fine, but not on the DID port.
The modem gets the DID digits okay, but then things just time out:

Feb  7 12:25:02 dialtone FaxQueuer[277]: MODEM ttyS0: READY, capabilities
P3fc3e7ff:ff
Feb  7 12:25:15 dialtone FaxGetty[399]: STATE CHANGE: RUNNING -> LISTENING
Feb  7 12:25:15 dialtone FaxGetty[399]: MODEM input buffering enabled
Feb  7 12:25:15 dialtone FaxQueuer[277]: MODEM ttyS0: BUSY
Feb  7 12:25:15 dialtone FaxGetty[399]: --> [5:DTMF4]
Feb  7 12:25:15 dialtone FaxGetty[399]: --> [5:DTMF7]
Feb  7 12:25:15 dialtone FaxGetty[399]: --> [5:DTMF5]
Feb  7 12:25:15 dialtone FaxGetty[399]: --> [5:DTMF2]
Feb  7 12:25:20 dialtone FaxGetty[399]: MODEM TIMEOUT: reading line from
modem
Feb  7 12:25:20 dialtone FaxGetty[399]: <-- [5:ATH0\r]
Feb  7 12:25:21 dialtone FaxGetty[399]: --> [2:OK]

The problem appears to be that, during configuration, HylaFax is setting
S-register S0 to 0, which means it needs to issue an ATA before the modem
will connect.  But when it's received the four DTMF digits, it never issues
the ATA -- it times out and hangs up instead.

Here's the config file I'm using:

CountryCode:            1
AreaCode:               734
FAXNumber:              +1.734.995.2413
LongDistancePrefix:     1
InternationalPrefix:    011
DialStringRules:        etc/dialrules
ServerTracing:          0xFFF
SessionTracing:         0x08501
RecvFileMode:           0640
LogFileMode:            0640
DeviceMode:             0660
RingsBeforeAnswer:      1
SpeakerVolume:          off
GettyArgs:              "-r -b %l"
LocalIdentifier:        "INTERCLEAN EQUIPMENT"
TagLineFormat:          "From %%l|%c|Page %%P of %%T"
TagLineFont:            etc/lutRS18.pcf
MaxRecvPages:           100


ModemType:              Class1          # use this to supply a hint
ModemRate:              57600           # must be at least as fast as the
DCE-DCE communication
ModemFlowControl:       rtscts          # many firmwares have broken
software flow control
Class1EnableV34Cmd:     AT+F34=14,1,2   # 33600-2400 primary, 2400-1200
control
Class1TCFRecvHack:      yes             # avoid +FCERROR before TCF
Class1TMConnectDelay:   400             # counteract quick CONNECT response

# If your line supports Caller-ID, you may want to uncomment this...
# QualifyCID:           etc/cid         # you must create this file
# ModemResetCmds:       AT+VCID=1
# CIDNumber:            "NMBR="
# CIDName:              "NAME="

# Or with the MT5634ZBA-DID you'll probably need something like...
ModemResetCmds: AT*DS1*DD0*DF1*DN4      # enable DTMF-DID, wink-start, 3
digits
CIDNumber:              "DTMF"          # format of AT*DF1
CIDNumberAnswerLength:  4               # four DTMF-DID digits then ATA

# From the generic class1 file:

Class1Cmd:              AT+FCLASS=1     # command to enter class 1
Class1PPMWaitCmd:       AT+FTS=7        # command to stop and wait before
PPM
Class1TCFWaitCmd:       AT+FTS=7        # command to stop and wait before
TCF
Class1EOPWaitCmd:       AT+FTS=9        # command to stop and wait before
EOP
Class1TCFResponseDelay: 75              # 75ms delay between recv TCF &
response
Class1SendMsgDelay:     75              # 75ms delay after training
Class1SwitchingDelay:   75              # 150ms delay in switching
transmission direction
Class1TrainingRecovery: 1500            # 1.5sec delay after training
failure
Class1RecvAbortOK:      200             # wait 200ms for abort response
Class1FrameOverhead:    4               # 4 byte overhead in recvd HDLC
frames
Class1RecvIdentTimer:   40000           # 35+5secs waiting for ident frames
Class1TCFMaxNonZero:    10              # max 10% of data may be non-zero
Class1TCFMinRun:        1000            # min run is 2/3rds of TCF duration

____________________ 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