HylaFAX The world's
most advanced open source fax server
|
|
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
[hylafax-users] hylafax + iaxmodem = No receiver protocol (T.30 T1 timeout)
A couple days ago I test this out, it worked. I didn't change anything with hylafax or iaxmodem. Id did change the code for the from slinear to ulaw and back in my testing.
Here's the log of an attempted fax:
Nov 20 02:01:17.58: [ 5004]: SESSION BEGIN 000000020 18178175819751
Nov 20 02:01:17.58: [ 5004]: HylaFAX (tm) Version 4.4.7
Nov 20 02:01:17.58: [ 5004]: SEND FAX: JOB 9 DEST 8175819751 COMMID 000000020 DEVICE '/dev/ttyIAX0' FROM 'me <
me@xxxxxxxxx>' USER asterisk
Nov 20 02:01:17.58: [ 5004]: STATE CHANGE: RUNNING -> SENDING
Nov 20 02:01:17.58: [ 5004]: <-- [12:AT+FCLASS=1\r]
Nov 20 02:01:17.60: [ 5004]: --> [2:OK]
Nov 20 02:01:17.60: [ 5004]: MODEM set XON/XOFF/FLUSH: input ignored, output disabled
Nov 20 02:01:17.60: [ 5004]: DIAL 8175819751
Nov 20 02:01:17.60: [ 5004]: <-- [15:ATDT8175819751\r]
Nov 20 02:01:34.37: [ 5004]: --> [7:CONNECT]
Nov 20 02:01:35.50: [ 5004]: --> HDLC<16:FF C0 04 00 00 6A AA AA 00 31 09 01 71 88 77 DC>
Nov 20 02:01:35.50: [ 5004]: --> [2:OK]
Nov 20 02:01:35.50: [ 5004]: REMOTE NSF "00 00 56 55 55 00 8C 90 80 8E 11"
Nov 20 02:01:35.50: [ 5004]: NSF remote fax equipment: Brother MFC-3100C/MFC-8600
Nov 20 02:01:35.50: [ 5004]: <-- [9:AT+FRH=3\r]
Nov 20 02:01:36.00: [ 5004]: --> [7:CONNECT]
Nov 20 02:01:36.00: [ 5004]: --> HDLC<25:FF C0 02 8C AC EC 9C 8C 1C AC EC 8C 1C 04 04 04 04 04 04 04 04 04 04 BE CC>
Nov 20 02:01:36.00: [ 5004]: --> [2:OK]
Nov 20 02:01:36.00: [ 5004]: REMOTE CSI "8175819751"
Nov 20 02:01:36.00: [ 5004]: <-- [9:AT+FRH=3\r]
Nov 20 02:01:36.44: [ 5004]: --> [7:CONNECT]
Nov 20 02:01:36.44: [ 5004]: --> HDLC<15:FF C8 01 00 77 1D 23 01 89 01 01 19 00 86 BA>
Nov 20 02:02:06.44: [ 5004]: MODEM TIMEOUT: reading line from modem
Nov 20 02:02:06.44: [ 5004]: MODEM <Timeout>
Nov 20 02:02:06.44: [ 5004]: <-- [9:AT+FRS=7\r]
Nov 20 02:02:15.62: [ 5004]: --> [2:OK]
Nov 20 02:02:15.62: [ 5004]: <-- [9:AT+FRH=3\r]
Nov 20 02:02:17.96: [ 5004]: --> [10:NO CARRIER]
Nov 20 02:02:17.96: [ 5004]: MODEM No carrier
Nov 20 02:02:17.96: [ 5004]: No receiver protocol (T.30 T1 timeout)
Nov 20 02:02:17.96: [ 5004]: SEND FAILED: JOB 9 DEST 8175819751 ERR [126] No receiver protocol (T.30 T1 timeout)
Nov 20 02:02:17.96: [ 5004]: <-- [9:AT+FRS=7\r]
Nov 20 02:02:17.96: [ 5004]: --> [5:ERROR]
Nov 20 02:02:17.96: [ 5004]: MODEM Command error
Nov 20 02:02:17.96: [ 5004]: Failure to receive silence (synchronization failure).
Nov 20 02:02:17.96: [ 5004]: <-- [9:AT+FTH=3\r]
Nov 20 02:02:17.97: [ 5004]: --> [5:ERROR]
Nov 20 02:02:17.97: [ 5004]: MODEM input buffering enabled
Nov 20 02:02:17.97: [ 5004]: SEND FAILED: JOB 9 DEST 8175819751 ERR [334] No receiver protocol (T.30 T1 timeout); too many attempts to send
Nov 20 02:02:18.98: [ 5004]: <-- [5:ATH0\r]
Nov 20 02:02:19.11: [ 5004]: --> [2:OK]
Nov 20 02:02:19.11: [ 5004]: MODEM set DTR OFF
Nov 20 02:02:19.11: [ 5004]: MODEM set baud rate: 0 baud (flow control unchanged)
Nov 20 02:02:19.11: [ 5004]: STATE CHANGE: SENDING -> MODEMWAIT (timeout 5)
Nov 20 02:02:19.11: [ 5004]: SESSION END
Here's my iaxmodem-cfg.ttyIAX0 config
device /dev/ttyIAX0
owner uucp:uucp
mode 660
port 4570
refresh 300
server 127.0.0.1
peername 5555
secret mysecret
cidname John Doe
cidnumber 8175142899
codec slinear
here's my config.ttyIAX
CountryCode: 1
AreaCode: 800
FAXNumber: +1.817.581.9751
LongDistancePrefix: 1
InternationalPrefix: 011
DialStringRules: etc/dialrules
ServerTracing: 0xFFF
SessionTracing: 0xFFF
RecvFileMode: 0600
LogFileMode: 0600
DeviceMode: 0600
RingsBeforeAnswer: 1
SpeakerVolume: off
GettyArgs: "-h %l dx_%s"
LocalIdentifier: "IAXmodem"
TagLineFont: etc/lutRS18.pcf
TagLineFormat: "From %%l|%c|Page %%P of %%T"
MaxRecvPages: 200
#
#
# Modem-related stuff: should reflect modem command interface
# and hardware connection/cabling (e.g. flow control).
#
ModemType: Class1 # use this to supply a hint
#
# Enabling this will use the hfaxd-protocol to set Caller*ID
#
#ModemSetOriginCmd: AT+VSID="%s","%d"
#
# If "glare" during initialization becomes a problem then take
# the modem off-hook during initialization, and then place it
# back on-hook when done.
#
#ModemResetCmds: "ATH1\nAT+VCID=1" # enables CallID display
#ModemReadyCmds: ATH0
Class1AdaptRecvCmd: AT+FAR=1
Class1TMConnectDelay: 400 # counteract quick CONNECT response
#
# If you have trouble with V.17 receiving or sending,
# you may want to enable one of these, respectively.
#
#Class1RMQueryCmd: "!24,48,72,96" # enable this to disable V.17 receiving
#Class1TMQueryCmd: "!24,48,72,96" # enable this to disable V.17 sending
#
# You'll likely want Caller*ID display (also displays DID) enabled.
#
ModemResetCmds: AT+VCID=1 # enables CallID display
#
# The pty does not support changing parity.
#
PagerTTYParity: none
#
# If you are "missing" Caller*ID data on some calls (but not all)
# and if you do not have adequate glare protection you may want to
# not answer based on RINGs, but rather enable the CallIDAnswerLength
# for NDID, disable AT+VCID=1 and do this:
#
#RingsBeforeAnswer: 0
#ModemRingResponse: AT+VRID=1
# Uncomment DATE and TIME if you really want them, but you probably don't.
#CallIDPattern: "DATE="
#CallIDPattern: "TIME="
CallIDPattern: "NMBR="
CallIDPattern: "NAME="
CallIDPattern: "ANID="
#CallIDPattern: "USER=" # username provided by call
#CallIDPattern: "PASS=" # password provided by call
#CallIDPattern: "CDID=" # DID context in call
CallIDPattern: "NDID="
#CallIDAnswerLength: 4
--
Kenneth Ellis McCall
Developer for DealTaker.com