Hylafax nimmt nicht ab

stony999

Neuer User
Mitglied seit
12 Aug 2006
Beiträge
169
Punkte für Reaktionen
0
Punkte
0
Hallo,

ich habe Hylafax und IAXmodem eingerichtet.
Wenn ich von per
Code:
sendfax -n -d 101 /home/user/testfax.txt
ein Fax an eine Nebenstelle schicke, wird diese Nummer gewählt und das Fax meldet sich.

Andersherum scheint die Verbindung nicht zu gehen:
Wenn ich iaxmodem anrufe, nimmt das Modem nicht ab:
Code:
    -- Executing Dial("SIP/101-b770da28", "IAX2/110||trw") in new stack
    -- Call accepted by 127.0.0.1 (format ulaw)
    -- Format for call is ulaw
    -- Called 110
    -- IAX2/110-1 is ringing
Wenn ich mit einem Softphone anrufe, kann ich das überprüfen. Nur Wählzeichen/Freizeichen, es nimmt niemand ab.

Woran könnte es liegen? Hat jemand schon mal das gleiche Problem gehabt?

Habe
iaxmodem-0.3.0
hylafax.i386 20070518:4.3.4-1rhel4
 
Poste mal die Ausgabe von faxstat und die config.ttyIAX. Ohne diese Angaben ist das Problem nicht lokalisierbar.
 
Hier die ttyIAX0
Code:
device          /dev/ttyIAX0    #each line should have it's own device node!
owner           uucp:uucp
mode            660
port            4570            #each line should have it's own port number!
refresh         50
server          127.0.0.1
peername        110             #this is the local extension number in FreePBX (create it!)
secret          start           #password for the extension
cidname         Fax1
cidnumber       06xxxxxxxxx
codec           alaw

ebenso die
config.ttyIAX0
Code:
device          /dev/ttyIAX0
owner           uucp:uucp
mode            660
port            4570
refresh         300
server          127.0.0.1
peername        110
secret          start
cidname         Fax1
cidnumber       06xxxxxxxxxxxx
codec           alaw

Leider habe ich gerade keinen Zugriff auf die Maschine, so dass ich die Ausgabe von faxstat erst in ein paar Tagen machen kann.

Interessant ist, dass die Verbindung zwischen Hylafax und IAXmodem in eine Richtung geht, in die andere aber nicht.
 
Da ist die config.ttyIAX0 falsch.
Probier mal diese zu nehmen:

Code:
# $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:            49
AreaCode:               XXX
FAXNumber:              "XXXXXXXXX"
LongDistancePrefix:     0
InternationalPrefix:    00
DialStringRules:        "etc/dialrules"
ServerTracing:          1
SessionTracing:         0xffffffff
RecvFileMode:           0644
LogFileMode:            0644
DeviceMode:             0644
RingsBeforeAnswer:      1
SpeakerVolume:          off
GettyArgs:              "-h %l dx_%s"
LocalIdentifier:        "XXXXXXXX"
TagLineFont:            etc/lutRS18.pcf
TagLineFormat:          "From %%l|%c|Page %%P of %%T"
MaxRecvPages:           600
#

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

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

Alternativ einfach mal auf der Maschine ausführen

Code:
/usr/sbin/faxaddmodem
 
danke, ich werd's am Do mal ausprobieren.
 
Kostenlos!

Statistik des Forums

Themen
248,462
Beiträge
2,291,999
Mitglieder
377,892
Neuestes Mitglied
Georg Martin Reuss