Fax-Client für Asterisk

Hallo imagination,
Hallo @other,

also nicht zu 100% kann ich jetzt mal nicht bestaetigen. Klar wir haben jetzt glaub ich auch wies gott wie lang herumgedoktort um was vernuenftiges auf die Reihe zu bringen, nur bis dato hats immer wieder an Kleinigkeiten oder "patch-wahnsinn" gelitten :D

Hier mal unser Erfahrungsbericht bzw. Loesungsansatz wie wir es derzeit haben und damit sehr zufrieden sind :

Code:
HARDWARE :

Intel Dual Xeon 2.8
Digium Wildard E1/T1 Karte (geht mit jeder anderen auch solange diese von Asterisk unterstuetzt wird.

SOFTWARE :

Gentoo Linux mit
Asterisk 1.2.13 bzw. 1.2.13-r1
Zaptel 1.2.9.1 bzw. 1.2.11
SpanDSP 0.0.2_pre26
libpri 1.2.3-r1

iaxmodem 0.1.15 (via sourceforge)
hylafax 4.3.0

1.) Asterisk 1.2.* mit rxfax

am besten gleich vergessen. Die Wahrscheinlichkeit das es funktioniert liegt glaub ich bei 20%. Sicherlich gibts einige wo es ohne Probleme funktioniert nur eben der Teil ist ganz ganz wenig.

RxFax waere sicherlich am einfachsten zum configen aber mit den Problemen was es mit den Bibliotheken im Hintergrund gibt ist einfach nicht mehr normal. Vormal es nicht wirklich Sinn macht, dass dann Faxe irgendwie zerknaust und verstuemmelt oder zamgequetscht ankommen.


2.) Asterisk 1.2.* mit IAXModem + Hylafax

Derzeit - zumindest nach uns - die beste Variante um Asterisk "faxen" beizubringen ;) Es gibt zwar Kleinigkeiten auf die man aufpassen sollte, aber funkt eigentlich einwandfrei mit tadelloser Qualitaet.

Das einzige Problem was hierbei anzumerken ist, ist die eher umfangreiche Hylafax-Konfiguration die sicherlich nicht gerade fuer jedermann gedacht ist.

Im Detail einfach das iaxmodem.tar.gz von Sourceforge runterladen und bitte ja nicht nach deren Anleitung installieren, weil da kanns dann schon passiern das Ihr Euch die spandsp und iax zusammenhaut.

Also einfach nicht in die LIB-Verzeichnisse wechseln und nur das IAXModem selber mit einem 'make' compelieren. Reicht allemal ohne Probleme ;-)

Dann einfach mehrere IAXmodem's (am besten gleich 4+ - halt je nach Faxaufwand) anlegen und in der inittab eintragen zum starten. in der iax.conf natuerlich auch sonst funkt das Peer ja nicht ;-) HIer mal die einzelnen files :

Code:
Beispiel /etc/iaxmodem/ttyIAX00

device          /dev/ttyIAX00
owner           uucp:uucp
mode            660
port            5000
refresh         3600
server          127.0.0.1
peername        iaxmodem00
secret          password
codec           slinear

Beispiel /etc/inittab

IA00:2345:respawn:/usr/local/bin/iaxmodem/iaxmodem ttyIAX00

Beispiel /etc/asterisk/iax_additional.conf

[iaxmodem00]
type=friend
host=dynamic
port=5000
secret=password
context=from-iaxmodem
disallow=all
allow=ulaw
allow=alaw


Dann einfach noch Hylafax installieren - kann ruhig 0815-Standard sein - und mit faxaddmodem mehrere FIFO (in der gleichen anzahl der obigen IAXmodem's) erzeugen lassen.

Klar will Hylafax natuerlich da jetzt drauf zugreifen. Hier einfach hylafax ins rc-update hinzufuegen und in der /etc/inittab einen eintrag machen. Bitte verwendet nicht den mgetty+fax weil der beigelieferte faxgetty von Hylafax ist schon wesentlich besser (zumindest nach unseren Tests).

In /var/spool/fax/ sollten dann FIFO.ttyIAX00 usw. aufscheinen (siehe code box) bzw. im etc/ noch die config.ttyIAX00 usw.

Code:
/etc/inittab

FA00:2345:respawn:/usr/sbin/faxgetty ttyIAX00

ls -l /var/spool/fax/FIFO.tty*

prw-------  1 uucp uucp    0 Nov 20  2006 FIFO.ttyIAX00

ls -l /var/spool/fax/etc/config.tty*

-rw-r--r--  1 uucp uucp 1.8K Nov 23  2006 config.ttyIAX00

Etwaige User, etc. halt dann noch fuer Hylafax anlegen und schon ist das ganze eigentlich fertig geconfigt. Also nach obigen mal im Schnelldurchgang aber viel mehr ists eigentlcih nicht.

Letztlich einfach nur noch folgende Eintraege in der extensions.conf machen (ggf. halt an Euren DialPlan anpassen) :

Code:
[default]
exten => 0815,1,Dial(IAX2/iaxmodem00/${EXTEN})
exten => 0815,2,Hangup()
;

[from-iaxmodem]
exten => _X.,1,Dial(Zap/g1/${EXTEN})
exten => _X.,2,Hangup()
;

und das wars :rolleyes:

Hylafax in Kombination mit WHFC (Windows) funkt astrein ;-) Einfach Installation und jeder Windows-Client kann mit dem WHFC Faxe verschicken. Nachteil hier ist leider das das Tool nur .PS (Postscript) kann aber mit einem Adobe und "speichern unter" sollte das kein Problem sein.

Weitere Test seitens Client mit Hylafax in Kombination von CUPS und IPP (Windows) sind gerade im Test aber da hauts noch ned ganz mit der /etc/printcap hin (weil CUPS die immer resettet *grml*).

Aber vielleicht hat ja wer eine Idee wie ich CUPS beibringe, dass er mir in der automatisch erzeugen /etc/printcap einen weiteren Parameter fuer den Drucker anlegt. Weil sobald man CUPS neu startet resettet er leider die /etc/printcap und somit ist haendisch genau sinnlos dort was zu aendern.

cu alex
 
@schef: danke für die ausführliche Beschreibung, das werde ich parallel mal austesten, aber rxfax.. wie gesagt auf Anhieb ohne Sorge !

Verwendet Ihr auch Papierfaxe für den Fax-Ausgang via Asterisk?
 
sers,

also rxfax hat nur verstuemmelungen gebracht bei uns. Egal mit welchen Treiber etc. Wir selber verwenden intern nur noch alle Faxe digitalisiert - also PDF, usw. weil alles andere ist nur Geldverschwendung.

Unsere Kunden aber schon. Die haben meistens Linksys oder Sipura Adapter von uns und haengen dann Ihre eigenen Hardware-Faxe drann. Lauft - sofern man max. ulaw und alaw zulasst (besser ulaw) - ohne Probleme egal ob die Extern wo hinfaxen oder intern an uns was schicken.

Die Erweiterung zum vorigen ist eben mittels IPP von Windows das quasi als Netzwerkdrucker auch zu erweitern - aber wie gesagt da scheiterts noch ein bisschen am CUPS. Mit WHFC funkts astrein.

cu alex
 
Ich bekomme meim make von IAXModem die Fehlermeldung:

asterisk:~/iaxmodem# make
cd lib/libiax2 && make
make[1]: Entering directory `/root/iaxmodem/lib/libiax2'
make[1]: *** Keine Targets angegeben und keine »make«-Steuerdatei gefunden. Schluss.
make[1]: Leaving directory `/root/iaxmodem/lib/libiax2'
make: *** [build-libiax] Fehler 2
asterisk:~/iaxmodem#

Kann mir jemand sagen was ich falsch mache?

Gruß Snuff
 
Hi Snuff,

hast du auch ./configure vor dem make gemacht ?? --> Siehe README file ;-)

Code:
# cd lib/libiax2
# ./configure
# make
# make install

Wobei ich empfehle Dir, dass Du lediglich im IAXModem-Root einen ./configure machst, weil der erzeugt dir auch richtig die Makefiles in den lib verzeichnissen. Und auch ein make im IAXModem-Root reicht vollkommen aus um das ganze richtig zu erzeugen.

Zumindest bei mir mit Gentoo hab ich die IAXlib und spanDSP ja schon vom Asterisk her dabei bzw. mitinstalliert und haendisch ueber bestehede Files drueberspielen ist meiner Meinung nach nicht grad gut.

Also mach in den lib verzeichnissen NUR dann einen make und make install wenn Du sonst nicht klarkommst !!

cu alex
 
Hallo,

bei mir klappt es nicht so ganz.
Ich habe alles so konfiguriert, aber bei eingehenden Anrufen auf der Faxnummer übergibt * and iaxmodem und dann passiert nichts.

Im Hylafax-Log finde ich folgendes:
Code:
Feb 22 23:21:38.83: [28259]: SESSION BEGIN 000000003 123456789
Feb 22 23:21:38.83: [28259]: HylaFAX (tm) Version 4.2.5
Feb 22 23:21:38.83: [28259]: MODEM set XON/XOFF/FLUSH: input ignored, output disabled
Feb 22 23:21:38.83: [28259]: <-- [4:ATA\r]
Feb 22 23:21:38.83: [28259]: --> [5:ERROR]
Feb 22 23:21:38.83: [28259]: ANSWER: Ring detected without successful handshake
Feb 22 23:21:38.83: [28259]: SESSION END

Kann jemand etwas damit anfangen?

Danke und Gruß
Christian
 
Hallo Christian,

also ich gehe mal auf das die configs so eingestellt sind wie schon von mir beschrieben. Deswegen wuerd ich auf den ersten Blick sagen das hier ein Fehler in der config vom /var/spool/hylafax/etc/config.ttyIAX* ist oder ein Fehler in der SPEED Variable.

Schau mal in /var/spool/hylafax/etc/setup.modem - dort hast fast ganz unten eine "for s in ....." drinnen. Mir hat es ganz am Anfang geholfen, da ich immer wieder Uebertragungsfehler hatte, dort lediglich "for s in 14400 9600 usw." reinzugeben.

D.h. die Speeds >= 19200 hab ich gekuebelt. Nicht vergessen dann sowohl die ganzen IAXmodem als auch die tty neu initialisiern und Hylafax neu starten. Vielleicht hilft das was.

Wenn nicht, poste mir mal die /var/spool/hylafax/etc/config.ttyIAX* was Du da aktiviert hast an parameter weil es koennte schon sein, das durch die auto-config vom Hylafax da wo was falsch drinnen steht.

cu alex
 
Hallo Alex,

erst mal vielen Danke für die Antwort,
aber ich bin nicht wirklich weiter.

Im Asterisk wird das iaxmodem korrekt angezeigt,
ein faxstat bringt auch das iaxmodem.

Ein:
/usr/bin/iaxmodem ttyIAX0

bringt:
Registration timed out.

Mir ist aufgefallen, dass Hylafax unter fax:uucp läuft,
das iaxmodem allerdings unter uucp:uucp.

Hier mal meine config.tty...
Code:
# $Id: class1,v 1.16 2005/10/20 20:05:24 lhoward Exp $
#
# HylaFAX Facsimile Software
#
# Copyright (c) 1990-1996 Sam Leffler
# Copyright (c) 1991-1996 Silicon Graphics, Inc.
# HylaFAX is a trademark of Silicon Graphics, Inc.
# 
# Permission to use, copy, modify, distribute, and sell this software and 
# its documentation for any purpose is hereby granted without fee, provided
# that (i) the above copyright notices and this permission notice appear in
# all copies of the software and related documentation, and (ii) the names of
# Sam Leffler and Silicon Graphics may not be used in any advertising or
# publicity relating to the software without the specific, prior written
# permission of Sam Leffler and Silicon Graphics.
# 
# THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, 
# EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY 
# WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.  
# 
# IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
# ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
# OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
# WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF 
# LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE 
# OF THIS SOFTWARE.
#

#
# Generic Class 1 modem configuration.
#
# EDIT THIS CONFIGURATION TO REFLECT YOUR SETUP
#
CountryCode:		49
AreaCode:		89
FAXNumber:		"+49.89.235120020"
LongDistancePrefix:	0
InternationalPrefix:	00
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:		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
#ModemRate:		19200		# rate for DCE-DTE communication
#ModemFlowControl:	xonxoff		# XON/XOFF flow control assumed
#
#ModemSetupDTRCmd:	AT&D2		# setup so DTR drop resets modem
#ModemSetupDCDCmd:	AT&C1		# setup so DCD follows carrier
#GettyArgs:		"-h %l dx_%s"	# modem must auto-detect fax/data
#
# We can append the "@" symbol to the dial string so that
# the modem will wait 5 seconds before attempting to connect
# and return result codes that distinguish between no carrier
# and no answer.  This makes it possible to avoid problems with
# repeatedly dialing a number that doesn't have a fax machine
# (kudos to Stuart Lynne for this trick.)
#
# NB: If you need to prefix phone numbers to get through a PBX,
#     put it in the ModemDialCmd; e.g. "DT9%s@".
#
#ModemDialCmd:		ATDT%s		# T for tone dialing
#
# Other possible configuration stuff.  The default strings are
# shown below.  Only those that are different from the defaults
# need to be included in the configuration file.
#
#ModemResetCmds:		""		# stuff to do when modem is reset
ModemResetCmds:		"ATH1\nAT+VCID=1"
ModemReadyCmds:		ATH0
#ModemAnswerCmd:		ATA		# use this to answer phone
#ModemNoFlowCmd:		AT&K		# disable flow control cmd
#ModemHardFlowCmd:	AT&K3		# hardware flow control cmd
#ModemSoftFlowCmd:	AT&K4		# software flow control cmd
#ModemNoAutoAnswerCmd:	ATS0=0		# disable auto-answer
#
# Set modem speaker volume commands: OFF QUIET LOW MEDIUM HIGH.
# Note that we both turn the speaker on/off and set volume.
#
#ModemSetVolumeCmd:	"ATM0 ATL0M1 ATL1M1 ATL2M1 ATL3M1"
#ModemEchoOffCmd:	ATE0		# disable command echo
#ModemVerboseResultsCmd:	ATV1		# enable verbose command results
#ModemResultCodesCmd:	ATQ0		# enable result codes
#ModemOnHookCmd:		ATH0		# place phone on hook (hangup)
#ModemSoftResetCmd:	ATZ		# do soft reset of modem
#ModemSoftResetCmdDelay:	3000	# pause after soft reset
#ModemWaitTimeCmd:	ATS7=60		# wait 60 seconds for carrier
#ModemCommaPauseTimeCmd:	ATS8=2		# comma pause time is 2 seconds
#ModemRecvFillOrder:	LSB2MSB		# bit order of received facsimile
#ModemSendFillOrder:	LSB2MSB		# bit order modem expects for transmit
#
#Class1Cmd:		AT+FCLASS=1	# command to enter class 1
#Class1PPMWaitCmd:	AT+FTS=7	# command to stop and wait before PPM
#Class1TCFWaitCmd:	AT+FTS=7	# command to stop and wait before TCF
#Class1EOPWaitCmd:	AT+FTS=9	# command to stop and wait before EOP
#Class1SendMsgDelay:	200		# 75ms delay after training
#Class1SwitchingCmd:	AT+FRS=7	# silence between HDLC recv and trans
#Class1TrainingRecovery:	1500		# 1.5sec delay after training failure
#Class1RecvAbortOK:	200		# wait 200ms for abort response
#Class1FrameOverhead:	4		# 4 byte overhead in recvd HDLC frames
#Class1RecvIdentTimer:	40000		# 35+5secs waiting for ident frames
#Class1TCFMaxNonZero:	10		# max 10% of data may be non-zero
#Class1TCFMinRun:	1000		# min run is 2/3rds of TCF duration

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="
#20060302 JDG - Fix for broken libtiff JBIG support in tiff2pdf
Class1JBIGSupport:       no

Ich hoffe Du findest hier etwas.


Danke und Gruß

Christian
 
Hallo Christian,

also ein /usr/bin/iaxmodem ttyIAX* sollte eigentlich folgendes bringen :

Code:
s11 etc # /usr/local/bin/iaxmodem/iaxmodem ttyIAX00
[2007-02-23 20:35:09] Modem started
[2007-02-23 20:35:09] Setting device = '/dev/ttyIAX00'
[2007-02-23 20:35:09] Setting owner = 'uucp:uucp'
[2007-02-23 20:35:09] Setting mode = '660'
[2007-02-23 20:35:09] Setting port = 5000
[2007-02-23 20:35:09] Setting refresh = 3600
[2007-02-23 20:35:09] Setting server = '127.0.0.1'
[2007-02-23 20:35:09] Setting peername = 'iaxmodem00'
[2007-02-23 20:35:09] Setting secret = 'XXXXXXXXX'
[2007-02-23 20:35:09] Setting codec = slinear
[2007-02-23 20:35:09] Opened pty, slave device: /dev/pts/6
[2007-02-23 20:35:09] Created /dev/ttyIAX00 symbolic link
Restart 0
[2007-02-23 20:35:09] Registration completed successfully.

Desweiteren lauft bei mir der HfaxD unter uucp:uucp. Ich bilde mir ein - muss ehrlich gestehn ich weis es nicht mehr genau - das irgendwo in irgendeiner Doku gestanden ist das darauf zu achten ist das der User vom IAXmodem ident mit dem User vom Hfax ist.

Sonst ist mir in der config.ttyIAX0* lediglich bei ein paar Sache ein Unterschied aufgefallen zu Deiner Config (in ROT gehalten). Hier mal die Config von mir mit der Differenz :

Code:
CountryCode:            00
AreaCode:               00
FAXNumber:              +00.0.0000000.000
LongDistancePrefix:     0
InternationalPrefix:    00
DialStringRules:        etc/dialrules
ServerTracing:          0xFFF
SessionTracing:         0xFFF
[COLOR="Red"]RecvFileMode:           0644[/COLOR]
LogFileMode:            0600
DeviceMode:             0600
RingsBeforeAnswer:      1
SpeakerVolume:          off
GettyArgs:              "-h %l dx_%s"
LocalIdentifier:        "000000000000"
TagLineFont:            etc/lutRS18.pcf
TagLineFormat:          "From %%l|%c|Page %%P of %%T"
MaxRecvPages:           200
ModemType:              Class1          # use this to supply a hint
[COLOR="Red"]#ModemResetCmds:        "ATH1\nAT+VCID=1"       # enables CallID display
#ModemReadyCmds:        ATH0
[/COLOR]

Class1AdaptRecvCmd:     AT+FAR=1
Class1TMConnectDelay:   400             # counteract quick CONNECT response
Class1RMQueryCmd:       "!24,48,72,96"  # enable this to disable V.17
[COLOR="Red"]ModemResetCmds:         AT+VCID=1       # enables CallID display[/COLOR]

CallIDPattern:          "NMBR="
CallIDPattern:          "NAME="
CallIDPattern:          "ANID="
CallIDPattern:          "NDID="

Eventuell liegts hier an dem Ready/Reset Befehl, der eventuell aus was wartet aber eben nicht bekommt obwohl er eigentlich eh da ist. Zumindest wuerde mir das Dein Timeout erklaeren.

Sonst wie gesagt noch den User umaendern weil normal laufen die FIFO ja mit prw------- uccp:uucp bei mir .. und da wird der fax:uucp dann eher keinen zugriff haben.

