Hallo Allerseits,
Erstmal, was gewollt ist:
- Installation Asterisk auf einem Virtuellen Ubuntu 20.04 (Erledigt)
- SIP Einrichtung (Erledigt)
- Installation und Konfiguration Hylafax (Fehler)
Zusätzliche Info: Ich bin noch sehr neu im Thema Asterisk und Hylafax...
Also ich kann mit der Asterisk hinein und raustelefonieren (Softphone). Alles schön und gut. Aber bei der Anbindung von Hylafax (ja die Chefetage will unbedingt Fax2Mail und Mail2Fax) komme ich irgendwie nicht weiter.
Ich habe also IAX und Hylafax installiert und...die Registrierung der IAXModems schlägt fehl. Ich habe garantiert nur einen dämlichen Denkfehler, doch den Finde ich einfach nicht.
Auch eine Suche auf Google war Erfolglos, wieso ich nun hier um Hilfe bitte.
Hier mal die vorhandenen Einstellungen und Logs:
/usr/bin/iaxmodem ttyIAX0
faxstat -s
/etc/asterisk/iax.conf
/etc/iaxmodem/ttyIAX0
/etc/iaxmodem/ttyIAX1
Ich wäre wirklich extrem Dankbar, wenn mir jemand helfen könnte. Ich Kämpfe nun seit 2 Wochen mit dem "Neuland" (Hylafax und Asterisk) und verzweifle langsam.
Vielen Dank im Voraus!
Dante
Erstmal, was gewollt ist:
- Installation Asterisk auf einem Virtuellen Ubuntu 20.04 (Erledigt)
- SIP Einrichtung (Erledigt)
- Installation und Konfiguration Hylafax (Fehler)
Zusätzliche Info: Ich bin noch sehr neu im Thema Asterisk und Hylafax...
Also ich kann mit der Asterisk hinein und raustelefonieren (Softphone). Alles schön und gut. Aber bei der Anbindung von Hylafax (ja die Chefetage will unbedingt Fax2Mail und Mail2Fax) komme ich irgendwie nicht weiter.
Ich habe also IAX und Hylafax installiert und...die Registrierung der IAXModems schlägt fehl. Ich habe garantiert nur einen dämlichen Denkfehler, doch den Finde ich einfach nicht.
Auch eine Suche auf Google war Erfolglos, wieso ich nun hier um Hilfe bitte.
Hier mal die vorhandenen Einstellungen und Logs:
/usr/bin/iaxmodem ttyIAX0
Code:
[2020-11-14 07:50:40] Modem started
[2020-11-14 07:50:40] Setting device = '/dev/ttyIAX0'
[2020-11-14 07:50:40] Setting owner = 'uucp:uucp'
[2020-11-14 07:50:40] Setting mode = '660'
[2020-11-14 07:50:40] Setting port = 4570
[2020-11-14 07:50:40] Setting refresh = 50
[2020-11-14 07:50:40] Setting server = '127.0.0.1'
[2020-11-14 07:50:40] Setting peername = 'iaxmodem0'
[2020-11-14 07:50:40] Setting codec = alaw
[2020-11-14 07:50:40] Opened pty, slave device: /dev/pts/4
[2020-11-14 07:50:40] Removed old /dev/ttyIAX0
[2020-11-14 07:50:40] Created /dev/ttyIAX0 symbolic link
[2020-11-14 07:50:40] Registration failed.
Code:
frirhfax01*CLI> iax2 set debug on
IAX2 Debugging Enabled
frirhfax01*CLI> iax2 show peers
Name/Username Host Mask Port Status Description
iaxmodem1 (null) (D) (null) (null) Unmonitored
iaxmodem0 (null) (D) (null) (null) Unmonitored
2 iax2 peers [0 online, 0 offline, 2 unmonitored]
Rx-Frame Retry[ No] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: REGREQ
Timestamp: 00003ms SCall: 04893 DCall: 00000 127.0.0.1:59691
USERNAME : iaxmodem0
REFRESH : 50
Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 001 Type: IAX Subclass: REGAUTH
Timestamp: 00013ms SCall: 12738 DCall: 04893 127.0.0.1:59691
AUTHMETHODS : 2
CHALLENGE : \x31\x30\x32\x37\x33\x34\x39\x33\x32
USERNAME : iaxmodem0
Rx-Frame Retry[ No] -- OSeqno: 001 ISeqno: 001 Type: IAX Subclass: REGREQ
Timestamp: 00003ms SCall: 04893 DCall: 12738 127.0.0.1:59691
USERNAME : iaxmodem0
MD5 RESULT : 24d5c5e1ab9def1a59084365c19b7c4b
REFRESH : 50
Tx-Frame Retry[-01] -- OSeqno: 001 ISeqno: 002 Type: IAX Subclass: ACK
Timestamp: 00003ms SCall: 12738 DCall: 04893 127.0.0.1:59691
Tx-Frame Retry[000] -- OSeqno: 001 ISeqno: 002 Type: IAX Subclass: REGREJ
Timestamp: 00016ms SCall: 12738 DCall: 04893 127.0.0.1:59691
CAUSE : Registration Refused
CAUSE CODE : 29
Rx-Frame Retry[ No] -- OSeqno: 002 ISeqno: 002 Type: IAX Subclass: ACK
Timestamp: 00016ms SCall: 04893 DCall: 12738 127.0.0.1:59691
faxstat -s
Code:
HylaFAX scheduler on frirhfax01: Running
Modem ttyIAX0 (+49.33767.795.0): Running and idle
Modem ttyIAX1 (+49.33767.795.0): Running and idle
/etc/asterisk/iax.conf
Code:
[general]
bindport = 4569
bindaddr = 0.0.0.0
disallow = all
allow = alaw
[iaxmodem0]
type = friend
secret = SECRET
port = 4570
host = dynamic
context = fax-out
disallow = all
allow = alaw
requirecalltoken=no
[iaxmodem1]
type = friend
secret = SECRET
port = 4570
host = dynamic
context = fax-out
disallow = all
allow = alaw
requirecalltoken=no
/etc/iaxmodem/ttyIAX0
Code:
device /dev/ttyIAX0
owner uucp:uucp
mode 660
port 4570
refresh 50
server 127.0.0.1
peername iaxmodem0
secret SECRET
codec alaw
/etc/iaxmodem/ttyIAX1
Code:
device /dev/ttyIAX1
owner uucp:uucp
mode 660
port 4571
refresh 50
server 127.0.0.1
peername iaxmodem1
secret SECRET
codec alaw
Ich wäre wirklich extrem Dankbar, wenn mir jemand helfen könnte. Ich Kämpfe nun seit 2 Wochen mit dem "Neuland" (Hylafax und Asterisk) und verzweifle langsam.
Vielen Dank im Voraus!
Dante
Zuletzt bearbeitet: