Hello, Ylya!
You wrote in conference fido7.ru.modem to Tsupka Roman on Mon, 08 Dec 2008
11:38:26 +0300:
YD> А зюхеля настройки ты так и не показал...
Имеем модем зюхель U1496E
=========Beginning of the citation==============
ati1
14181
U1496E V 6.15 P
OK
ati2
ZyXEL U-MODEM LINK STATUS REPORT
Chars Sent 0 Chars Received 0
Octets Sent 0 Octets Received 0
Blocks Sent 0 Blocks Received 0
Blocks Resent 0 Max Outstanding 0
Max Block Size 0 Retrains Requested 0
Link Duration 0 Retrains Granted 0
T401 Timeouts 0 T402 Timeouts 0
FCS Errors 0 Round Trip Delay 0
Xmitter Underrun 0 Receiver overrun 0
Last Speed/Protocol CONNECT 14400
Disconnect Reason Local Hang Up
OK
ati3
OK
ati4
OK
ati5
OK
ati6
OK
ati7
OK
ati8
OK
ati9
OK
ati0
1496
OK
=========The end of the citation================
также имеем Hylafax сервер, который создал вот такой конфиг ему:
=========Beginning of the citation==============
# $Id: zyxel-1496e,v 1.4 2005/02/14 13:56:27 lhoward 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 a ZyXEL U1496. Firmware revisions from
# 5.02 on should work, though rev 6.01 works much better.
# Actually, the preferred use is to get firwmare rev 6.13 or
# 6.14 and configure the modem to use Class 2.0; this file
# is kept around for folks with old firmware.
#
# This configuration file sets up the ZyXEL to run at 38.4 for
# both sending and receiving. RTS/CTS flow control is used on
# the tty port--you probably shouldn't use XON/XOFF. Note that
# on an SGI system the getty speed is the following non-standard
# gettydefs entry:
#
# dx_38400# B38400 # B38400 SANE TAB3 HUPCL #\r\n\n$HOSTNAME login:
#dx_38400
#
#
CountryCode: 38
AreaCode: 057
FAXNumber: 123-45-67
LongDistancePrefix: 8
InternationalPrefix: 10
DialStringRules: etc/dialrules
ServerTracing: 1
SessionTracing: 11
RecvFileMode: 0644
LogFileMode: 0644
DeviceMode: 0644
RingsBeforeAnswer: 1
SpeakerVolume: off
GettyArgs: "-h %l dx_%s"
LocalIdentifier: Zyxel
TagLineFont: etc/lutRS18.pcf
TagLineFormat: "From %%l|%c|Page %%P of %%T"
NoCarrierRetrys: 3
MaxRecvPages: 25
#
#
# Modem-related stuff: should reflect modem command interface
# and hardware connection/cabling (e.g. flow control).
#
ModemType: Class2 # use class 2 interface
ModemRate: 19200
ModemFlowControl: rtscts # default
#
ModemNoFlowCmd: AT&H0 # disable flow control
ModemHardFlowCmd: AT&H3 # hardware flow control
ModemSoftFlowCmd: AT&H4 # software flow control
ModemSetupDTRCmd: AT&D2 # DTR off causes modem to hang up
ModemSetupDCDCmd: AT&C1 # DCD tracks carrier
ModemSetupAACmd: AT+FAA=1 # enable in current class
#
ModemSendFillOrder: LSB2MSB # as expected
ModemRecvFillOrder: MSB2LSB # opposite of what makes sense
Class2RecvDataTrigger: "\022" # a la 2388-B
#
# Additional reset commands:
#
# &B1 DTE-DCE rate is fixed at DTE setting
# &N0 Auto-negotiate highest possible DCE-DCE link rate
# &S0 DSR always on
# *F0 Deny remote configuration
# S18=2 Receive at 38400 (removed from default)
# S38.3=1 DCD on/off sequence follows UNIX standard; also
# fix receiving baud rate at S18 value
# S39=0 (avoid Class 2 compatibility hacks)
#
ModemResetCmds: AT&B1&N0&S0*F0S38.3=1S39=0
#
# 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.)
#
# Unfortunately, ZyXEL's don't seem to detect a busy signal when
# the @ symbol is used to terminate the dialing string. Instead
# calls to a busy line come back with a NO CARRIER status which
# causes us to toss the job. Consequently we fall back to the
# normal method and raise the number of retries on a no carrier
# status. ZyXEL claims that this behaviour is not a bug, but
# rather that we are requesting ``an enhancement'' (never mind
# that their manual says that it should work).
#
ModemDialCmd: ATDT%s # no '@' 'cuz then busy not
recognized
NoCarrierRetrys: 3 # retry 3 times on no carrier
#
ModemSetVolumeCmd: "ATM0 ATM1L1 ATM1L3 ATM1L5 ATM1L7"
#
# Caller ID configuration setup.
#
#CallIDPattern: "CALLER NUMBER: " # pattern string for phone number
info
#CallIDPattern: "CALLER NAME: " # pattern string for identity info
#
PagerSetupCmds: AT&K0&N15 # use V.22 at 1200 bps (PageNet)
#
# Rev 6.1x firmware have a bug in the ECM support so
# explicitly disable it's use. To re-enable its use just
# comment out the following line.
#
Class2DCCQueryCmd: "!(0,1),(0-5),(0-4),(0-2),(0,1),(0),(0),(0-7)"
=========The end of the citation================
При входящем звонке просходит следующее:
=========Beginning of the citation==============
Dec 08 16:30:53.43: [ 880]: SESSION BEGIN 000004236 380571234567
Dec 08 16:30:53.43: [ 880]: HylaFAX (tm) Version 4.4.4
Dec 08 16:30:53.43: [ 880]: <-- [4:ATA\r]
Dec 08 16:31:03.76: [ 880]: --> [10:NO CARRIER]
Dec 08 16:31:03.76: [ 880]: ANSWER: Ring detected without successful
handshake
Dec 08 16:31:03.76: [ 880]: Ring detected without successful handshake
Dec 08 16:31:03.76: [ 880]: SESSION END
=========The end of the citation================
Установленные там же аккорпы при тестовом входящем звонке в лог пишут
следующее:
=========Beginning of the citation==============
Dec 08 16:39:32.46: [ 881]: SESSION BEGIN 000004237 380577591164
Dec 08 16:39:32.46: [ 881]: HylaFAX (tm) Version 4.4.4
Dec 08 16:39:32.46: [ 881]: <-- [4:ATA\r]
Dec 08 16:39:38.46: [ 881]: --> [7:CONNECT]
Dec 08 16:39:38.46: [ 881]: ANSWER: FAX CONNECTION DEVICE '/dev/cuau0'
Dec 08 16:39:38.46: [ 881]: RECV FAX: begin
Dec 08 16:39:38.48: [ 881]: <-- data [32]
Dec 08 16:39:38.48: [ 881]: <-- data [2]
Dec 08 16:39:40.49: [ 881]: --> [7:CONNECT]
Dec 08 16:39:40.49: [ 881]: <-- data [23]
Dec 08 16:39:40.49: [ 881]: <-- data [2]
Dec 08 16:39:41.31: [ 881]: --> [7:CONNECT]
Dec 08 16:39:41.31: [ 881]: <-- data [13]
Dec 08 16:39:41.31: [ 881]: <-- data [2]
Dec 08 16:39:41.94: [ 881]: --> [2:OK]
Dec 08 16:39:41.94: [ 881]: <-- [9:AT+FRH=3\r]
Dec 08 16:39:49.08: [ 881]: --> [0:]
Dec 08 16:39:49.08: [ 881]: MODEM <Empty line>
Dec 08 16:39:49.08: [ 881]: <-- data [1]
Dec 08 16:39:49.13: [ 881]: --> [2:OK]
Dec 08 16:39:49.13: [ 881]: <-- [9:AT+FRS=7\r]
Dec 08 16:39:49.24: [ 881]: --> [2:OK]
Dec 08 16:39:49.24: [ 881]: <-- [9:AT+FTH=3\r]
Dec 08 16:39:49.28: [ 881]: --> [7:CONNECT]
Dec 08 16:39:49.28: [ 881]: <-- data [32]
Dec 08 16:39:49.28: [ 881]: <-- data [2]
Dec 08 16:39:51.31: [ 881]: --> [7:CONNECT]
Dec 08 16:39:51.31: [ 881]: <-- data [23]
Dec 08 16:39:51.31: [ 881]: <-- data [2]
Dec 08 16:39:52.13: [ 881]: --> [7:CONNECT]
Dec 08 16:39:52.13: [ 881]: <-- data [13]
Dec 08 16:39:52.13: [ 881]: <-- data [2]
Dec 08 16:39:52.76: [ 881]: --> [2:OK]
Dec 08 16:39:52.76: [ 881]: <-- [9:AT+FRH=3\r]
Dec 08 16:39:59.90: [ 881]: --> [0:]
Dec 08 16:39:59.90: [ 881]: MODEM <Empty line>
Dec 08 16:39:59.90: [ 881]: <-- data [1]
Dec 08 16:39:59.95: [ 881]: --> [2:OK]
Dec 08 16:39:59.95: [ 881]: <-- [9:AT+FRS=7\r]
Dec 08 16:40:00.06: [ 881]: --> [2:OK]
Dec 08 16:40:00.06: [ 881]: <-- [9:AT+FTH=3\r]
Dec 08 16:40:00.10: [ 881]: --> [7:CONNECT]
Dec 08 16:40:00.10: [ 881]: <-- data [32]
Dec 08 16:40:00.10: [ 881]: <-- data [2]
Dec 08 16:40:02.13: [ 881]: --> [7:CONNECT]
Dec 08 16:40:02.13: [ 881]: <-- data [23]
Dec 08 16:40:02.13: [ 881]: <-- data [2]
Dec 08 16:40:02.96: [ 881]: --> [7:CONNECT]
Dec 08 16:40:02.96: [ 881]: <-- data [13]
Dec 08 16:40:02.96: [ 881]: <-- data [2]
Dec 08 16:40:03.58: [ 881]: --> [2:OK]
Dec 08 16:40:03.58: [ 881]: <-- [9:AT+FRH=3\r]
Dec 08 16:40:10.69: [ 881]: --> [0:]
Dec 08 16:40:10.69: [ 881]: MODEM <Empty line>
Dec 08 16:40:10.69: [ 881]: <-- data [1]
Dec 08 16:40:10.74: [ 881]: --> [2:OK]
Dec 08 16:40:10.74: [ 881]: <-- [9:AT+FRS=7\r]
Dec 08 16:40:10.85: [ 881]: --> [2:OK]
Dec 08 16:40:10.85: [ 881]: <-- [9:AT+FTH=3\r]
Dec 08 16:40:10.89: [ 881]: --> [7:CONNECT]
Dec 08 16:40:10.89: [ 881]: <-- data [32]
Dec 08 16:40:10.89: [ 881]: <-- data [2]
Dec 08 16:40:12.92: [ 881]: --> [7:CONNECT]
Dec 08 16:40:12.92: [ 881]: <-- data [23]
Dec 08 16:40:12.92: [ 881]: <-- data [2]
Dec 08 16:40:13.74: [ 881]: --> [7:CONNECT]
Dec 08 16:40:13.75: [ 881]: <-- data [13]
Dec 08 16:40:13.75: [ 881]: <-- data [2]
Dec 08 16:40:14.37: [ 881]: --> [2:OK]
Dec 08 16:40:14.37: [ 881]: <-- [9:AT+FRH=3\r]
Dec 08 16:40:21.51: [ 881]: --> [0:]
Dec 08 16:40:21.51: [ 881]: MODEM <Empty line>
Dec 08 16:40:21.51: [ 881]: <-- data [1]
Dec 08 16:40:21.56: [ 881]: --> [2:OK]
Dec 08 16:40:21.56: [ 881]: RECV FAX: No sender protocol (T.30 T1 timeout)
Dec 08 16:40:21.56: [ 881]: RECV FAX: end
Dec 08 16:40:21.56: [ 881]: No sender protocol (T.30 T1 timeout)
Dec 08 16:40:21.56: [ 881]: SESSION END
=========The end of the citation================
В общем проблема в том что акорпы пытаются почти минуту хоть о чем то
договорится с противоположной стороне, в тоже время зюхель поднимает трубку
на входящий звонок, хендшейкится менее 10ти секунд и ложит трубку.
With best regards, Цюпка Роман.