- Mitglied seit
- 26 Feb 2017
- Beiträge
- 10
- Punkte für Reaktionen
- 0
- Punkte
- 1
Hallo IP-Phone Forum,
ich versuche derzeit GOfax.IP einzurichten um darüber zu Faxe zu senden - jedoch hänge ich am gefühlt letzten Schritt der Einrichtung fest und komme nicht weiter.
Die Anleitung von Gonicus auf GitHub https://github.com/gonicus/gofaxip/blob/master/README.md habe ich befolgt, bekomme aber trotzdem diese "Fehlermeldung" wenn ich den aktuellen Status der Applikationen mittels
Anbei die Konfigurationsdateien:
Was mache ich falsch in der Konfiguration von FreeSWITCH, bzw. wie muss die SIP-Registrierung geändert werden, damit FreeSWITCH sich an der FRITZ!Box korrekt registriert?
Ich freue mich über eure Hilfe!
Beste Grüße
tightphone
ich versuche derzeit GOfax.IP einzurichten um darüber zu Faxe zu senden - jedoch hänge ich am gefühlt letzten Schritt der Einrichtung fest und komme nicht weiter.
Die Anleitung von Gonicus auf GitHub https://github.com/gonicus/gofaxip/blob/master/README.md habe ich befolgt, bekomme aber trotzdem diese "Fehlermeldung" wenn ich den aktuellen Status der Applikationen mittels
sudo systemctl status freeswitch hylafax gofaxip hfaxd faxq
abfrage.
Bash:
● freeswitch.service - FreeSWITCH VoIP Softswitch
Loaded: loaded (/etc/systemd/system/freeswitch.service; disabled; preset: enabled)
Active: active (running) since Sun 2025-07-06 00:45:01 CEST; 48s ago
Process: 880 ExecStartPre=/bin/chown -R uucp: /var/lib/freeswitch /var/log/freeswitch (code=exited, status=0/SUCCESS)
Main PID: 882 (freeswitch)
Tasks: 8 (limit: 4637)
Memory: 29.1M
CPU: 276ms
CGroup: /system.slice/freeswitch.service
└─882 /usr/bin/freeswitch -nonat -nc -nf
Jul 06 00:45:02 pDebian12 freeswitch[882]: 2025-07-06 00:45:02.721448 100.00% [CONSOLE] switch_loadable_module.c:2354 Stopping: mod_db
Jul 06 00:45:02 pDebian12 freeswitch[882]: 2025-07-06 00:45:02.721506 100.00% [CONSOLE] switch_loadable_module.c:2357 CORE_SPEEX_MODULE has no shutdown routine
Jul 06 00:45:02 pDebian12 freeswitch[882]: 2025-07-06 00:45:02.721605 100.00% [CONSOLE] switch_loadable_module.c:2354 Stopping: CORE_VPX_MODULE
Jul 06 00:45:02 pDebian12 freeswitch[882]: 2025-07-06 00:45:02.724294 100.00% [CONSOLE] switch_loadable_module.c:2354 Stopping: mod_spandsp
Jul 06 00:45:02 pDebian12 freeswitch[882]: 2025-07-06 00:45:02.724438 100.00% [CONSOLE] switch_loadable_module.c:2357 mod_tone_stream has no shutdown routine
Jul 06 00:45:02 pDebian12 freeswitch[882]: 2025-07-06 00:45:02.726955 100.00% [CONSOLE] switch_loadable_module.c:2354 Stopping: CORE_PCM_MODULE
Jul 06 00:45:02 pDebian12 freeswitch[882]: 2025-07-06 00:45:02.726977 100.00% [CONSOLE] switch_loadable_module.c:2354 Stopping: mod_logfile
Jul 06 00:45:02 pDebian12 freeswitch[882]: 2025-07-06 00:45:02.727423 100.00% [CONSOLE] switch_loadable_module.c:2354 Stopping: mod_sofia
Jul 06 00:45:02 pDebian12 freeswitch[882]: 2025-07-06 00:45:02.727593 100.00% [WARNING] sofia.c:2308 MSG Thread Ended
Jul 06 00:45:02 pDebian12 freeswitch[882]: 2025-07-06 00:45:02.727643 100.00% [CONSOLE] switch_loadable_module.c:2354 Stopping: mod_syslog
● hylafax.service - HylaFAX
Loaded: loaded (/lib/systemd/system/hylafax.service; disabled; preset: enabled)
Active: active (exited) since Sun 2025-07-06 00:45:01 CEST; 48s ago
Docs: man:hylafax
Process: 881 ExecStart=/bin/true (code=exited, status=0/SUCCESS)
Main PID: 881 (code=exited, status=0/SUCCESS)
CPU: 1ms
Jul 06 00:45:01 pDebian12 systemd[1]: Starting hylafax.service - HylaFAX...
Jul 06 00:45:01 pDebian12 systemd[1]: Finished hylafax.service - HylaFAX.
● gofaxip.service - GOfax.IP Fax over IP Bridge
Loaded: loaded (/lib/systemd/system/gofaxip.service; enabled; preset: enabled)
Active: active (running) since Sun 2025-07-06 00:45:04 CEST; 45s ago
Main PID: 922 (gofaxd)
Tasks: 11 (limit: 4637)
Memory: 8.9M
CPU: 9ms
CGroup: /system.slice/gofaxip.service
└─922 /usr/bin/gofaxd
Jul 06 00:45:04 pDebian12 /usr/bin/gofaxd[922]: faxq.go:73: Sending message to /var/spool/hylafax/FIFO: +freeswitch1:Rpcbffff01
Jul 06 00:45:04 pDebian12 /usr/bin/gofaxd[922]: device.go:174: Changing state of modem freeswitch2 to READY
Jul 06 00:45:04 pDebian12 /usr/bin/gofaxd[922]: faxq.go:73: Sending message to /var/spool/hylafax/FIFO: +freeswitch2:N
Jul 06 00:45:04 pDebian12 /usr/bin/gofaxd[922]: faxq.go:73: Sending message to /var/spool/hylafax/FIFO: +freeswitch2:Rpcbffff01
Jul 06 00:45:04 pDebian12 /usr/bin/gofaxd[922]: device.go:174: Changing state of modem freeswitch3 to READY
Jul 06 00:45:04 pDebian12 /usr/bin/gofaxd[922]: faxq.go:73: Sending message to /var/spool/hylafax/FIFO: +freeswitch3:N
Jul 06 00:45:04 pDebian12 /usr/bin/gofaxd[922]: faxq.go:73: Sending message to /var/spool/hylafax/FIFO: +freeswitch3:Rpcbffff01
Jul 06 00:45:04 pDebian12 /usr/bin/gofaxd[922]: device.go:174: Changing state of modem freeswitch4 to READY
Jul 06 00:45:04 pDebian12 /usr/bin/gofaxd[922]: faxq.go:73: Sending message to /var/spool/hylafax/FIFO: +freeswitch4:N
Jul 06 00:45:04 pDebian12 /usr/bin/gofaxd[922]: faxq.go:73: Sending message to /var/spool/hylafax/FIFO: +freeswitch4:Rpcbffff01
● hfaxd.service - HylaFAX client-server protocol server
Loaded: loaded (/lib/systemd/system/hfaxd.service; disabled; preset: enabled)
Active: active (running) since Sun 2025-07-06 00:45:01 CEST; 48s ago
Docs: man:hfaxd
Main PID: 883 (hfaxd)
Tasks: 1 (limit: 4637)
Memory: 2.2M
CPU: 10ms
CGroup: /system.slice/hfaxd.service
└─883 /usr/sbin/hfaxd -d -i 4559 -s 444
Jul 06 00:45:01 pDebian12 systemd[1]: Started hfaxd.service - HylaFAX client-server protocol server.
Jul 06 00:45:01 pDebian12 HylaFAX[883]: Listening to 0.0.0.0:4559
Jul 06 00:45:01 pDebian12 HylaFAX[883]: HylaFAX INET Protocol Server: restarted.
Jul 06 00:45:01 pDebian12 HylaFAX[883]: HylaFAX SNPP Protocol Server: restarted.
● faxq.service - HylaFAX queue manager process for outbound facsimile jobs
Loaded: loaded (/lib/systemd/system/faxq.service; disabled; preset: enabled)
Active: active (running) since Sun 2025-07-06 00:45:01 CEST; 48s ago
Docs: man:faxq
Process: 884 ExecStart=/usr/sbin/faxq (code=exited, status=0/SUCCESS)
Main PID: 885 (faxq)
Tasks: 1 (limit: 4637)
Memory: 6.4M
CPU: 39ms
CGroup: /system.slice/faxq.service
└─885 /usr/sbin/faxq
Jul 06 00:45:01 pDebian12 systemd[1]: Starting faxq.service - HylaFAX queue manager process for outbound facsimile jobs...
Jul 06 00:45:01 pDebian12 systemd[1]: Started faxq.service - HylaFAX queue manager process for outbound facsimile jobs.
Jul 06 00:45:01 pDebian12 FaxQueuer[885]: HylaFAX (tm) Version 6.0.7
Jul 06 00:45:01 pDebian12 FaxQueuer[885]: Copyright (c) 1990-1996 Sam Leffler
Jul 06 00:45:01 pDebian12 FaxQueuer[885]: Copyright (c) 1991-1996 Silicon Graphics, Inc.
Anbei die Konfigurationsdateien:
/etc/freeswitch/vars.xml
XML:
<include>
<X-PRE-PROCESS cmd="set" data="sofia_ip=192.168.178.1"/>
</include>
/etc/freeswitch/gateways/default.xml
XML:
<include>
<gateway name="default">
<param name="realm" value="192.168.178.1"/>
<param name="username" value="GOfaxpunktIP"/>
<param name="password" value="095270Gw%f*="/>
<param name="extension" value="auto_to_user"/>
<param name="caller-id-in-from" value="true"/>
<!-- If you are having a problem with the default registering as gw+gateway_name@ip you can set this to true to use extension@ip -->
<param name="extension-in-contact" value="true"/>
<!-- uncomment to disable registering at the gateway -->
<!-- <param name="register" value="false"/> -->
<!--send an options ping every x seconds, failure will unregister and/or mark it down-->
<!--<param name="ping" value="25"/>-->
</gateway>
</include>
/etc/gofax.conf
INI:
[freeswitch]
socket = 127.0.0.1:8021
password = ClueCon
; Default SIP gateway (as configured in FreeSWITCH) used for originated calls.
; Can be overridden by setting 'Gateway=' in DynamicConfigOutgoing
gateway = default
; Multiple gateways can be defined and will be tried in order until the call succeeds.
;gateway = backup-gw
ident = +491234567890
header = "Name"
; Enable to get excessive SpanDSP debug messages in FreeSWITCH
verbose = false
; Enable fallback to softmodem for the next call of
; a caller (identified by caller id) if negotiation using T.38 fails
; Persistent fallback data is saved in FreeSWITCH's mod_db
softmodemfallback = true
[hylafax]
spooldir = /var/spool/hylafax
; Limit number of outbound channels
modems = 5
; Enable to make GOfax.IP write xferfaxlog
xferfaxlog = log/xferfaxlog
[gofaxd]
socket = 127.0.0.1:8022
; Enable T.38 support for receiving (FreeSWITCH: fax_enable_t38)
enablet38 = true
; Send a T.38-ReINVITE when a fax was detected by tone detection while receiving (FreeSWITCH: fax_enable_t38_request)
requestt38 = true
; Extract the recipient from the sip diversion header
recipientfromdiversionheader = false
; Wait before answering a incoming call (ms)
answerafter = 2000
; Wait after answering before starting fax negotiation
waittime = 1000
; Support for rejecting calls and setting CSI for incoming faxes
;dynamicconfig = etc/DynamicConfig
[gofaxsend]
; Enable T.38 support for receiving (FreeSWITCH: fax_enable_t38)
enablet38 = true
; Send a T.38-ReINVITE when a fax was detected by tone detection while sending (FreeSWITCH: fax_enable_t38_request)
requestt38 = true
; Default outgoing caller id number
faxnumber = 01234567890
; Uncomment to prefix the destination number in every outgoing call when dialing
; callprefix = 0
; Support for settings TSI/Header and Callerid for outgoing faxes
;dynamicconfig = etc/DynamicConfigOutgoing
; Fallback to lower baudrate after x fax retries. Set number of retries. 0 = automatic fallback disabled
disablev17afterretry = 0
; Switch off ECM after x fax retries. Set number of retries. 0 = automatic switch disabled
disableECMafterretry = 0
; Set the Displayname to sender, cidnum or any static string you like
; sender - use sender from the qfile
; number - use number from the qfile
; cidnum - use callerid number as displayname
; example: my great faxserver - use "my great faxserver" as displayname for every outbound fax
cidname = Absendername
; Instruct HylaFAX to not retry the transmission
; useful for final failure responses like UNALLOCATED_NUMBER to prevent unnecessary retries
; can be set multiple times
failedresponse = UNALLOCATED_NUMBER
failedresponse = CALL_REJECTED
Was mache ich falsch in der Konfiguration von FreeSWITCH, bzw. wie muss die SIP-Registrierung geändert werden, damit FreeSWITCH sich an der FRITZ!Box korrekt registriert?
Ich freue mich über eure Hilfe!
Beste Grüße
tightphone