HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

[hylafax-users] asterisk + iaxmodem + hylafax



Hi,

I'm using asterisk (1.4.11) + iaxmodem (0.3.1) + hylafax (4.4.2-1rhel4.i386.rpm) and I managed to get asterisk pass the fax calls through iaxmodem to hylafax. But hylafax doesnt seem to detect a carrier signal. Can anyone help? If contents of other files are required, please tell me.


/var/spool/hylafax/log/c000000008

Oct 11 18:20:45.32: [22080]: SESSION BEGIN 000000008 3237400699
Oct 11 18:20:45.32: [22080]: HylaFAX (tm) Version 4.4.2
Oct 11 18:20:45.32: [22080]: CallID: "00213" "" "<NONE>" "037400699"
Oct 11 18:20:45.32: [22080]: <-- [4:ATA\r]
Oct 11 18:20:49.04: [22080]: --> [7:CONNECT]
Oct 11 18:20:49.04: [22080]: ANSWER: FAX CONNECTION  DEVICE '/dev/ttyIAX0'
Oct 11 18:20:49.04: [22080]: RECV FAX: begin
Oct 11 18:20:49.04: [22080]: <-- data [32]
Oct 11 18:20:49.04: [22080]: <-- data [2]
Oct 11 18:20:50.00: [22080]: --> [7:CONNECT]
Oct 11 18:20:50.00: [22080]: <-- data [23]
Oct 11 18:20:50.00: [22080]: <-- data [2]
Oct 11 18:20:50.74: [22080]: --> [7:CONNECT]
Oct 11 18:20:50.74: [22080]: <-- data [13]
Oct 11 18:20:50.74: [22080]: <-- data [2]
Oct 11 18:20:51.32: [22080]: --> [2:OK]
Oct 11 18:20:51.32: [22080]: <-- [9:AT+FRH=3\r]
Oct 11 18:20:58.32: [22080]: --> [0:]
Oct 11 18:20:58.32: [22080]: MODEM <Empty line>
Oct 11 18:20:58.32: [22080]: <-- data [1]
Oct 11 18:20:58.32: [22080]: --> [2:OK]
Oct 11 18:20:58.32: [22080]: DELAY 70 ms
Oct 11 18:20:58.39: [22080]: <-- [9:AT+FTH=3\r]
Oct 11 18:20:58.40: [22080]: --> [7:CONNECT]
Oct 11 18:20:58.40: [22080]: <-- data [32]
Oct 11 18:20:58.40: [22080]: <-- data [2]
Oct 11 18:21:00.19 : [22080]: --> [7:CONNECT]
Oct 11 18:21:00.19: [22080]: <-- data [23]
Oct 11 18:21:00.19: [22080]: <-- data [2]
Oct 11 18:21:00.93: [22080]: --> [7:CONNECT]
Oct 11 18:21:00.93: [22080]: <-- data [13]
Oct 11 18:21:00.93: [22080]: <-- data [2]
Oct 11 18:21:01.51: [22080]: --> [2:OK]
Oct 11 18:21:01.51: [22080]: <-- [9:AT+FRH=3\r]
Oct 11 18:21:08.51: [22080]: --> [0:]
Oct 11 18:21:08.51: [22080]: MODEM <Empty line>
Oct 11 18:21:08.51: [22080]: <-- data [1]
Oct 11 18:21:08.51: [22080]: --> [2:OK]
Oct 11 18:21:08.51: [22080]: DELAY 70 ms
Oct 11 18:21:08.58: [22080]: <-- [9:AT+FTH=3\r]
Oct 11 18:21:08.59: [22080]: --> [7:CONNECT]
Oct 11 18:21:08.59: [22080]: <-- data [32]
Oct 11 18:21:08.59: [22080]: <-- data [2]
Oct 11 18:21:10.35: [22080]: --> [7:CONNECT]
Oct 11 18:21:10.35: [22080]: <-- data [23]
Oct 11 18:21:10.35: [22080]: <-- data [2]
Oct 11 18:21:11.09: [22080]: --> [7:CONNECT]
Oct 11 18:21:11.09: [22080]: <-- data [13]
Oct 11 18:21:11.09: [22080]: <-- data [2]
Oct 11 18:21:11.67: [22080]: --> [2:OK]
Oct 11 18:21:11.67: [22080]: <-- [9:AT+FRH=3\r]
Oct 11 18:21:18.67: [22080]: --> [0:]
Oct 11 18:21:18.67: [22080]: MODEM <Empty line>
Oct 11 18:21:18.67: [22080]: <-- data [1]
Oct 11 18:21:18.67: [22080]: --> [2:OK]
Oct 11 18:21:18.67: [22080]: DELAY 70 ms
Oct 11 18:21:18.74: [22080]: <-- [9:AT+FTH=3\r]
Oct 11 18:21:18.75: [22080]: --> [7:CONNECT]
Oct 11 18:21:18.75: [22080]: <-- data [32]
Oct 11 18:21:18.75: [22080]: <-- data [2]
Oct 11 18:21:20.53 : [22080]: --> [7:CONNECT]
Oct 11 18:21:20.53: [22080]: <-- data [23]
Oct 11 18:21:20.53: [22080]: <-- data [2]
Oct 11 18:21:21.27: [22080]: --> [7:CONNECT]
Oct 11 18:21:21.27: [22080]: <-- data [13]
Oct 11 18:21:21.27: [22080]: <-- data [2]
Oct 11 18:21:21.85: [22080]: --> [2:OK]
Oct 11 18:21:21.85: [22080]: <-- [9:AT+FRH=3\r]
Oct 11 18:21:28.85: [22080]: --> [0:]
Oct 11 18:21:28.85: [22080]: MODEM <Empty line>
Oct 11 18:21:28.85: [22080]: <-- data [1]
Oct 11 18:21:28.86: [22080]: --> [2:OK]
Oct 11 18:21:28.86: [22080]: DELAY 70 ms
Oct 11 18:21:28.93: [22080]: <-- [9:AT+FTH=3\r]
Oct 11 18:21:28.94: [22080]: --> [7:CONNECT]
Oct 11 18:21:28.94: [22080]: <-- data [32]
Oct 11 18:21:28.94: [22080]: <-- data [2]
Oct 11 18:21:30.72: [22080]: --> [7:CONNECT]
Oct 11 18:21:30.72: [22080]: <-- data [23]
Oct 11 18:21:30.72: [22080]: <-- data [2]
Oct 11 18:21:31.46: [22080]: --> [7:CONNECT]
Oct 11 18:21:31.46: [22080]: <-- data [13]
Oct 11 18:21:31.46: [22080]: <-- data [2]
Oct 11 18:21:32.04: [22080]: --> [2:OK]
Oct 11 18:21:32.04: [22080]: <-- [9:AT+FRH=3\r]
Oct 11 18:21:36.66: [22080]: --> [10:NO CARRIER]
Oct 11 18:21:36.66: [22080]: MODEM No carrier
Oct 11 18:21:36.66: [22080]: RECV FAX: No sender protocol (T.30 T1 timeout)
Oct 11 18:21:36.66: [22080]: RECV FAX: end
Oct 11 18:21:36.66: [22080]: No sender protocol (T.30 T1 timeout)
Oct 11 18:21:36.66: [22080]: SESSION END

