Asterisk 1.4.21
iaxmodem 1.2.0
hylafax 5.5.1
факс отправляю с ventafax с ноутбука через Audiocodes MP124-FXS
iax.conf
ttyIAX0 (iaxmodem)[fax]
type=friend
username=fax
context=incoming
secret=12345
host=127.0.0.1
port=4571
qualify=yes
disallow=all
allow=alaw
;allow=ulaw
trunk=no
requirecalltoken=no
config.ttyIAX0 (hylafax)device /dev/ttyIAX0
owner uucp:uucp
mode 660
port 4571
refresh 60
server 127.0.0.1
peername fax
secret 12345
Везде стоит G711 ALAWCountryCode: 7
AreaCode: 495
FAXNumber: 22xxxxx
LongDistancePrefix: 9
InternationalPrefix: 9810
DialStringRules: "etc/dialrules"
ServerTracing: 1
SessionTracing: 0xFFF
RecvFileMode: 0600
LogFileMode: 0600
DeviceMode: 0600
RingsBeforeAnswer: 1
SpeakerVolume: quiet
GettyArgs: ""
#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
#ModemSoftResetCmdDelay: 3000 # pause after soft reset
#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
#
Class1Cmd: AT+FCLASS=1.0 # command to enter class 1.0
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
Class1SwitchingCmd: AT+FRS=7 # command to stop and listen for silence
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
в логе вот что
Feb 15 14:00:46.06: [16844]: SESSION BEGIN 000000064 749522xxxxx
Feb 15 14:00:46.06: [16844]: HylaFAX (tm) Version 6.0.5
Feb 15 14:00:46.06: [16844]: CallID: "5269" "" "<NONE>" "s"
Feb 15 14:00:46.06: [16844]: MODEM set XON/XOFF/FLUSH: input ignored, output disabled
Feb 15 14:00:46.06: [16844]: <-- [4:ATA\r]
Feb 15 14:00:49.78: [16844]: --> [7:CONNECT]
Feb 15 14:00:49.78: [16844]: ANSWER: FAX CONNECTION DEVICE '/dev/ttyIAX0'
Feb 15 14:00:49.78: [16844]: STATE CHANGE: ANSWERING -> RECEIVING
Feb 15 14:00:49.78: [16844]: RECV FAX: begin
Feb 15 14:00:49.78: [16844]: <-- HDLC<32:FF C0 04 B5 00 AA 12 9E 36 86 62 82 1A 04 14 2E B6 94 04 6A A6 4E CE 96 F6 76 04 6C 74 0C 74 AC>
Feb 15 14:00:49.78: [16844]: <-- data [32]
Feb 15 14:00:49.78: [16844]: <-- data [2]
Feb 15 14:00:50.74: [16844]: --> [7:CONNECT]
Feb 15 14:00:50.74: [16844]: <-- HDLC<23:FF C0 02 6C AC 2C 4C AC 4C 4C AC 9C 2C EC D4 04 04 04 04 04 04 04 04>
Feb 15 14:00:50.74: [16844]: <-- data [23]
Feb 15 14:00:50.74: [16844]: <-- data [2]
Feb 15 14:00:51.48: [16844]: --> [7:CONNECT]
Feb 15 14:00:51.48: [16844]: <-- HDLC<13:FF C8 01 00 73 5F 23 01 FB C1 01 01 18>
Feb 15 14:00:51.48: [16844]: <-- data [13]
Feb 15 14:00:51.48: [16844]: <-- data [2]
Feb 15 14:00:52.06: [16844]: --> [2:OK]
Feb 15 14:00:52.06: [16844]: <-- [9:AT+FRH=3\r]
Feb 15 14:00:59.06: [16844]: --> [0:]
Feb 15 14:00:59.06: [16844]: MODEM <Empty line>
Feb 15 14:00:59.06: [16844]: MODEM TIMEOUT: waiting for v.21 carrier
Feb 15 14:00:59.06: [16844]: <-- data [1]
Feb 15 14:00:59.07: [16844]: --> [2:OK]
Feb 15 14:00:59.07: [16844]: <-- [9:AT+FRS=7\r]
Feb 15 14:00:59.09: [16844]: --> [2:OK]
Feb 15 14:00:59.09: [16844]: <-- [9:AT+FTH=3\r]
Feb 15 14:00:59.11: [16844]: --> [7:CONNECT]
Feb 15 14:00:59.11: [16844]: <-- HDLC<32:FF C0 04 B5 00 AA 12 9E 36 86 62 82 1A 04 14 2E B6 94 04 6A A6 4E CE 96 F6 76 04 6C 74 0C 74 AC>
Feb 15 14:00:59.11: [16844]: <-- data [32]
Feb 15 14:00:59.11: [16844]: <-- data [2]
Feb 15 14:01:00.89: [16844]: --> [7:CONNECT]
Feb 15 14:01:00.89: [16844]: <-- HDLC<23:FF C0 02 6C AC 2C 4C AC 4C 4C AC 9C 2C EC D4 04 04 04 04 04 04 04 04>
Feb 15 14:01:00.89: [16844]: <-- data [23]
Feb 15 14:01:00.89: [16844]: <-- data [2]
Feb 15 14:01:01.63: [16844]: --> [7:CONNECT]
Feb 15 14:01:01.63: [16844]: <-- HDLC<13:FF C8 01 00 73 5F 23 01 FB C1 01 01 18>
Feb 15 14:01:01.63: [16844]: <-- data [13]
Feb 15 14:01:01.63: [16844]: <-- data [2]
Feb 15 14:01:02.21: [16844]: --> [2:OK]
Feb 15 14:01:02.21: [16844]: <-- [9:AT+FRH=3\r]
Feb 15 14:01:09.21: [16844]: --> [0:]
Feb 15 14:01:09.21: [16844]: MODEM <Empty line>
Feb 15 14:01:09.21: [16844]: MODEM TIMEOUT: waiting for v.21 carrier
Feb 15 14:01:09.21: [16844]: <-- data [1]
Feb 15 14:01:09.21: [16844]: --> [2:OK]
Feb 15 14:01:09.21: [16844]: <-- [9:AT+FRS=7\r]
Feb 15 14:01:09.23: [16844]: --> [2:OK]
Feb 15 14:01:09.23: [16844]: <-- [9:AT+FTH=3\r]
Feb 15 14:01:09.25: [16844]: --> [7:CONNECT]
Feb 15 14:01:09.25: [16844]: <-- HDLC<32:FF C0 04 B5 00 AA 12 9E 36 86 62 82 1A 04 14 2E B6 94 04 6A A6 4E CE 96 F6 76 04 6C 74 0C 74 AC>
Feb 15 14:01:09.25: [16844]: <-- data [32]
Feb 15 14:01:09.25: [16844]: <-- data [2]
Feb 15 14:01:11.03: [16844]: --> [7:CONNECT]
Feb 15 14:01:11.03: [16844]: <-- HDLC<23:FF C0 02 6C AC 2C 4C AC 4C 4C AC 9C 2C EC D4 04 04 04 04 04 04 04 04>
Feb 15 14:01:11.03: [16844]: <-- data [23]
Feb 15 14:01:11.03: [16844]: <-- data [2]
Feb 15 14:01:11.77: [16844]: --> [7:CONNECT]
Feb 15 14:01:11.77: [16844]: <-- HDLC<13:FF C8 01 00 73 5F 23 01 FB C1 01 01 18>
Feb 15 14:01:11.77: [16844]: <-- data [13]
Feb 15 14:01:11.77: [16844]: <-- data [2]
Feb 15 14:01:12.35: [16844]: --> [2:OK]
Feb 15 14:01:12.35: [16844]: <-- [9:AT+FRH=3\r]
Feb 15 14:01:19.35: [16844]: --> [0:]
Feb 15 14:01:19.35: [16844]: MODEM <Empty line>
Feb 15 14:01:19.35: [16844]: MODEM TIMEOUT: waiting for v.21 carrier
Feb 15 14:01:19.35: [16844]: <-- data [1]
Feb 15 14:01:19.35: [16844]: --> [2:OK]
Feb 15 14:01:19.35: [16844]: <-- [9:AT+FRS=7\r]
Feb 15 14:01:19.39: [16844]: --> [2:OK]
Feb 15 14:01:19.39: [16844]: <-- [9:AT+FTH=3\r]
Feb 15 14:01:19.41: [16844]: --> [7:CONNECT]
Feb 15 14:01:19.41: [16844]: <-- HDLC<32:FF C0 04 B5 00 AA 12 9E 36 86 62 82 1A 04 14 2E B6 94 04 6A A6 4E CE 96 F6 76 04 6C 74 0C 74 AC>
Feb 15 14:01:19.41: [16844]: <-- data [32]
Feb 15 14:01:19.41: [16844]: <-- data [2]
Feb 15 14:01:21.20: [16844]: --> [7:CONNECT]
Feb 15 14:01:21.20: [16844]: <-- HDLC<23:FF C0 02 6C AC 2C 4C AC 4C 4C AC 9C 2C EC D4 04 04 04 04 04 04 04 04>
Feb 15 14:01:21.20: [16844]: <-- data [23]
Feb 15 14:01:21.20: [16844]: <-- data [2]
Feb 15 14:01:21.94: [16844]: --> [7:CONNECT]
Feb 15 14:01:21.94: [16844]: <-- HDLC<13:FF C8 01 00 73 5F 23 01 FB C1 01 01 18>
Feb 15 14:01:21.94: [16844]: <-- data [13]
Feb 15 14:01:21.94: [16844]: <-- data [2]
Feb 15 14:01:22.52: [16844]: --> [2:OK]
Feb 15 14:01:22.52: [16844]: <-- [9:AT+FRH=3\r]
Feb 15 14:01:25.38: [16844]: --> [10:NO CARRIER]
Feb 15 14:01:25.38: [16844]: MODEM No carrier
Feb 15 14:01:25.38: [16844]: <-- [9:AT+FRS=7\r]
Feb 15 14:01:25.38: [16844]: --> [5:ERROR]
Feb 15 14:01:25.38: [16844]: MODEM Command error
Feb 15 14:01:25.38: [16844]: Failure to receive silence (synchronization failure).
Feb 15 14:01:25.38: [16844]: RECV FAX: Failure to receive silence (synchronization failure).
Feb 15 14:01:25.38: [16844]: RECV FAX: end
Feb 15 14:01:25.38: [16844]: Failure to receive silence (synchronization failure).
Feb 15 14:01:25.38: [16844]: SESSION END