Страница 1 из 1

Hylafax+iaxmodem

Добавлено: 15 фев 2012, 14:44
tim77
Коллеги, подскажите где косяк. Всю голову сломал уже
Asterisk 1.4.21
iaxmodem 1.2.0
hylafax 5.5.1

факс отправляю с ventafax с ноутбука через Audiocodes MP124-FXS

iax.conf
[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
ttyIAX0 (iaxmodem)
device /dev/ttyIAX0
owner uucp:uucp
mode 660
port 4571
refresh 60
server 127.0.0.1
peername fax
secret 12345
config.ttyIAX0 (hylafax)
CountryCode: 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
Везде стоит G711 ALAW

в логе вот что
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

Re: Hylafax+iaxmodem

Добавлено: 15 фев 2012, 14:49
Vlad1983
конфиг Audiocodes выложите
Advanced Configuration > Configuration File > Configuration File

Re: Hylafax+iaxmodem

Добавлено: 15 фев 2012, 15:18
tim77
;**************
;** Ini File **
;**************

;Board: MP-124 FXS
;Serial Number: 3225540
;Slot Number: 1
;Software Version: 5.80A.023.006
;DSP Software Version: 204IM => 580.05
;Board IP Address: 192.168.1.109
;Board Subnet Mask: 255.255.252.0
;Board Default Gateway: 192.168.0.1
;Ram size: 64M Flash size: 8M
;Num of DSP Cores: 6 Num DSP Channels: 24
;Profile: NONE
;-----------------------------------------


[SYSTEM Params]

DNSPriServerIP = 192.168.0.222
DNSSecServerIP = 192.168.0.68
SyslogServerIP = 10.1.1.89
VXMLFIleName = ''
NTPServerIP = 192.168.0.222
VoiceMenuPassword = 'disable'

[BSP Params]

PCMLawSelect = 3
EnableLANWatchdog = 0
RoutingTableHopsCountColumn = 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0

[Analog Params]

PolarityReversalType = 1
MinFlashHookTime = 100
FXSLoopCharacteristicsFilename = 'MP11x-02-1-FXS_16KHZ.dat'

[ControlProtocols Params]


[MGCP Params]


[MEGACO Params]

DIGITMAPPING = ''
EP_Num_0 = 0
EP_Num_1 = 1
EP_Num_2 = 0
EP_Num_3 = 0
EP_Num_4 = 0

[Voice Engine Params]

FarEndDisconnectSilenceMethod = 0
FarEndDisconnectSilencePeriod = 120
CallProgressTonesFilename = 'usa_tones_13.dat'
BrokenConnectionEventTimeout = 100
CallerIDTransportType = 1
CallerIDType = 16
FaxTransportMode = 2
V21ModemTransportType = 2
V22ModemTransportType = 2
V23ModemTransportType = 2
V32ModemTransportType = 2
V34ModemTransportType = 2
FaxModemBypassCoderType = 0
CNGDetectorMode = 1
RFC2833TxPayloadType = 101
RFC2833RxPayloadType = 101
DTMFDetectorSensitivity = 1

[WEB Params]

LogoWidth = '145'

[SIP Params]

MAXDIGITS = 21
TIMEBETWEENDIGITS = 4
ISPROXYUSED = 1
ISREGISTERNEEDED = 1
AUTHENTICATIONMODE = 0
GWDEBUGLEVEL = 5
ENABLEEARLYMEDIA = 1
DEFAULTNUMBER = ''
PROXYNAME = '***********'
SIPGATEWAYNAME = 'gateway.com'
PROGRESSINDICATOR2IP = -1
ALWAYSSENDTOPROXY = 1
PROXYREDUNDANCYMODE = 1
CDRSYSLOGSERVERIP = 0.0.0.0
PSTNALERTTIMEOUT = 180
ISFAXUSED = 1
REGISTRARNAME = '**********'
REGISTRATIONTIMETHRESHOLD = 120
REDUNDANTROUTINGMODE = 2
EmergencyNumbers = '', '', '', ''
REGISTRARTRANSPORTTYPE = 0
FAXCNGMODE = 1
SBCREGISTRATIONTIME = 20
SIPREROUTINGMODE = 1

[IPsec Params]


[SNMP Params]


;
; *** TABLE DspTemplates ***
; This table contains hidden elements and will not be exposed.
; This table exists on board and will be saved during restarts
;

;
; *** TABLE CoderName ***
;
;

[ CoderName ]
FORMAT CoderName_Index = CoderName_Type, CoderName_PacketInterval, CoderName_rate, CoderName_PayloadType, CoderName_Sce;
CoderName 0 = g711Ulaw64k, 20, 0, 255, 0;
CoderName 1 = g729, 20, 0, 255, 0;
CoderName 2 = g711Alaw64k, 20, 0, 255, 0;

[ \CoderName ]

;
; *** TABLE TrunkGroup ***
;
;

[ TrunkGroup ]
; ** NOTE: Changes were made to active configuration.
; ** The data below is different from current values.
FORMAT TrunkGroup_Index = TrunkGroup_TrunkGroupNum, TrunkGroup_FirstTrunkId, TrunkGroup_FirstBChannel, TrunkGroup_LastBChannel, TrunkGroup_FirstPhoneNumber, TrunkGroup_ProfileId, TrunkGroup_LastTrunkId, TrunkGroup_Module;
TrunkGroup 0 = 0, 255, 1, 1, 5269, 0, 255, 255;
TrunkGroup 1 = 0, 255, 2, 2, 5184, 0, 255, 255;
TrunkGroup 2 = 0, 255, 3, 3, 5240, 0, 255, 255;
TrunkGroup 3 = 0, 255, 4, 4, 5223, 0, 255, 255;
TrunkGroup 4 = 0, 255, 5, 5, 5127, 0, 255, 255;
TrunkGroup 5 = 0, 255, 6, 6, 5775, 0, 255, 255;
TrunkGroup 6 = 0, 255, 7, 7, 5301, 0, 255, 255;
TrunkGroup 7 = 0, 255, 8, 8, 5128, 0, 255, 255;
TrunkGroup 8 = 0, 255, 9, 9, 5124, 0, 255, 255;
TrunkGroup 9 = 0, 255, 10, 10, 5300, 0, 255, 255;
TrunkGroup 10 = 0, 255, 11, 11, 5900, 0, 255, 255;
TrunkGroup 11 = 0, 255, 12, 12, 5727, 0, 255, 255;
TrunkGroup 14 = 0, 255, 15, 15, 5272, 0, 255, 255;
TrunkGroup 15 = 0, 255, 16, 16, 5291, 0, 255, 255;

[ \TrunkGroup ]

;
; *** TABLE ProxyIp ***
;
;

[ ProxyIp ]
FORMAT ProxyIp_Index = ProxyIp_IpAddress, ProxyIp_TransportType, ProxyIp_ProxySetId;
ProxyIp 0 = ******, 0, 0;

[ \ProxyIp ]

;
; *** TABLE TxDtmfOption ***
;
;

[ TxDtmfOption ]
FORMAT TxDtmfOption_Index = TxDtmfOption_Type;
TxDtmfOption 0 = 4;

[ \TxDtmfOption ]

;
; *** TABLE IpProfile ***
;
;

[ IpProfile ]
FORMAT IpProfile_Index = IpProfile_ProfileName, IpProfile_IpPreference, IpProfile_CodersGroupID, IpProfile_IsFaxUsed, IpProfile_JitterBufMinDelay, IpProfile_JitterBufOptFactor, IpProfile_IPDiffServ, IpProfile_SigIPDiffServ, IpProfile_SCE, IpProfile_RTPRedundancyDepth, IpProfile_RemoteBaseUDPPort, IpProfile_CNGmode, IpProfile_VxxTransportType, IpProfile_NSEMode, IpProfile_IsDTMFUsed, IpProfile_PlayRBTone2IP, IpProfile_EnableEarlyMedia, IpProfile_ProgressIndicator2IP, IpProfile_EnableEchoCanceller, IpProfile_CopyDest2RedirectNumber, IpProfile_MediaSecurityBehaviour, IpProfile_CallLimit, IpProfile_DisconnectOnBrokenConnection, IpProfile_FirstTxDtmfOption, IpProfile_SecondTxDtmfOption, IpProfile_RxDTMFOption, IpProfile_EnableHold, IpProfile_InputGain, IpProfile_VoiceVolume, IpProfile_AddIEInSetup, IpProfile_SBCExtensionCodersGroupID, IpProfile_MediaIPVersionPreference, IpProfile_TranscodingMode;
IpProfile 1 = , 1, 0, 1, 10, 10, 46, 40, 0, 0, 0, 0, 2, 0, 1, 0, 1, -1, 1, 0, 0, -1, 1, 0, 0, 1, 0, 0, 0, , -1, 0, 0;

[ \IpProfile ]

;
; *** TABLE EnableCallerId ***
;
;

[ EnableCallerId ]
FORMAT EnableCallerId_Index = EnableCallerId_IsEnabled;
EnableCallerId 0 = 1;
EnableCallerId 1 = 1;
EnableCallerId 2 = 1;
EnableCallerId 3 = 1;
EnableCallerId 4 = 1;
EnableCallerId 5 = 1;
EnableCallerId 6 = 1;
EnableCallerId 7 = 1;
EnableCallerId 8 = 1;
EnableCallerId 9 = 1;
EnableCallerId 10 = 1;
EnableCallerId 11 = 1;
EnableCallerId 12 = 1;
EnableCallerId 13 = 1;
EnableCallerId 14 = 1;
EnableCallerId 15 = 1;
EnableCallerId 16 = 1;
EnableCallerId 17 = 1;
EnableCallerId 18 = 1;
EnableCallerId 19 = 1;
EnableCallerId 20 = 1;
EnableCallerId 21 = 1;
EnableCallerId 22 = 1;
EnableCallerId 23 = 1;

[ \EnableCallerId ]

;
; *** TABLE Authentication ***
;
;

[ Authentication ]
FORMAT Authentication_Index = Authentication_UserId, Authentication_UserPassword;


**********

[ \Authentication ]

;
; *** TABLE CallWaitingPerPort ***
;
;

[ CallWaitingPerPort ]
FORMAT CallWaitingPerPort_Index = CallWaitingPerPort_IsEnabled;
CallWaitingPerPort 0 = 0;
CallWaitingPerPort 1 = 0;
CallWaitingPerPort 2 = 0;
CallWaitingPerPort 3 = 0;
CallWaitingPerPort 4 = 0;
CallWaitingPerPort 5 = 0;
CallWaitingPerPort 6 = 0;
CallWaitingPerPort 7 = 0;
CallWaitingPerPort 8 = 0;
CallWaitingPerPort 9 = 0;
CallWaitingPerPort 10 = 0;
CallWaitingPerPort 11 = 0;
CallWaitingPerPort 12 = 0;
CallWaitingPerPort 13 = 0;
CallWaitingPerPort 14 = 0;
CallWaitingPerPort 15 = 0;
CallWaitingPerPort 16 = 0;
CallWaitingPerPort 17 = 0;
CallWaitingPerPort 18 = 0;
CallWaitingPerPort 19 = 0;
CallWaitingPerPort 20 = 0;
CallWaitingPerPort 21 = 0;
CallWaitingPerPort 22 = 0;
CallWaitingPerPort 23 = 0;

[ \CallWaitingPerPort ]

;
; *** TABLE ProxySet ***
;
;

[ ProxySet ]
FORMAT ProxySet_Index = ProxySet_EnableProxyKeepAlive, ProxySet_ProxyKeepAliveTime, ProxySet_ProxyLoadBalancingMethod, ProxySet_IsProxyHotSwap, ProxySet_SRD;
ProxySet 0 = 0, 60, 0, 0, 0;

[ \ProxySet ]

;
; *** TABLE InterfaceTable ***
;
;

[ InterfaceTable ]
FORMAT InterfaceTable_Index = InterfaceTable_ApplicationTypes, InterfaceTable_InterfaceMode, InterfaceTable_IPAddress, InterfaceTable_PrefixLength, InterfaceTable_Gateway, InterfaceTable_VlanID, InterfaceTable_InterfaceName;
InterfaceTable 0 = 6, 10, 192.168.1.109, 22, 192.168.0.1, 1, O+M+C;

[ \InterfaceTable ]

Re: Hylafax+iaxmodem

Добавлено: 15 фев 2012, 15:36
Vlad1983
похоже конвертация кодеков идет

[ CoderName ]
FORMAT CoderName_Index = CoderName_Type, CoderName_PacketInterval, CoderName_rate, CoderName_PayloadType, CoderName_Sce;
CoderName 0 = g711Ulaw64k, 20, 0, 255, 0;
CoderName 1 = g729, 20, 0, 255, 0;
CoderName 2 = g711Alaw64k, 20, 0, 255, 0;

[fax]
disallow=all
allow=alaw
;allow=ulaw

расставьте правильно приоритеты для начала

вот ещё
[SIP Params]
...
ISFAXUSED = 1

надо на
ISFAXUSED = 2
правится в
Protocol Definition > SIP General Parameters
Fax Signaling Method : G.711 Transport

Re: Hylafax+iaxmodem

Добавлено: 15 фев 2012, 16:29
tim77
Спасибо, заработало. Но это при пересылке внутри сети
Из города тоже проблемы.
Там у меня стоит Quintum DX 4060, который преобразует E1 в VoIP. Но там вроде везде выставлен g711 и тем не менее не проходит
cat
Feb 15 16:18:35.19: [16844]: SESSION BEGIN 000000066 74952252456
Feb 15 16:18:35.19: [16844]: HylaFAX (tm) Version 6.0.5
Feb 15 16:18:35.19: [16844]: CallID: "" "" "" ""
Feb 15 16:18:35.19: [16844]: MODEM set XON/XOFF/FLUSH: input ignored, output disabled
Feb 15 16:18:35.19: [16844]: <-- [4:ATA\r]
Feb 15 16:18:38.91: [16844]: --> [7:CONNECT]
Feb 15 16:18:38.91: [16844]: ANSWER: FAX CONNECTION DEVICE '/dev/ttyIAX0'
Feb 15 16:18:38.91: [16844]: STATE CHANGE: ANSWERING -> RECEIVING
Feb 15 16:18:38.91: [16844]: RECV FAX: begin
Feb 15 16:18:38.91: [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 16:18:38.91: [16844]: <-- data [32]
Feb 15 16:18:38.91: [16844]: <-- data [2]
Feb 15 16:18:39.87: [16844]: --> [7:CONNECT]
Feb 15 16:18:39.87: [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 16:18:39.87: [16844]: <-- data [23]
Feb 15 16:18:39.87: [16844]: <-- data [2]
Feb 15 16:18:40.61: [16844]: --> [7:CONNECT]
Feb 15 16:18:40.61: [16844]: <-- HDLC<13:FF C8 01 00 77 5F 23 01 FB C1 01 01 18>
Feb 15 16:18:40.61: [16844]: <-- data [13]
Feb 15 16:18:40.61: [16844]: <-- data [2]
Feb 15 16:18:41.19: [16844]: --> [2:OK]
Feb 15 16:18:41.19: [16844]: <-- [9:AT+FRH=3\r]
Feb 15 16:18:41.63: [16844]: --> [7:CONNECT]
Feb 15 16:18:43.15: [16844]: --> HDLC<25:FF C0 C2 04 04 04 04 04 04 04 04 04 04 04 04 04 EC 1C 0C CC AC 4C 9C B3 42>
Feb 15 16:18:43.15: [16844]: --> [2:OK]
Feb 15 16:18:43.15: [16844]: RECV recv TSI (sender id)
Feb 15 16:18:43.15: [16844]: REMOTE TSI "925***"
Feb 15 16:18:43.15: [16844]: <-- [9:AT+FRH=3\r]
Feb 15 16:18:43.51: [16844]: --> [7:CONNECT]
Feb 15 16:18:43.51: [16844]: --> HDLC<11:FF C8 C1 00 44 1F 23 01 00 0B CF>
Feb 15 16:18:43.59: [16844]: --> [2:OK]
Feb 15 16:18:43.59: [16844]: RECV recv DCS (command signal)
Feb 15 16:18:43.59: [16844]: REMOTE wants 14400 bit/s
Feb 15 16:18:43.59: [16844]: REMOTE wants A4 page width (215 mm)
Feb 15 16:18:43.59: [16844]: REMOTE wants unlimited page length
Feb 15 16:18:43.59: [16844]: REMOTE wants 3.85 line/mm
Feb 15 16:18:43.59: [16844]: REMOTE wants 2-D MMR
Feb 15 16:18:43.59: [16844]: REMOTE wants T.30 Annex A, 256-byte ECM
Feb 15 16:18:43.59: [16844]: RECV training at v.17 14400 bit/s
Feb 15 16:18:43.59: [16844]: MODEM set XON/XOFF/DRAIN: input ignored, output generated
Feb 15 16:18:43.59: [16844]: <-- [11:AT+FRM=145\r]
Feb 15 16:18:48.09: [16844]: --> [0:]
Feb 15 16:18:48.09: [16844]: MODEM <Empty line>
Feb 15 16:18:48.09: [16844]: MODEM TIMEOUT: receiving TCF
Feb 15 16:18:48.09: [16844]: <-- data [1]
Feb 15 16:18:48.11: [16844]: --> [2:OK]
Feb 15 16:18:48.11: [16844]: MODEM set XON/XOFF/DRAIN: input ignored, output disabled
Feb 15 16:18:48.11: [16844]: <-- [9:AT+FRS=7\r]
Feb 15 16:18:48.13: [16844]: --> [2:OK]
Feb 15 16:18:48.13: [16844]: <-- [9:AT+FTH=3\r]
Feb 15 16:18:48.15: [16844]: --> [7:CONNECT]
Feb 15 16:18:48.15: [16844]: <-- HDLC<3:FF C8 22>
Feb 15 16:18:48.15: [16844]: <-- data [3]
Feb 15 16:18:48.15: [16844]: <-- data [2]
Feb 15 16:18:49.23: [16844]: --> [2:OK]
Feb 15 16:18:49.23: [16844]: TRAINING failed
Feb 15 16:18:49.23: [16844]: <-- [9:AT+FRH=3\r]
Feb 15 16:18:49.63: [16844]: --> [7:CONNECT]
Feb 15 16:18:51.19: [16844]: --> HDLC<25:FF C0 C2 04 04 04 04 04 04 04 04 04 04 04 04 04 EC 1C 0C CC AC 4C 9C B3 42>
Feb 15 16:18:51.19: [16844]: --> [2:OK]
Feb 15 16:18:51.19: [16844]: RECV recv TSI (sender id)
Feb 15 16:18:51.19: [16844]: REMOTE TSI "925***"
Feb 15 16:18:51.19: [16844]: <-- [9:AT+FRH=3\r]
Feb 15 16:18:51.55: [16844]: --> [7:CONNECT]
Feb 15 16:18:51.55: [16844]: --> HDLC<11:FF C8 C1 00 54 1F 23 01 00 0F 95>
Feb 15 16:18:51.61: [16844]: --> [2:OK]
Feb 15 16:18:51.61: [16844]: RECV recv DCS (command signal)
Feb 15 16:18:51.61: [16844]: REMOTE wants 12000 bit/s
Feb 15 16:18:51.61: [16844]: REMOTE wants A4 page width (215 mm)
Feb 15 16:18:51.61: [16844]: REMOTE wants unlimited page length
Feb 15 16:18:51.61: [16844]: REMOTE wants 3.85 line/mm
Feb 15 16:18:51.61: [16844]: REMOTE wants 2-D MMR
Feb 15 16:18:51.61: [16844]: REMOTE wants T.30 Annex A, 256-byte ECM
Feb 15 16:18:51.61: [16844]: RECV training at v.17 12000 bit/s
Feb 15 16:18:51.61: [16844]: MODEM set XON/XOFF/DRAIN: input ignored, output generated
Feb 15 16:18:51.61: [16844]: <-- [11:AT+FRM=121\r]
Feb 15 16:18:56.11: [16844]: --> [0:]
Feb 15 16:18:56.11: [16844]: MODEM <Empty line>
Feb 15 16:18:56.11: [16844]: MODEM TIMEOUT: receiving TCF
Feb 15 16:18:56.11: [16844]: <-- data [1]
Feb 15 16:18:56.13: [16844]: --> [2:OK]
Feb 15 16:18:56.13: [16844]: MODEM set XON/XOFF/DRAIN: input ignored, output disabled
Feb 15 16:18:56.13: [16844]: <-- [9:AT+FRS=7\r]
Feb 15 16:18:56.15: [16844]: --> [2:OK]
Feb 15 16:18:56.15: [16844]: <-- [9:AT+FTH=3\r]
Feb 15 16:18:56.17: [16844]: --> [7:CONNECT]
Feb 15 16:18:56.17: [16844]: <-- HDLC<3:FF C8 22>
Feb 15 16:18:56.17: [16844]: <-- data [3]
Feb 15 16:18:56.17: [16844]: <-- data [2]
Feb 15 16:18:57.25: [16844]: --> [2:OK]
Feb 15 16:18:57.25: [16844]: TRAINING failed
......
ну и так далее

Re: Hylafax+iaxmodem

Добавлено: 15 фев 2012, 17:03
tim77
Я разобрался. У меня на Quintum стояла опция t38/g711, тоесть сначала он пытался по t38 отослать
Поставил принудительно g711 и вроде заработало