HylaFAX The world's most advanced open source fax server

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

[hylafax-users] setting logging levels



I'm having issues with my IAXmodem connecting.  Asterisk is dialing out over PSTN, but Hylafax is giving me errors such as "No response to PPS repeat" and "Failure to train remote modem at 2400 bps or minimum speed".  I go to check the log files in /var/spool/hylafax/log but they are virtually empty.  They just show simple things such as

[root@asterisk1 log]# more c000000099
Nov 20 13:07:34.16: [ 5011]: SESSION BEGIN 000000099 912084758581
Nov 20 13:07:34.16: [ 5011]: HylaFAX (tm) Version 4.3.0
Nov 20 13:07:34.16: [ 5011]: SEND FAX: JOB 38 DEST 912084758581 COMMID 000000099
 DEVICE '/dev/ttyIAX3' FROM 'gallium <gallium@localhost>' USER gallium
Nov 20 13:09:12.43: [ 5011]: SEND: Failure to train remote modem at 2400 bps or
minimum speed; Giving up after 3 attempts to send same page "docq/doc38.ps;f1",
dirnum 0
Nov 20 13:09:13.74: [ 5011]: SESSION END
[root@asterisk1 log]#

I did a man hylafax-config but I'm not sure anything I'm seeing pertains to upping the log level.  I'm trying to figure out how to get more specific info to help trace what's going on.  All the hylafax logs I've found when googling and searching the archives of this maillist show much more detail but I have yet to figure out how to get hylafax to report that detail.  Sorry if this is an RTFM type question but I've done my best to figure out the answer before emailing the list.


[root@asterisk1 etc]# cat config.ttyIAX3
#CountryCode:                   1
AreaCode:       800
FAXNumber:      +1.800.555.1212
#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

Class1RMQueryCmd:       "!24,48,72,96"  # enable this to disable V.17

#
# 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

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="
[root@asterisk1 etc]#




Project hosted by iFAX Solutions