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



 Hello,

I wanted to setup an Hylafax with an IAXmodem to virtualize my FAX
within my Asterisk
Server.
I installed Hylafax and the iaxmodem. Everything went well, I think,
until I tested it the first time.
faxstat -s is saying Initialising server ever, a Fax in queue or not.
The Hylafax is never using the Modem as if it doesn't know there is one.
I have collected some logs for you, perhaps, you see the problem, i don't
at this time. Please don't be shy if you need anything else I can hand over.

regards
Dennis Eberstein
linuxer linux # faxstat -s
HylaFAX scheduler on Linuxer: Running                                                                                                                                                                             
Modem ttyIAX0 (+49 xxxx xxxxxxxxx): Initializing server

linuxer linux # cat /var/log/messages | grep FAX
Aug 29 19:00:43 linuxer HylaFAX[7700]: checkHostIdentity("localhost")
Aug 29 19:00:43 linuxer HylaFAX[7700]: Parsing hostPort(): "EPRT"
Aug 29 19:00:43 linuxer HylaFAX[7700]: Parsing "|1|127.0.0.1|44685|"
Aug 29 19:00:43 linuxer HylaFAX[7700]:  `-> s.length() = 19
Aug 29 19:00:43 linuxer HylaFAX[7700]:  `-> s[0] = '|'
Aug 29 19:00:43 linuxer HylaFAX[7700]:  `-> s[2] = '|'
Aug 29 19:00:43 linuxer HylaFAX[7700]:  `-> s[18] = '|'
Aug 29 19:00:43 linuxer HylaFAX[7700]: Looks like extended syntax: "|1|127.0.0.1|44685|" [7C: |]
Aug 29 19:00:43 linuxer HylaFAX[7700]: `-> Got a: 127.0.0.1[13]
Aug 29 19:00:43 linuxer HylaFAX[7700]: `-> Got a: 44685[19]
Aug 29 19:00:43 linuxer HylaFAX[7700]: Parsed: Family 1 Address 127.0.0.1 Port 44685
Aug 29 19:00:45 linuxer HylaFAX[7703]: checkHostIdentity("localhost")
Aug 29 19:00:45 linuxer HylaFAX[7703]: Parsing hostPort(): "EPRT"
Aug 29 19:00:45 linuxer HylaFAX[7703]: Parsing "|1|127.0.0.1|38280|"
Aug 29 19:00:45 linuxer HylaFAX[7703]:  `-> s.length() = 19
Aug 29 19:00:45 linuxer HylaFAX[7703]:  `-> s[0] = '|'
Aug 29 19:00:45 linuxer HylaFAX[7703]:  `-> s[2] = '|'
Aug 29 19:00:45 linuxer HylaFAX[7703]:  `-> s[18] = '|'
Aug 29 19:00:45 linuxer HylaFAX[7703]: Looks like extended syntax: "|1|127.0.0.1|38280|" [7C: |]
Aug 29 19:00:45 linuxer HylaFAX[7703]: `-> Got a: 127.0.0.1[13]
Aug 29 19:00:45 linuxer HylaFAX[7703]: `-> Got a: 38280[19]
Aug 29 19:00:45 linuxer HylaFAX[7703]: Parsed: Family 1 Address 127.0.0.1 Port 38280
Aug 29 19:00:45 linuxer HylaFAX[7703]: Parsing hostPort(): "EPRT"
Aug 29 19:00:45 linuxer HylaFAX[7703]: Parsing "|1|127.0.0.1|58093|"
Aug 29 19:00:45 linuxer HylaFAX[7703]:  `-> s.length() = 19
Aug 29 19:00:45 linuxer HylaFAX[7703]:  `-> s[0] = '|'
Aug 29 19:00:45 linuxer HylaFAX[7703]:  `-> s[2] = '|'
Aug 29 19:00:45 linuxer HylaFAX[7703]:  `-> s[18] = '|'
Aug 29 19:00:45 linuxer HylaFAX[7703]: Looks like extended syntax: "|1|127.0.0.1|58093|" [7C: |]
Aug 29 19:00:45 linuxer HylaFAX[7703]: `-> Got a: 127.0.0.1[13]
Aug 29 19:00:45 linuxer HylaFAX[7703]: `-> Got a: 58093[19]
Aug 29 19:00:45 linuxer HylaFAX[7703]: Parsed: Family 1 Address 127.0.0.1 Port 58093


linuxer / # cat /etc/iaxmodem/ttyIAX0.conf
device          /dev/ttyIAX0
owner           uucp:uucp
mode            660
port            4569
refresh         50
server          127.0.0.1
peername        iaxmodem
secret          xxxxxx
codec           alaw
refresh         60

linuxer fax # cat etc/config.ttyIAX0 
# $Id: iaxmodem,v 1.2 2007/11/26 14:03:45 aidan Exp $

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

#
CountryCode:            49
AreaCode:               xxxx
FAXNumber:              "+49 xxxx xxxxxxxx"
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

#
# 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="
# Uncomment these if you really want them, but you probably don't.
#CallIDPattern:          "DATE="
#CallIDPattern:          "TIME="

linuxer fax # cat etc/hosts.hfaxd 
localhost
127.0.0.1



Project hosted by iFAX Solutions