Somit kontrolliere mal die User/Rechte von den FIFO.ttyIAX0* bzw. kannst ja auch dort den FIFO's mal mehr rechte geben fuer die Gruppe/etc. und kontrolliere auch ob der faxgetty eh auch lauft.

cu alex
 
Hallo Alex,

ich habe jetzt mal die Einträge aus der inittab entfernt und starte das Modem manuell.
Ein /usr/bin/iaxmodem ttyIAX0 bringt:
Code:
sip1:/usr/src/iaxmodem-0.2.1 # /usr/bin/iaxmodem ttyIAX0
[2007-02-24 09:16:16] Modem started
[2007-02-24 09:16:16] Setting device = '/dev/ttyIAX0'
[2007-02-24 09:16:16] Setting owner = 'fax:uucp'
[2007-02-24 09:16:16] Setting mode = '660'
[2007-02-24 09:16:16] Setting port = 5000
[2007-02-24 09:16:16] Setting refresh = 3600
[2007-02-24 09:16:16] Setting server = '127.0.0.1'
[2007-02-24 09:16:16] Setting peername = 'iaxmodem'
[2007-02-24 09:16:16] Setting secret = 'XXXX'
[2007-02-24 09:16:16] Setting codec = slinear
[2007-02-24 09:16:16] Opened pty, slave device: /dev/pts/0
[2007-02-24 09:16:16] Created /dev/ttyIAX0 symbolic link
Restart 0
[2007-02-24 09:16:36] Hanging Up
[2007-02-24 09:16:49] Registration timed out.


Hier habe ich die 1.4 laufen.
Ich habe das iaxmodem nicht in der iax.conf, sondern in der users.conf angelegt.

Ich bekomme als root aber folgende Meldung:
The HylaFAX software thinks that there is a problem with the modem
on device /dev/ttyIAX0 that needs attention; repeated attempts to
initialize the modem have failed.


Gruß
Christian
 
Zuletzt bearbeitet:
Hallo,

also wir haben die 1.2er Asterisk am laufen. Hylafax ist 4.3.0 und IAXmodem ist 0.1.16 (die 15er hat fehler).

Ich koennt jetzt auch nicht sagen das hier etwas am Asterisk falsch waere weil wenn Du die Modem mit einem iax2 show peers siehst dann sind die ja da.

Hast Du schon mal die /dev/ttyIAX* kontrolliert ob die passen bzw. ob Du eh ueberall die gleiche Nummer eingetragen hast ?

Weil im Prinzip hast du als 1. Instanz den faxgetty ttyIAX* das das Device zur Verfuegung stellt, als 2. Instanz das IAXmodem das die verbindung zwischen Device und Asterisk herstellt und als 3. Instanz das Hylafax welches dann die verbindung zwischen FaxSoftware und IAXmodem macht.

Aufgrund der Fehlermeldung wuerde ich aber behaupten oder sagen das entweder am Device (1. Inst.) oder mit der Software IAXmodem (2. Instanz) wo was faul ist.

Aber weiter bin ich ehrlich gesagt mal mit meinem Latein am Ende weil ich so einen Fehler noch nicht wirklich hatte aber wie gesagt schaut mir das eher nach einem Fehler in einer unteren Ebene aus.

cu alex
 
Hallo,

ich habs gefunden!
Ich habe mal die Server-IP beim Modem von 127.0.0.1 auf die tatsächliche gesetzt und schon kann sich das Modem beim Server anmelden.

Allerdings habe ich jetzt das nächste Problem.
Ich habe mir mal ein Fax via ISDN von einem anderen Hylafax-Server an meine Asterisk geschickt.
Das Fax wird auch angenommen und der sendende Server bekommt ein ok, allerdings empfängt Asterisk+Hylafax+IAXmodem nicht wirklich.
Im Log finde ich:
Code:
Feb 24 17:11:13.13: [ 3297]: MODEM TIMEOUT: waiting for v.21 carrier
Feb 24 17:11:13.13: [ 3297]: <-- data [1]
Feb 24 17:11:13.13: [ 3297]: --> [2:OK]
Feb 24 17:11:13.13: [ 3297]: RECV FAX: No answer (T.30 T1 timeout)
Feb 24 17:11:13.13: [ 3297]: RECV FAX: end
Feb 24 17:11:13.13: [ 3297]: SESSION END


Und ich hatte schon gehofft meine ISDN-Leitung endlich abzuschalten...

Gruß
Christian
 
webmaxx schrieb:
Ich habe mal die Server-IP beim Modem von 127.0.0.1 auf die tatsächliche gesetzt und schon kann sich das Modem beim Server anmelden.

schon komisch - aber solangs funktioniert warum nicht :D

webmaxx schrieb:
Feb 24 17:11:13.13: [ 3297]: MODEM TIMEOUT: waiting for v.21 carrier
Feb 24 17:11:13.13: [ 3297]: <-- data [1]
Feb 24 17:11:13.13: [ 3297]: --> [2:OK]
Feb 24 17:11:13.13: [ 3297]: RECV FAX: No answer (T.30 T1 timeout)
Feb 24 17:11:13.13: [ 3297]: RECV FAX: end
Feb 24 17:11:13.13: [ 3297]: SESSION END

also v.21 waere ja lediglich FAX Class 1 - 300 bps (des waere ja schon etwas sehr sehr wenig. T.30 waere Fax Gruppe 3 (9600 bps ISDN). Was ich jetzt nicht weis ist ob das "Class 1" vom IAXModem ueberhaupt mit reinem ISDN zurecht kommt, wobei es eigentlich funktionieren muesste - wie gesagt "Fax Class 1" kann max. 14400 im v.17 Modus - und normal sollte sich das ISDN eben runterdrosseln auf den T.30.

Ich selber hab mir aber schon von einer ISDN AVM FritzCard (normaler LInux-Faxserver mit Suse) ein Fax erfolgreich schicken lassen. Ich weis jetzt nicht ob das das richtige Log ist aber so schaun eigentlich alle bei mir aus :

Code:
Nov 23 08:51:28 s11 FaxGetty[5158]: STATE CHANGE: RUNNING -> LISTENING
Nov 23 08:51:28 s11 FaxGetty[5158]: --> [9:DATE=1123]
Nov 23 08:51:28 s11 FaxGetty[5158]: --> [9:TIME=0851]
Nov 23 08:51:28 s11 FaxGetty[5158]: --> [11:NAME=<NONE>]
Nov 23 08:51:28 s11 FaxGetty[5158]: --> [11:NMBR=<NONE>]
Nov 23 08:51:28 s11 FaxGetty[5158]: --> [11:ANID=<NONE>]
Nov 23 08:51:28 s11 FaxGetty[5158]: --> [17:NDID=431000000000]
Nov 23 08:51:28 s11 FaxGetty[5158]: --> [4:RING]
Nov 23 08:51:28 s11 FaxGetty[5158]: ANSWER: Call ID 1 "<NONE>"
Nov 23 08:51:28 s11 FaxGetty[5158]: ANSWER: Call ID 2 "<NONE>"
Nov 23 08:51:28 s11 FaxGetty[5158]: ANSWER: Call ID 3 "<NONE>"
Nov 23 08:51:28 s11 FaxGetty[5158]: ANSWER: Call ID 4 "431000000000"
Nov 23 08:51:28 s11 FaxGetty[5158]: STATE CHANGE: LISTENING -> ANSWERING
Nov 23 08:51:31 s11 FaxGetty[5158]: ANSWER: FAX CONNECTION  DEVICE '/dev/ttyIAX00'
Nov 23 08:52:13 s11 FaxGetty[6612]: RECV FAX (000000023): from , page 1 in 0:42, INF, 3.85 line/mm, 2-D MMR, 9600 bit/s
Nov 23 08:54:17 s11 init: Id "st" respawning too fast: disabled for 5 minutes
Nov 23 08:54:18 s11 FaxGetty[6643]: RECV FAX (000000023): from , page 2 in 2:05, INF, 3.85 line/mm, 2-D MMR, 9600 bit/s
Nov 23 08:54:54 s11 FaxGetty[6649]: RECV FAX (000000023): from , page 3 in 0:36, INF, 3.85 line/mm, 2-D MMR, 9600 bit/s
Nov 23 08:55:14 s11 FaxGetty[6653]: RECV FAX (000000023): from , page 4 in 0:18, INF, 3.85 line/mm, 2-D MMR, 9600 bit/s
Nov 23 08:55:14 s11 FaxGetty[6654]: RECV FAX (000000023): recvq/fax000000003.tif from , route to <unspecified>, 4 pages in 3:43
Nov 23 08:55:15 s11 FaxGetty[5158]: RECV FAX: bin/faxrcvd "recvq/fax000000003.tif" "ttyIAX00" "000000023" "" "<NONE>" "<NONE>" "<NONE>" "431000000000"
Nov 23 08:55:15 s11 FaxGetty[5158]: <-- [5:ATH0\r]
Nov 23 08:55:15 s11 FaxGetty[5158]: --> [2:OK]
Nov 23 08:55:15 s11 FaxGetty[5158]: MODEM set DTR OFF
Nov 23 08:55:15 s11 FaxGetty[5158]: MODEM set baud rate: 0 baud (flow control unchanged)

Kannst Du mal schaun was Du vom FaxGetty bzw. FaxSend bekommst im Logfile wenn Du ein Fax-versendest bzw. wenn das Modem initialisiert wird. Bei mir schaut das so aus im messages-log :

Code:
Nov 23 08:40:02 s11 FaxGetty[5739]: MODEM set DTR OFF
Nov 23 08:40:02 s11 FaxGetty[5739]: MODEM set baud rate: 0 baud (flow control unchanged)
Nov 23 08:40:02 s11 FaxGetty[5739]: DELAY 75 ms
Nov 23 08:40:02 s11 FaxGetty[5739]: MODEM set DTR ON
Nov 23 08:40:02 s11 FaxGetty[5739]: DELAY 2600 ms
Nov 23 08:40:06 s11 FaxGetty[5739]: MODEM set baud rate: 19200 baud, input flow XON/XOFF, output flow XON/XOFF
Nov 23 08:40:06 s11 FaxGetty[5739]: DELAY 10 ms
Nov 23 08:40:06 s11 FaxGetty[5739]: MODEM flush i/o
Nov 23 08:40:06 s11 FaxGetty[5739]: <-- [4:ATZ\r]
Nov 23 08:40:06 s11 FaxGetty[5739]: --> [2:OK]
Nov 23 08:40:06 s11 FaxGetty[5739]: DELAY 3000 ms
Nov 23 08:40:09 s11 FaxGetty[5739]: MODEM flush i/o
Nov 23 08:40:09 s11 FaxGetty[5739]: <-- [5:ATH1\r]
Nov 23 08:40:09 s11 FaxGetty[5739]: --> [4:ATH1]
Nov 23 08:40:09 s11 FaxGetty[5739]: --> [2:OK]
Nov 23 08:40:09 s11 FaxGetty[5739]: <-- [10:AT+VCID=1\r]
Nov 23 08:40:09 s11 FaxGetty[5739]: --> [9:AT+VCID=1]
Nov 23 08:40:09 s11 FaxGetty[5739]: --> [2:OK]
Nov 23 08:40:09 s11 FaxGetty[5739]: <-- [7:ATS0=0\r]
Nov 23 08:40:09 s11 FaxGetty[5739]: --> [6:ATS0=0]
Nov 23 08:40:09 s11 FaxGetty[5739]: --> [2:OK]
Nov 23 08:40:09 s11 FaxGetty[5739]: <-- [5:ATE0\r]
Nov 23 08:40:09 s11 FaxGetty[5739]: --> [4:ATE0]
Nov 23 08:40:09 s11 FaxGetty[5739]: --> [2:OK]
Nov 23 08:40:09 s11 FaxGetty[5739]: <-- [5:ATV1\r]
Nov 23 08:40:09 s11 FaxGetty[5739]: --> [2:OK]
Nov 23 08:40:09 s11 FaxGetty[5739]: <-- [5:ATQ0\r]
Nov 23 08:40:09 s11 FaxGetty[5739]: --> [2:OK]
Nov 23 08:40:09 s11 FaxGetty[5739]: <-- [7:ATS8=2\r]
Nov 23 08:40:09 s11 FaxGetty[5739]: --> [2:OK]
Nov 23 08:40:09 s11 FaxGetty[5739]: <-- [8:ATS7=60\r]
Nov 23 08:40:09 s11 FaxGetty[5739]: --> [2:OK]
Nov 23 08:40:09 s11 FaxGetty[5739]: <-- [12:AT+FCLASS=?\r]
Nov 23 08:40:09 s11 FaxGetty[5739]: --> [7:0,1,1.0]
Nov 23 08:40:09 s11 FaxGetty[5739]: --> [2:OK]
Nov 23 08:40:09 s11 FaxGetty[5739]: MODEM Supports "Data"
Nov 23 08:40:09 s11 FaxGetty[5739]: MODEM Supports "Class 1"
Nov 23 08:40:09 s11 FaxGetty[5739]: MODEM Supports "Class 1.0"
Nov 23 08:40:09 s11 FaxGetty[5739]: <-- [12:AT+FCLASS=1\r]
Nov 23 08:40:09 s11 FaxGetty[5739]: --> [2:OK]
Nov 23 08:40:09 s11 FaxGetty[5739]: <-- [5:ATI3\r]
Nov 23 08:40:09 s11 FaxGetty[5739]: --> [19:www.soft-switch.org]
Nov 23 08:40:09 s11 FaxGetty[5739]: --> [2:OK]
Nov 23 08:40:09 s11 FaxGetty[5739]: MODEM: Mfr www.soft-switch.org
Nov 23 08:40:09 s11 FaxGetty[5739]: <-- [5:ATI0\r]
Nov 23 08:40:09 s11 FaxGetty[5739]: --> [7:spandsp]
Nov 23 08:40:09 s11 FaxGetty[5739]: --> [2:OK]
Nov 23 08:40:09 s11 FaxGetty[5739]: MODEM: Model spandsp
Nov 23 08:40:09 s11 FaxGetty[5739]: <-- [9:AT+FTM=?\r]
Nov 23 08:40:09 s11 FaxGetty[5739]: --> [39:24,48,72,73,74,96,97,98,121,122,145,146]
Nov 23 08:40:09 s11 FaxGetty[5739]: --> [2:OK]
Nov 23 08:40:09 s11 FaxGetty[5739]: MODEM Supports 3.85 line/mm
Nov 23 08:40:09 s11 FaxGetty[5739]: MODEM Supports 7.7 line/mm
Nov 23 08:40:09 s11 FaxGetty[5739]: MODEM Supports 15.4 line/mm
Nov 23 08:40:09 s11 FaxGetty[5739]: MODEM Supports R16 x 15.4 line/mm
Nov 23 08:40:09 s11 FaxGetty[5739]: MODEM Supports 200 x 100 dpi
Nov 23 08:40:09 s11 FaxGetty[5739]: MODEM Supports 200 x 200 dpi
Nov 23 08:40:09 s11 FaxGetty[5739]: MODEM Supports 200 x 400 dpi
Nov 23 08:40:09 s11 FaxGetty[5739]: MODEM Supports 300 x 300 dpi
Nov 23 08:40:09 s11 FaxGetty[5739]: MODEM Supports 2400 bit/s
Nov 23 08:40:09 s11 FaxGetty[5739]: MODEM Supports 4800 bit/s
Nov 23 08:40:09 s11 FaxGetty[5739]: MODEM Supports 7200 bit/s
Nov 23 08:40:09 s11 FaxGetty[5739]: MODEM Supports 9600 bit/s
Nov 23 08:40:09 s11 FaxGetty[5739]: MODEM Supports 12000 bit/s
Nov 23 08:40:09 s11 FaxGetty[5739]: MODEM Supports 14400 bit/s
Nov 23 08:40:09 s11 FaxGetty[5739]: MODEM Supports A4 page width (215 mm)
Nov 23 08:40:09 s11 FaxGetty[5739]: MODEM Supports B4 page width (255 mm)
Nov 23 08:40:09 s11 FaxGetty[5739]: MODEM Supports A3 page width (303 mm)
Nov 23 08:40:09 s11 FaxGetty[5739]: MODEM Supports A4 page length (297 mm)
Nov 23 08:40:09 s11 FaxGetty[5739]: MODEM Supports B4 page length (364 mm)
Nov 23 08:40:09 s11 FaxGetty[5739]: MODEM Supports unlimited page length
Nov 23 08:40:09 s11 FaxGetty[5739]: MODEM Supports 1-D MH
Nov 23 08:40:09 s11 FaxGetty[5739]: MODEM Supports 2-D MR
Nov 23 08:40:09 s11 FaxGetty[5739]: MODEM Supports 2-D MMR
Nov 23 08:40:09 s11 FaxGetty[5739]: MODEM Supports no ECM
Nov 23 08:40:09 s11 FaxGetty[5739]: MODEM Supports T.30 Annex A, 64-byte ECM
Nov 23 08:40:09 s11 FaxGetty[5739]: MODEM Supports T.30 Annex A, 256-byte ECM
Nov 23 08:40:09 s11 FaxGetty[5739]: MODEM Supports 0 ms/scanline
Nov 23 08:40:09 s11 FaxGetty[5739]: MODEM Supports 5 ms/scanline
Nov 23 08:40:09 s11 FaxGetty[5739]: MODEM Supports 10 ms, 5 ms/scanline
Nov 23 08:40:09 s11 FaxGetty[5739]: MODEM Supports 10 ms/scanline
Nov 23 08:40:09 s11 FaxGetty[5739]: MODEM Supports 20 ms, 10 ms/scanline
Nov 23 08:40:09 s11 FaxGetty[5739]: MODEM Supports 20 ms/scanline
Nov 23 08:40:09 s11 FaxGetty[5739]: MODEM Supports 40 ms, 20 ms/scanline
Nov 23 08:40:09 s11 FaxGetty[5739]: MODEM Supports 40 ms/scanline
Nov 23 08:40:09 s11 FaxGetty[5739]: MODEM WWW.SOFT-SWITCH.ORG spandsp/
Nov 23 08:40:09 s11 FaxGetty[5739]: <-- [5:ATM0\r]
Nov 23 08:40:09 s11 FaxGetty[5739]: --> [2:OK]
Nov 23 08:40:09 s11 FaxGetty[5739]: <-- [9:AT+FAR=1\r]
Nov 23 08:40:09 s11 FaxGetty[5739]: --> [2:OK]
Nov 23 08:40:09 s11 FaxGetty[5739]: <-- [5:ATH0\r]
Nov 23 08:40:09 s11 FaxGetty[5739]: --> [2:OK]
Nov 23 08:40:09 s11 FaxGetty[5739]: STATE CHANGE: LOCKWAIT -> RUNNING (timeout 30)

Weil eventuell ist da irgendwo noch eine Einstellung von der Initialisierung falsch oder vno den Codec was er kann. Wunder Dich nicht vom Logdatum her - die Logs sind welche die ich mir damals wegkopiert gehabt hab.

cu alex
 
Hallo Alex,

also bei mir sieht die Initialisierung so aus:
Code:
Feb 27 07:41:11 sip1 FaxGetty[3297]: <-- [5:ATH0\r]
Feb 27 07:41:11 sip1 FaxGetty[3297]: MODEM WRITE ERROR: errno 5
Feb 27 07:41:11 sip1 FaxGetty[3297]: MODEM set DTR OFF
Feb 27 07:41:11 sip1 FaxGetty[3297]: MODEM set baud rate: 0 baud (flow control unchanged)
Feb 27 07:41:11 sip1 FaxGetty[3297]: MODEM setBaudRate::tcgetattr: Input/output error
Feb 27 07:41:12 sip1 FaxGetty[3297]: MODEM set DTR OFF
Feb 27 07:41:12 sip1 FaxGetty[3297]: MODEM set baud rate: 0 baud (flow control unchanged)
Feb 27 07:41:12 sip1 FaxGetty[3297]: DELAY 75 ms
Feb 27 07:41:12 sip1 FaxGetty[3297]: MODEM set DTR ON
Feb 27 07:41:12 sip1 FaxGetty[3297]: DELAY 2600 ms
Feb 27 07:41:15 sip1 FaxGetty[3297]: MODEM set baud rate: 19200 baud, input flow XON/XOFF, output flow XON/XOFF
Feb 27 07:41:15 sip1 FaxGetty[3297]: DELAY 10 ms
Feb 27 07:41:15 sip1 FaxGetty[3297]: MODEM flush i/o
Feb 27 07:41:15 sip1 FaxGetty[3297]: <-- [4:ATZ\r]
Feb 27 07:41:15 sip1 FaxGetty[3297]: --> [3:ATZ]
Feb 27 07:41:15 sip1 FaxGetty[3297]: --> [2:OK]
Feb 27 07:41:15 sip1 FaxGetty[3297]: DELAY 3000 ms
Feb 27 07:41:18 sip1 FaxGetty[3297]: MODEM flush i/o
Feb 27 07:41:18 sip1 FaxGetty[3297]: <-- [10:AT+VCID=1\r]
Feb 27 07:41:18 sip1 FaxGetty[3297]: --> [9:AT+VCID=1]
Feb 27 07:41:18 sip1 FaxGetty[3297]: --> [2:OK]
Feb 27 07:41:18 sip1 FaxGetty[3297]: <-- [7:ATS0=0\r]
Feb 27 07:41:18 sip1 FaxGetty[3297]: --> [6:ATS0=0]
Feb 27 07:41:18 sip1 FaxGetty[3297]: --> [2:OK]
Feb 27 07:41:18 sip1 FaxGetty[3297]: <-- [5:ATE0\r]
Feb 27 07:41:18 sip1 FaxGetty[3297]: --> [4:ATE0]
Feb 27 07:41:18 sip1 FaxGetty[3297]: --> [2:OK]
Feb 27 07:41:18 sip1 FaxGetty[3297]: <-- [5:ATV1\r]
Feb 27 07:41:18 sip1 FaxGetty[3297]: --> [2:OK]
Feb 27 07:41:18 sip1 FaxGetty[3297]: <-- [5:ATQ0\r]
Feb 27 07:41:18 sip1 FaxGetty[3297]: --> [2:OK]
Feb 27 07:41:18 sip1 FaxGetty[3297]: <-- [7:ATS8=2\r]
Feb 27 07:41:18 sip1 FaxGetty[3297]: --> [2:OK]
Feb 27 07:41:18 sip1 FaxGetty[3297]: <-- [8:ATS7=60\r]
Feb 27 07:41:18 sip1 FaxGetty[3297]: --> [2:OK]
Feb 27 07:41:18 sip1 FaxGetty[3297]: <-- [12:AT+FCLASS=?\r]
Feb 27 07:41:18 sip1 FaxGetty[3297]: --> [7:0,1,1.0]
Feb 27 07:41:18 sip1 FaxGetty[3297]: --> [2:OK]
Feb 27 07:41:18 sip1 FaxGetty[3297]: MODEM Supports "Data"
Feb 27 07:41:18 sip1 FaxGetty[3297]: MODEM Supports "Class 1"
Feb 27 07:41:18 sip1 FaxGetty[3297]: MODEM Supports "Class 1.0"
Feb 27 07:41:18 sip1 FaxGetty[3297]: <-- [12:AT+FCLASS=1\r]
Feb 27 07:41:18 sip1 FaxGetty[3297]: --> [2:OK]
Feb 27 07:41:18 sip1 FaxGetty[3297]: <-- [5:ATI3\r]
Feb 27 07:41:18 sip1 FaxGetty[3297]: --> [19:www.soft-switch.org]
Feb 27 07:41:18 sip1 FaxGetty[3297]: --> [2:OK]
Feb 27 07:41:18 sip1 FaxGetty[3297]: MODEM: Mfr www.soft-switch.org
Feb 27 07:41:18 sip1 FaxGetty[3297]: <-- [5:ATI0\r]
Feb 27 07:41:18 sip1 FaxGetty[3297]: --> [7:spandsp]
Feb 27 07:41:18 sip1 FaxGetty[3297]: --> [2:OK]
Feb 27 07:41:18 sip1 FaxGetty[3297]: MODEM: Model spandsp
Feb 27 07:41:18 sip1 FaxGetty[3297]: <-- [9:AT+FTM=?\r]
Feb 27 07:41:18 sip1 FaxGetty[3297]: --> [39:24,48,72,73,74,96,97,98,121,122,145,146]
Feb 27 07:41:18 sip1 FaxGetty[3297]: --> [2:OK]
Feb 27 07:41:18 sip1 FaxGetty[3297]: MODEM Supports 3.85 line/mm
Feb 27 07:41:18 sip1 FaxGetty[3297]: MODEM Supports 7.7 line/mm
Feb 27 07:41:18 sip1 FaxGetty[3297]: MODEM Supports 15.4 line/mm
Feb 27 07:41:18 sip1 FaxGetty[3297]: MODEM Supports R16 x 15.4 line/mm
Feb 27 07:41:18 sip1 FaxGetty[3297]: MODEM Supports 200 x 100 dpi
Feb 27 07:41:18 sip1 FaxGetty[3297]: MODEM Supports 200 x 200 dpi
Feb 27 07:41:18 sip1 FaxGetty[3297]: MODEM Supports 200 x 400 dpi
Feb 27 07:41:18 sip1 FaxGetty[3297]: MODEM Supports 300 x 300 dpi
Feb 27 07:41:18 sip1 FaxGetty[3297]: MODEM Supports 2400 bit/s
Feb 27 07:41:18 sip1 FaxGetty[3297]: MODEM Supports 4800 bit/s
Feb 27 07:41:18 sip1 FaxGetty[3297]: MODEM Supports 7200 bit/s
Feb 27 07:41:18 sip1 FaxGetty[3297]: MODEM Supports 9600 bit/s
Feb 27 07:41:18 sip1 FaxGetty[3297]: MODEM Supports 12000 bit/s
Feb 27 07:41:18 sip1 FaxGetty[3297]: MODEM Supports 14400 bit/s
Feb 27 07:41:18 sip1 FaxGetty[3297]: MODEM Supports A4 page width (215 mm)
Feb 27 07:41:18 sip1 FaxGetty[3297]: MODEM Supports B4 page width (255 mm)
Feb 27 07:41:18 sip1 FaxGetty[3297]: MODEM Supports A3 page width (303 mm)
Feb 27 07:41:18 sip1 FaxGetty[3297]: MODEM Supports A4 page length (297 mm)
Feb 27 07:41:18 sip1 FaxGetty[3297]: MODEM Supports B4 page length (364 mm)
Feb 27 07:41:18 sip1 FaxGetty[3297]: MODEM Supports unlimited page length
Feb 27 07:41:18 sip1 FaxGetty[3297]: MODEM Supports 1-D MH
Feb 27 07:41:18 sip1 FaxGetty[3297]: MODEM Supports 2-D MR
Feb 27 07:41:18 sip1 FaxGetty[3297]: MODEM Supports 2-D MMR
Feb 27 07:41:18 sip1 FaxGetty[3297]: MODEM Supports no ECM
Feb 27 07:41:18 sip1 FaxGetty[3297]: MODEM Supports T.30 Annex A, 64-byte ECM
Feb 27 07:41:18 sip1 FaxGetty[3297]: MODEM Supports T.30 Annex A, 256-byte ECM
Feb 27 07:41:18 sip1 FaxGetty[3297]: MODEM Supports 0 ms/scanline
Feb 27 07:41:18 sip1 FaxGetty[3297]: MODEM Supports 5 ms/scanline
Feb 27 07:41:18 sip1 FaxGetty[3297]: MODEM Supports 10 ms, 5 ms/scanline
Feb 27 07:41:18 sip1 FaxGetty[3297]: MODEM Supports 10 ms/scanline
Feb 27 07:41:18 sip1 FaxGetty[3297]: MODEM Supports 20 ms, 10 ms/scanline
Feb 27 07:41:18 sip1 FaxGetty[3297]: MODEM Supports 20 ms/scanline
Feb 27 07:41:18 sip1 FaxGetty[3297]: MODEM Supports 40 ms, 20 ms/scanline
Feb 27 07:41:18 sip1 FaxGetty[3297]: MODEM Supports 40 ms/scanline
Feb 27 07:41:18 sip1 FaxGetty[3297]: MODEM WWW.SOFT-SWITCH.ORG spandsp/
Feb 27 07:41:18 sip1 FaxGetty[3297]: <-- [5:ATM0\r]
Feb 27 07:41:18 sip1 FaxGetty[3297]: --> [2:OK]
Feb 27 07:41:18 sip1 FaxGetty[3297]: <-- [9:AT+FAR=1\r]
Feb 27 07:41:18 sip1 FaxGetty[3297]: --> [2:OK]
Feb 27 07:41:18 sip1 FaxGetty[3297]: STATE CHANGE: LISTENING -> RUNNING (timeout 30)

Kannst Du daraus etwas erkennen?

Danke und Gruss
Christian
 
Hallo Christian,

webmaxx schrieb:
Code:
Feb 27 07:41:11 sip1 FaxGetty[3297]: <-- [5:ATH0\r]
Feb 27 07:41:11 sip1 FaxGetty[3297]: MODEM WRITE ERROR: errno 5
Feb 27 07:41:11 sip1 FaxGetty[3297]: MODEM set DTR OFF
Feb 27 07:41:11 sip1 FaxGetty[3297]: MODEM set baud rate: 0 baud (flow control unchanged)
Feb 27 07:41:11 sip1 FaxGetty[3297]: MODEM setBaudRate::tcgetattr: Input/output error
Feb 27 07:41:12 sip1 FaxGetty[3297]: MODEM set DTR OFF
Feb 27 07:41:12 sip1 FaxGetty[3297]: MODEM set baud rate: 0 baud (flow control unchanged)
Feb 27 07:41:12 sip1 FaxGetty[3297]: DELAY 75 ms
Feb 27 07:41:12 sip1 FaxGetty[3297]: MODEM set DTR ON

Also der "WRITE ERROR" macht mir hier schon etwas Sorgen, da er anscheinend so wie es ausschaut das "/dev/" nicht richtig ansprechen kann, obwohl aber der rest eigentlcih gut ausschaut, da er es anscheinend dann nochmal probiert.

Zumindest ladet er auch den T.30 richtig (64 und 256) und sonst seh ich eigentlich auf die schnelle keinen Unterschied zu dem von mir.

Aber was mir gerade einfallt. Hast Du zusaetzlich zum IAXmodem auch das Paket media-libs/spandsp installiert ?? Ich hab da aktuell 0.0.2_pre26. Oder hast Du das spandsp vom IAXmodem verwendet ??

cu alex
 
Hallo Alex,

spandsp habe ich gar nicht installiert, auch inder Anleitung habe ich keinen Hinweis darauf gefunden.
Ich habe nach folgender Anleitung installiert:
http://www.das-asterisk-buch.de/stable/faxserver.html

Ich verwende SuSE 10.1, welche Version von spandsp sollte ich denn installieren?

Danke und Gruß
Christian
 
Hallo Alex,

ich habe mal spandsp von SuSE (0.0.2-20) installiert.

Folgendes finde ich in den messages:
Code:
Feb 28 18:48:31 sip1 FaxGetty[3323]: STATE CHANGE: RUNNING -> LISTENING
Feb 28 18:48:31 sip1 FaxGetty[3323]: --> [9:DATE=0228]
Feb 28 18:48:31 sip1 FaxGetty[3323]: MODEM CID ,,,
Feb 28 18:48:31 sip1 FaxGetty[3323]: --> [9:TIME=1848]
Feb 28 18:48:31 sip1 FaxGetty[3323]: MODEM CID ,,,
Feb 28 18:48:31 sip1 FaxGetty[3323]: --> [18:NAME=+498900000000]
Feb 28 18:48:31 sip1 FaxGetty[3323]: MODEM CID ,+498900000000,,
Feb 28 18:48:31 sip1 FaxGetty[3323]: --> [18:NMBR=+498900000000]
Feb 28 18:48:31 sip1 FaxGetty[3323]: MODEM CID +498900000000,+498900000000,,
Feb 28 18:48:31 sip1 FaxGetty[3323]: --> [11:ANID=<NONE>]
Feb 28 18:48:31 sip1 FaxGetty[3323]: MODEM CID +498900000000,+498900000000,<NONE>,
Feb 28 18:48:31 sip1 FaxGetty[3323]: --> [13:USER=iaxmodem]
Feb 28 18:48:31 sip1 FaxGetty[3323]: MODEM CID +498900000000,+498900000000,<NONE>,
Feb 28 18:48:31 sip1 FaxGetty[3323]: --> [11:PASS=<NONE>]
Feb 28 18:48:31 sip1 FaxGetty[3323]: MODEM CID +498900000000,+498900000000,<NONE>,
Feb 28 18:48:31 sip1 FaxGetty[3323]: --> [11:CDID=<NONE>]
Feb 28 18:48:31 sip1 FaxGetty[3323]: MODEM CID +498900000000,+498900000000,<NONE>,
Feb 28 18:48:31 sip1 FaxGetty[3323]: --> [19:NDID=498900000000)]
Feb 28 18:48:31 sip1 FaxGetty[3323]: MODEM CID +498900000000,+498900000000,<NONE>,
Feb 28 18:48:31 sip1 FaxGetty[3323]: --> [4:RING]
Feb 28 18:48:31 sip1 FaxGetty[3323]: ANSWER: Call ID 1 "+498900000000"
Feb 28 18:48:31 sip1 FaxGetty[3323]: ANSWER: Call ID 2 "+498900000000"
Feb 28 18:48:31 sip1 FaxGetty[3323]: ANSWER: Call ID 3 "<NONE>"
Feb 28 18:48:31 sip1 FaxGetty[3323]: STATE CHANGE: LISTENING -> ANSWERING
Feb 28 18:48:34 sip1 FaxGetty[3323]: ANSWER: FAX CONNECTION  DEVICE '/dev/ttyIAX0'
Feb 28 18:49:00 sip1 FaxGetty[3323]: <-- [5:ATH0\r]
Feb 28 18:49:00 sip1 FaxGetty[3323]: --> [2:OK]
Feb 28 18:49:00 sip1 FaxGetty[3323]: MODEM set DTR OFF
Feb 28 18:49:00 sip1 FaxGetty[3323]: MODEM set baud rate: 0 baud (flow control unchanged)
Feb 28 18:49:01 sip1 FaxGetty[3323]: MODEM set DTR OFF
Feb 28 18:49:01 sip1 FaxGetty[3323]: MODEM set baud rate: 0 baud (flow control unchanged)
Feb 28 18:49:01 sip1 FaxGetty[3323]: DELAY 75 ms
Feb 28 18:49:01 sip1 FaxGetty[3323]: MODEM set DTR ON
Feb 28 18:49:01 sip1 FaxGetty[3323]: DELAY 2600 ms
Feb 28 18:49:04 sip1 FaxGetty[3323]: MODEM set baud rate: 19200 baud, input flow XON/XOFF, output flow XON/XOFF
Feb 28 18:49:04 sip1 FaxGetty[3323]: DELAY 10 ms
Feb 28 18:49:04 sip1 FaxGetty[3323]: MODEM flush i/o
Feb 28 18:49:04 sip1 FaxGetty[3323]: <-- [4:ATZ\r]
Feb 28 18:49:04 sip1 FaxGetty[3323]: --> [2:OK]
Feb 28 18:49:04 sip1 FaxGetty[3323]: DELAY 3000 ms
Feb 28 18:49:07 sip1 FaxGetty[3323]: MODEM flush i/o
Feb 28 18:49:07 sip1 FaxGetty[3323]: <-- [10:AT+VCID=1\r]
Feb 28 18:49:07 sip1 FaxGetty[3323]: --> [9:AT+VCID=1]
Feb 28 18:49:07 sip1 FaxGetty[3323]: --> [2:OK]
Feb 28 18:49:07 sip1 FaxGetty[3323]: <-- [7:ATS0=0\r]
Feb 28 18:49:07 sip1 FaxGetty[3323]: --> [6:ATS0=0]
Feb 28 18:49:07 sip1 FaxGetty[3323]: --> [2:OK]
Feb 28 18:49:07 sip1 FaxGetty[3323]: <-- [5:ATE0\r]
Feb 28 18:49:07 sip1 FaxGetty[3323]: --> [4:ATE0]
Feb 28 18:49:07 sip1 FaxGetty[3323]: --> [2:OK]
Feb 28 18:49:07 sip1 FaxGetty[3323]: <-- [5:ATV1\r]
Feb 28 18:49:07 sip1 FaxGetty[3323]: --> [2:OK]
Feb 28 18:49:07 sip1 FaxGetty[3323]: <-- [5:ATQ0\r]
Feb 28 18:49:07 sip1 FaxGetty[3323]: --> [2:OK]
Feb 28 18:49:07 sip1 FaxGetty[3323]: <-- [7:ATS8=2\r]
Feb 28 18:49:07 sip1 FaxGetty[3323]: --> [2:OK]
Feb 28 18:49:07 sip1 FaxGetty[3323]: <-- [8:ATS7=60\r]
Feb 28 18:49:07 sip1 FaxGetty[3323]: --> [2:OK]
Feb 28 18:49:07 sip1 FaxGetty[3323]: <-- [12:AT+FCLASS=?\r]
Feb 28 18:49:07 sip1 FaxGetty[3323]: --> [7:0,1,1.0]
Feb 28 18:49:07 sip1 FaxGetty[3323]: --> [2:OK]
Feb 28 18:49:07 sip1 FaxGetty[3323]: MODEM Supports "Data"
Feb 28 18:49:07 sip1 FaxGetty[3323]: MODEM Supports "Class 1"
Feb 28 18:49:07 sip1 FaxGetty[3323]: MODEM Supports "Class 1.0"
Feb 28 18:49:07 sip1 FaxGetty[3323]: <-- [12:AT+FCLASS=1\r]
Feb 28 18:49:07 sip1 FaxGetty[3323]: --> [2:OK]
Feb 28 18:49:07 sip1 FaxGetty[3323]: <-- [5:ATI3\r]
Feb 28 18:49:07 sip1 FaxGetty[3323]: --> [19:www.soft-switch.org]
Feb 28 18:49:07 sip1 FaxGetty[3323]: --> [2:OK]
Feb 28 18:49:07 sip1 FaxGetty[3323]: MODEM: Mfr www.soft-switch.org
Feb 28 18:49:07 sip1 FaxGetty[3323]: <-- [5:ATI0\r]
Feb 28 18:49:07 sip1 FaxGetty[3323]: --> [7:spandsp]
Feb 28 18:49:07 sip1 FaxGetty[3323]: --> [2:OK]
Feb 28 18:49:07 sip1 FaxGetty[3323]: MODEM: Model spandsp
Feb 28 18:49:07 sip1 FaxGetty[3323]: <-- [9:AT+FTM=?\r]
Feb 28 18:49:07 sip1 FaxGetty[3323]: --> [39:24,48,72,73,74,96,97,98,121,122,145,146]
Feb 28 18:49:07 sip1 FaxGetty[3323]: --> [2:OK]
Feb 28 18:49:07 sip1 FaxGetty[3323]: MODEM Supports 3.85 line/mm
Feb 28 18:49:07 sip1 FaxGetty[3323]: MODEM Supports 7.7 line/mm
Feb 28 18:49:07 sip1 FaxGetty[3323]: MODEM Supports 15.4 line/mm
Feb 28 18:49:07 sip1 FaxGetty[3323]: MODEM Supports R16 x 15.4 line/mm
Feb 28 18:49:07 sip1 FaxGetty[3323]: MODEM Supports 200 x 100 dpi
Feb 28 18:49:07 sip1 FaxGetty[3323]: MODEM Supports 200 x 200 dpi
Feb 28 18:49:07 sip1 FaxGetty[3323]: MODEM Supports 200 x 400 dpi
Feb 28 18:49:07 sip1 FaxGetty[3323]: MODEM Supports 300 x 300 dpi
Feb 28 18:49:07 sip1 FaxGetty[3323]: MODEM Supports 2400 bit/s
Feb 28 18:49:07 sip1 FaxGetty[3323]: MODEM Supports 4800 bit/s
Feb 28 18:49:07 sip1 FaxGetty[3323]: MODEM Supports 7200 bit/s
Feb 28 18:49:07 sip1 FaxGetty[3323]: MODEM Supports 9600 bit/s
Feb 28 18:49:07 sip1 FaxGetty[3323]: MODEM Supports 12000 bit/s
Feb 28 18:49:07 sip1 FaxGetty[3323]: MODEM Supports 14400 bit/s
Feb 28 18:49:07 sip1 FaxGetty[3323]: MODEM Supports A4 page width (215 mm)
Feb 28 18:49:07 sip1 FaxGetty[3323]: MODEM Supports B4 page width (255 mm)
Feb 28 18:49:07 sip1 FaxGetty[3323]: MODEM Supports A3 page width (303 mm)
Feb 28 18:49:07 sip1 FaxGetty[3323]: MODEM Supports A4 page length (297 mm)
Feb 28 18:49:07 sip1 FaxGetty[3323]: MODEM Supports B4 page length (364 mm)
Feb 28 18:49:07 sip1 FaxGetty[3323]: MODEM Supports unlimited page length
Feb 28 18:49:07 sip1 FaxGetty[3323]: MODEM Supports 1-D MH
Feb 28 18:49:07 sip1 FaxGetty[3323]: MODEM Supports 2-D MR
Feb 28 18:49:07 sip1 FaxGetty[3323]: MODEM Supports 2-D MMR
Feb 28 18:49:07 sip1 FaxGetty[3323]: MODEM Supports no ECM
Feb 28 18:49:07 sip1 FaxGetty[3323]: MODEM Supports T.30 Annex A, 64-byte ECM
Feb 28 18:49:07 sip1 FaxGetty[3323]: MODEM Supports T.30 Annex A, 256-byte ECM
Feb 28 18:49:07 sip1 FaxGetty[3323]: MODEM Supports 0 ms/scanline
Feb 28 18:49:07 sip1 FaxGetty[3323]: MODEM Supports 5 ms/scanline
Feb 28 18:49:07 sip1 FaxGetty[3323]: MODEM Supports 10 ms, 5 ms/scanline
Feb 28 18:49:07 sip1 FaxGetty[3323]: MODEM Supports 10 ms/scanline
Feb 28 18:49:07 sip1 FaxGetty[3323]: MODEM Supports 20 ms, 10 ms/scanline
Feb 28 18:49:07 sip1 FaxGetty[3323]: MODEM Supports 20 ms/scanline
Feb 28 18:49:07 sip1 FaxGetty[3323]: MODEM Supports 40 ms, 20 ms/scanline
Feb 28 18:49:07 sip1 FaxGetty[3323]: MODEM Supports 40 ms/scanline
Feb 28 18:49:07 sip1 FaxGetty[3323]: MODEM WWW.SOFT-SWITCH.ORG spandsp/
Feb 28 18:49:07 sip1 FaxGetty[3323]: <-- [5:ATM0\r]
Feb 28 18:49:07 sip1 FaxGetty[3323]: --> [2:OK]
Feb 28 18:49:07 sip1 FaxGetty[3323]: <-- [9:AT+FAR=1\r]
Feb 28 18:49:07 sip1 FaxGetty[3323]: --> [2:OK]
Feb 28 18:49:07 sip1 FaxGetty[3323]: STATE CHANGE: RECEIVING -> RUNNING (timeout 30)