/var/spool/hylafax/etc/config.ttyIAX0
# $Id: iaxmodem,v 1.1 2006/04/02 23:18:30 darren Exp $

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

#
CountryCode:            32
AreaCode:               3
FAXNumber:              +32.3.7400699
LongDistancePrefix:     0
InternationalPrefix:    00
DialStringRules:        etc/dialrules
ServerTracing:          1
SessionTracing:         11
RecvFileMode:           0600
LogFileMode:            0600
DeviceMode:             0600
RingsBeforeAnswer:      1
SpeakerVolume:          off
GettyArgs:              "-h %l dx_%s"
LocalIdentifier:        "NothingSetup"
TagLineFont:            etc/lutRS18.pcf
TagLineFormat:          "From %%l|%c|Page %%P of %%T"
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

#
# The modem is taken off-hook during initialization, and then
# placed back on-hook when done to prevent glare.
#
ModemResetCmds:         "ATH1\nAT+VCID=1"       # enables CallID display
ModemReadyCmds:         ATH0

Class1AdaptRecvCmd:     AT+FAR=1
Class1TMConnectDelay:   400             # counteract quick CONNECT response
Class1RMQueryCmd:       "!24,48,72,96"  # V.17 fast-train recv doesn't work well
Class1PPMWaitCmd:       "<delay:7>"
Class1TCFWaitCmd:       "<delay:7>"
Class1EOPWaitCmd:       "<delay:9>"
Class1SwitchingCmd:     "<delay:7>"

CallIDPattern:          "NMBR="
CallIDPattern:          "NAME="
CallIDPattern:          "ANID="
CallIDPattern:          "NDID="
# Uncomment these if you really want them, but you probably don't.
#CallIDPattern:          "DATE="
#CallIDPattern:          "TIME="



Project hosted by iFAX Solutions