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 5.2.7-1_i386 Ubuntu Server 7.10 -Problems while handshaking



Hi,
My name is Germán and I´ve a problem receiving faxes.

 Hylafax ---IAXMODEM------ Asterisk 1.4 -------PSTN

There is de communiocation log:
Oct 21 08:34:06.22: [ 3375]: SESSION BEGIN 000002086 +19995551212
Oct 21 08:34:06.22: [ 3375]: HylaFAX (tm) Version 5.2.7
Oct 21 08:34:06.22: [ 3375]: CallID: '' '' '<NONE>' 's'
Oct 21 08:34:06.22: [ 3375]: MODEM set XON/XOFF/FLUSH: input ignored, output disabled
Oct 21 08:34:06.22: [ 3375]: <-- [4:ATA\r]
Oct 21 08:34:09.94: [ 3375]: --> [7:CONNECT]
Oct 21 08:34:09.94: [ 3375]: ANSWER: FAX CONNECTION  DEVICE '/dev/ttyIAX4'
Oct 21 08:34:09.94: [ 3375]: STATE CHANGE: ANSWERING -> RECEIVING
Oct 21 08:34:09.94: [ 3375]: RECV FAX: begin
Oct 21 08:34:09.94: [ 3375]: <-- 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 AC 74 4C 74 EC>
Oct 21 08:34:09.94: [ 3375]: <-- data [32]
Oct 21 08:34:09.94: [ 3375]: <-- data [2]
Oct 21 08:34:10.86: [ 3375]: --> [7:CONNECT]
Oct 21 08:34:10.86: [ 3375]: <-- HDLC<23:FF C0 02 4E A6 6E 4E A6 CA 04 1E 86 62 04 04 04 04 04 04 04 04 04 04>
Oct 21 08:34:10.86: [ 3375]: <-- data [23]
Oct 21 08:34:10.86: [ 3375]: <-- data [2]
Oct 21 08:34:11.62: [ 3375]: --> [7:CONNECT]
Oct 21 08:34:11.62: [ 3375]: <-- HDLC<13:FF C8 01 00 77 5F 23 01 FB C1 01 01 18>
Oct 21 08:34:11.62: [ 3375]: <-- data [13]
Oct 21 08:34:11.62: [ 3375]: <-- data [2]
Oct 21 08:34:12.20: [ 3375]: --> [2:OK]
Oct 21 08:34:12.20: [ 3375]: <-- [9:AT+FRH=3\r]
Oct 21 08:34:15.08: [ 3375]: --> [10:NO CARRIER]
Oct 21 08:34:15.08: [ 3375]: MODEM No carrier
Oct 21 08:34:15.08: [ 3375]: <-- [9:AT+FRH=3\r]
Oct 21 08:34:15.08: [ 3375]: --> [5:ERROR]
Oct 21 08:34:15.08: [ 3375]: MODEM Command error
Oct 21 08:34:15.08: [ 3375]: RECV FAX: RSPREC error/got EOT {E106}
Oct 21 08:34:15.08: [ 3375]: RECV FAX: end
Oct 21 08:34:15.08: [ 3375]: RSPREC error/got EOT {E106}
Oct 21 08:34:15.08: [ 3375]: SESSION END

I analize the audio and do not detect noise.

I attach too the config file:

# $Id: iaxmodem,v 1.7 2007/11/06 18:44:20 faxguy Exp $

#
# prototype config for the IAXmodem softmodem which uses
# the spandsp soft-DSP library
#

#
CountryCode:        1
AreaCode:        000
FAXNumber:        +1.999.555.1212
LongDistancePrefix:    1
InternationalPrefix:    011
DialStringRules:    etc/dialrules
ServerTracing:        1
SessionTracing:        0xFFF
RecvFileMode:        0600
LogFileMode:        0600
DeviceMode:        0600
RingsBeforeAnswer:    1
SpeakerVolume:        off
GettyArgs:        "-h %l dx_%s"
LocalIdentifier:    "Fax Server"
TagLineFont:        etc/lutRS18.pcf
TagLineFormat:        "From %%l|%c|P %%P of %%T"
PercentGoodLines:    60
MaxConsecutiveBadLines:    200
MaxRecvPages:        25
#

#
#
# Modem-related stuff: should reflect modem command interface
# and hardware connection/cabling (e.g. flow control).
#
ModemType:        Class1        # use this to supply a hint

#
#             *** Caller-ID settings ***
#
# 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
#
# You'll likely want Caller*ID display (also displays DID) enabled.
#
ModemResetCmds:        AT+VCID=1    # enables CallID display
#
# 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

# The pty apparently does not support changing parity.
PagerTTYParity:        none

Class1AdaptRecvCmd:    AT+FAR=1
Class1TMConnectDelay:    400        # counteract quick CONNECT response

#
# Older iaxmodem versions didn't support V.17 very well.  It can be
# disabled in this fashion:
#
#Class1RMQueryCmd:    "!24,48,72,96"    # V.17 fast-train recv doesn't work well
#Class1TMQueryCmd:    "!24,48,72,96"    # V.17 fast-train recv doesn't work well

CallIDPattern:          "NMBR="
CallIDPattern:          "NAME="
CallIDPattern:        "ANID="
CallIDPattern:          "NDID="
#CallIDAnswerLength:    4
# Uncomment these if you really want them, but you probably don't.
#CallIDPattern:          "DATE="
#CallIDPattern:          "TIME="
Class1HasRHConnectBug:    yes        # cope with +FRH=3 CONNECT errors

------------------------------
---

Thanks
Regards
Germán



Project hosted by iFAX Solutions