In den Logs von Hylafax steht das:
Code:
Feb 28 18:48:31.22: [ 3323]: SESSION BEGIN 000000013 49890000000
Feb 28 18:48:31.22: [ 3323]: HylaFAX (tm) Version 4.2.5
Feb 28 18:48:31.22: [ 3323]: CallID: "+49890000000" "+49890000000" "<NONE>"
Feb 28 18:48:31.22: [ 3323]: MODEM set XON/XOFF/FLUSH: input ignored, output disabled
Feb 28 18:48:31.22: [ 3323]: <-- [4:ATA\r]
Feb 28 18:48:34.94: [ 3323]: --> [7:CONNECT]
Feb 28 18:48:34.94: [ 3323]: ANSWER: FAX CONNECTION  DEVICE '/dev/ttyIAX0'
Feb 28 18:48:34.94: [ 3323]: STATE CHANGE: ANSWERING -> RECEIVING
Feb 28 18:48:34.94: [ 3323]: RECV FAX: begin
Feb 28 18:48:34.94: [ 3323]: <-- HDLC<32:FF C0 04 AD 00 55 12 9E 36 86 62 82 1A 04 14 2E B6 94 04 6A A6 4E CE 96 F6 76 04 2C 74 4C 74 AC>
Feb 28 18:48:34.94: [ 3323]: <-- data [32]
Feb 28 18:48:34.94: [ 3323]: <-- data [2]
Feb 28 18:48:35.86: [ 3323]: --> [7:CONNECT]
Feb 28 18:48:35.86: [ 3323]: <-- HDLC<23:FF C0 02 B6 A6 26 F6 B6 1A 82 92 04 04 04 04 04 04 04 04 04 04 04 04>
Feb 28 18:48:35.86: [ 3323]: <-- data [23]
Feb 28 18:48:35.86: [ 3323]: <-- data [2]
Feb 28 18:48:36.62: [ 3323]: --> [7:CONNECT]
Feb 28 18:48:36.62: [ 3323]: <-- HDLC<13:FF C8 01 00 73 5F 23 01 FB C1 01 01 18>
Feb 28 18:48:36.62: [ 3323]: <-- data [13]
Feb 28 18:48:36.62: [ 3323]: <-- data [2]
Feb 28 18:48:37.20: [ 3323]: --> [2:OK]
Feb 28 18:48:37.20: [ 3323]: <-- [9:AT+FRH=3\r]
Feb 28 18:48:37.57: [ 3323]: --> [7:CONNECT]
Feb 28 18:48:37.79: [ 3323]: --> [5:9E E7 9D 10 03]
Feb 28 18:48:37.79: [ 3323]: --> [5:ERROR]
Feb 28 18:48:37.79: [ 3323]: MODEM Command error
Feb 28 18:48:37.79: [ 3323]: FCS error
Feb 28 18:48:37.79: [ 3323]: <-- [9:AT+FRS=7\r]
Feb 28 18:48:39.44: [ 3323]: --> [2:OK]
Feb 28 18:48:39.44: [ 3323]: <-- [9:AT+FTH=3\r]
Feb 28 18:48:39.46: [ 3323]: --> [7:CONNECT]
Feb 28 18:48:39.46: [ 3323]: <-- HDLC<3:FF C8 58>
Feb 28 18:48:39.46: [ 3323]: <-- data [3]
Feb 28 18:48:39.46: [ 3323]: <-- data [2]
Feb 28 18:48:40.54: [ 3323]: --> [2:OK]
Feb 28 18:48:40.54: [ 3323]: RECV send CRP (command repeat)
Feb 28 18:48:40.54: [ 3323]: <-- [9:AT+FRH=3\r]
Feb 28 18:48:44.41: [ 3323]: --> [7:CONNECT]
Feb 28 18:48:45.91: [ 3323]: --> [20:8E DB 07 86 70 6C 6C 9A 72 64 6A 6A 40 72 70 40 72 68 56 40]
Feb 28 18:48:45.91: [ 3323]: --> [9:40 40 40 40 3C 3C FC 10 03]
Feb 28 18:48:45.91: [ 3323]: --> [5:ERROR]
Feb 28 18:48:45.91: [ 3323]: MODEM Command error
Feb 28 18:48:45.91: [ 3323]: FCS error
Feb 28 18:48:45.91: [ 3323]: <-- [9:AT+FRS=7\r]
Feb 28 18:48:46.29: [ 3323]: --> [2:OK]
Feb 28 18:48:46.29: [ 3323]: <-- [9:AT+FTH=3\r]
Feb 28 18:48:46.30: [ 3323]: --> [7:CONNECT]
Feb 28 18:48:46.30: [ 3323]: <-- HDLC<3:FF C8 58>
Feb 28 18:48:46.30: [ 3323]: <-- data [3]
Feb 28 18:48:46.30: [ 3323]: <-- data [2]
Feb 28 18:48:47.38: [ 3323]: --> [2:OK]
Feb 28 18:48:47.38: [ 3323]: RECV send CRP (command repeat)
Feb 28 18:48:47.38: [ 3323]: <-- [9:AT+FRH=3\r]
Feb 28 18:48:51.26: [ 3323]: --> [7:CONNECT]
Feb 28 18:48:51.63: [ 3323]: --> [4:9E 7B 10 03]
Feb 28 18:48:51.63: [ 3323]: --> [5:ERROR]
Feb 28 18:48:51.63: [ 3323]: MODEM Command error
Feb 28 18:48:51.63: [ 3323]: FCS error
Feb 28 18:48:51.63: [ 3323]: <-- [9:AT+FRS=7\r]
Feb 28 18:48:53.12: [ 3323]: --> [2:OK]
Feb 28 18:48:53.12: [ 3323]: <-- [9:AT+FTH=3\r]
Feb 28 18:48:53.14: [ 3323]: --> [7:CONNECT]
Feb 28 18:48:53.14: [ 3323]: <-- HDLC<3:FF C8 58>
Feb 28 18:48:53.14: [ 3323]: <-- data [3]
Feb 28 18:48:53.14: [ 3323]: <-- data [2]
Feb 28 18:48:54.22: [ 3323]: --> [2:OK]
Feb 28 18:48:54.22: [ 3323]: RECV send CRP (command repeat)
Feb 28 18:48:54.22: [ 3323]: <-- [9:AT+FRH=3\r]
Feb 28 18:48:58.09: [ 3323]: --> [7:CONNECT]
Feb 28 18:48:58.67: [ 3323]: --> [10:NO CARRIER]
Feb 28 18:48:58.67: [ 3323]: MODEM No carrier
Feb 28 18:48:58.67: [ 3323]: DELAY 1500 ms
Feb 28 18:49:00.16: [ 3323]: <-- [9:AT+FTH=3\r]
Feb 28 18:49:00.16: [ 3323]: --> [5:ERROR]
Feb 28 18:49:00.16: [ 3323]: RECV FAX: RSPREC error/got EOT
Feb 28 18:49:00.16: [ 3323]: RECV FAX: end
Feb 28 18:49:00.16: [ 3323]: SESSION END

Ich habe wirklich keine Ahnung woran das liegen könnte :-(

Ich hoffe Du findest eine Lösung.


Danke und Gruss

Christian
 
Hallo Christian,

webmaxx schrieb:
ich habe mal spandsp von SuSE (0.0.2-20) installiert.
Ich habe wirklich keine Ahnung woran das liegen könnte :-(
Ich hoffe Du findest eine Lösung.

ich glaube das es echt an der spandsp liegt weil da haben echt schon einige Probs gehabt damit. Weil es schaut mir echt sehr dannach aus das es da was hat weil das Handling nicht richtig funktioniert.

Ich selber hab wie gesagt die spandsp-0.0.2-pre26 (als Gentoo-EBuild) weil seit der 20er hat sich da schon einiges veraendert wie man hier sieht :

Code:
pre20 memory should now be cleaned up properly at the end of a FAX. There was a
      lot of memory leaking before. The build process has been tidied a little.
      Spandsp now uses inttypes.h instead of stdint.h, following portability
      recommendations in the autoconf documentation.
pre21 various cleanup. T.31 support is now largely functional. Fast AWGN added.
      G.722 (64kbps only) added. Builds the library with -g correctly (there
      was a typo stoppin debug builds before).Very few fprintfs now left.
      Most things now use span_log for logging. HDLC now more flexible.
pre22 added much of the stuff from 0.0.3, except for the T.38 related massive
      reworking of how FAX is handled. The FAX modems now use the correct
      spectral shaping. The initial exchange timeout (T0) has been backported
      from 0.0.3. The FAX API has been made more like the 0.0.3 one, to try
      to smooth the transition.
pre23 fixed up some silly errors in pre22.
pre24 fixed an error in T.4 processing, causing a sideways shift with some
      sending FAX machines (e.g. some Canons).
pre25 fixed a silly error in the generation of single tones.
pre26 fixes the packing order of G,726 codes to match that used in RTP.
[/quote]

also wuerde ich mal vorschlagen hier eine aktuellere (die 0.0.3 ist im Gentoo noch HardMasked aber eventuell schon irgendwie verwendbar fuer den Asterisk 1.4) Spandsp zu verwenden und diese nicht im IAXmodem zu kompelieren  (lt. meiner Info im Thread) sondern extra weil dann kannst Du dann zumindest ausschliessen das das IAXModem wo ein Problem produziert.

Schau mal auf [url]http://www.soft-switch.org/downloads/spandsp/[/url] weil da hast alle aktuellen Tarballs oben vom Spandsp.

Hast Du eigentlich mehrere IAXmodem eingerichtet ?? Also 00, 01, 02, usw. ?? Weil eventuell leg Dir hier mal mehrere zur Sicherheit an (tut ja nicht weh) damit haette dann auch der Asterisk dann mehrere zum zugreifen.

cu alex
 
Hallo Alex,

ich habe den Fehler gefunden.
/dev/pts/0 hat uucp:uucp und 0600
mein Hylafax läuft aber unter fax:uucp.
Ich habe /dev/pts/0 nun die Rechte 0660 gegeben und schon kann ich Faxe empfangen.

Nur wie bringe ich das iaxmodem unter fax:uucp zum Starten?
In der /etc/iaxmodem/ttyIAX0 habe ich fax:uucp als Owner angegegeben.

Hmm...mehrere IAXmodems?
Diese zu konfigurieren bzw. zu starten ist kein Problem.
Bekommt hier jedes einen anderen Port und einen anderen Peernamen?
Muss ich für jedes einen IAX User unter Asterisk einrichten?
Aber wie sage ich Asterisk welches Modem er nehmen soll?

Was mir auch noch nicht klar ist:
Bei Hylafax kann ich ja in der user.conf angeben welche MSN an welche Mailadresse geschicht wird.
Wie realisiere ich das denn mit dem IAXmodem?


Danke und Gruß

Christian
 
Zuletzt bearbeitet:
Hallo Christian,

webmaxx schrieb:
ich habe den Fehler gefunden.
/dev/pts/0 hat uucp:uucp und 0600
mein Hylafax läuft aber unter fax:uucp.
Ich habe /dev/pts/0 nun die Rechte 0660 gegeben und schon kann ich Faxe empfangen.

Das mit den Rechten hab ich aber schon mal gesagt das der User gleich sein sollte ;) Die Loesung ist es meiner Meinung nach aber nicht unbedingt weil was ist wenn mal die Rechte mit einem Update nicht mehr da sind.

webmaxx schrieb:
Nur wie bringe ich das iaxmodem unter fax:uucp zum Starten?
In der /etc/iaxmodem/ttyIAX0 habe ich fax:uucp als Owner angegegeben.

also normal - habs aber noch nicht ausprobiert muss ich sagen - solltest DU in der /etc/iaxmodem/ttyIAX den user aendern, der FIFO unter /var/spool/hylafax muss klarerweise den user haben und das sollts gewesen sein.

Lt. Doku IAXmodem :
Code:
The "owner" entry (formatted "user:group") is the system user and group
that IAXmodem should use for the created device.

webmaxx schrieb:
Hmm...mehrere IAXmodems?
Diese zu konfigurieren bzw. zu starten ist kein Problem.
Bekommt hier jedes einen anderen Port und einen anderen Peernamen?
Muss ich für jedes einen IAX User unter Asterisk einrichten?
Aber wie sage ich Asterisk welches Modem er nehmen soll?

Port und Peernamen : JA, iaxmodem00 port 5000, iaxmodem01 port 5001, etc.
IAX User : JA, iaxmodem00, etc.
Asterisk : z.B. exten => 49890000000,1,Dial(IAX2/iaxmodem00/${EXTEN})
Hylafax : klarerweise fuer jedes Modem ein config.ttyIAX00, etc.

webmaxx schrieb:
Was mir auch noch nicht klar ist:
Bei Hylafax kann ich ja in der user.conf angeben welche MSN an welche Mailadresse geschicht wird.
Wie realisiere ich das denn mit dem IAXmodem?

Die Nummer wird ja vom Asterisk uebergeben. D.h. das IAXmodem ist ja auch nur ein Device wie ein normales herkoemmliches Modem halt auch ist. Das Handling wie und wo er was hinschicken soll uebernimmt klarerweise das Hylafax und da hat ja eine "quasi Hardware wie IAXmodem" ja nix mehr damit zu tun.

Ich steh derzeit lediglich noch vor dem Problem, dass wenn ich Faxe versende er mir teilweise die IAXmodem nach der Reihe anspricht was er halt grad meint was frei ist und somit teilweise die Rufnummernuebermittlung falsch ist.

cu alex
 

Zurzeit aktive Besucher

Statistik des Forums

Themen
245,741
Beiträge
2,238,909
Mitglieder
372,909
Neuestes Mitglied
djihad23
Holen Sie sich 3CX - völlig kostenlos!
Verbinden Sie Ihr Team und Ihre Kunden Telefonie Livechat Videokonferenzen

Gehostet oder selbst-verwaltet. Für bis zu 10 Nutzer dauerhaft kostenlos. Keine Kreditkartendetails erforderlich. Ohne Risiko testen.

3CX
Für diese E-Mail-Adresse besteht bereits ein 3CX-Konto. Sie werden zum Kundenportal weitergeleitet, wo Sie sich anmelden oder Ihr Passwort zurücksetzen können, falls Sie dieses vergessen haben.