Sorry, ich muss die Communitiy wahrscheinlich mit einigen Problemen nerven.
Leider funktioniert mein Setup FB8390 - IAXMODEM/Asterisk/Hylafax überhaupt nicht.
Ich hatte sowas schonmal vor 2-3 Jahren probiert und mit dem gleichen Problem aufgegeben.
1. Ich habe einen Vodafone-Anschluss DSL und VoIP, der prima funktioniert
1a. Auf der FB7390 habe ich einen IP-Telefon eingerichtet mit dem Namen "IPFAX", Nebenstelle 621 und Anmeldedaten. IP 192.168.1.2
2. Auf einem Rechner (IP 192.168.1.116) läuft CentOS 7 mit FreePBX/Asterisk sowie IAXmdodem und Hylafax
SO starte ich momentan iaxmodem:
Insofern würde ich sagen iaxmodem funktioniert und ist registriert.
Versuche ich jetzt mit sendfax -n -d xxxxxxx file ein Dummyfax zu senden, dann bekomme ich folgende Meldungen:
Das Log von Hylafax zeigt folgedes:
Die angewählte Gegenstelle ist definitiv nicht busy und es geht ein Fax ran.
asterisk -vvvvr gibt folgendes aus:
Ich versteht nur Bahnhof. Es scheint aber so zu sein, dass Hylafax versucht mein Testfax über iaxmodem zu schicken, dann aber an ständigem Busy-Signal scheitert.
Kann mir jemand helfen ?
Leider funktioniert mein Setup FB8390 - IAXMODEM/Asterisk/Hylafax überhaupt nicht.
Ich hatte sowas schonmal vor 2-3 Jahren probiert und mit dem gleichen Problem aufgegeben.
1. Ich habe einen Vodafone-Anschluss DSL und VoIP, der prima funktioniert
1a. Auf der FB7390 habe ich einen IP-Telefon eingerichtet mit dem Namen "IPFAX", Nebenstelle 621 und Anmeldedaten. IP 192.168.1.2
2. Auf einem Rechner (IP 192.168.1.116) läuft CentOS 7 mit FreePBX/Asterisk sowie IAXmdodem und Hylafax
SO starte ich momentan iaxmodem:
[root@freepbx ~]# iaxmodem ttyIAX0
[2019-09-21 11:11:42.501377] Modem started
[2019-09-21 11:11:42.501672] Setting device = '/dev/ttyIAX0'
[2019-09-21 11:11:42.501697] Setting owner = 'uucp:uucp'
[2019-09-21 11:11:42.501706] Setting mode = '666'
[2019-09-21 11:11:42.501714] Setting port = 4569
[2019-09-21 11:11:42.501722] Setting refresh = 50
[2019-09-21 11:11:42.501732] Setting server = '127.0.0.1'
[2019-09-21 11:11:42.501741] Setting peername = '621'
[2019-09-21 11:11:42.501750] Setting secret = 'soldan32'
[2019-09-21 11:11:42.501759] Setting codec = alaw
[2019-09-21 11:11:42.501902] Opened pty, slave device: /dev/pts/4
[2019-09-21 11:11:42.501918] Created /dev/ttyIAX0 symbolic link
IAX2 CallToken currently unsupported and ignored.
[2019-09-21 11:11:42.503383] Registration completed successfully.
Insofern würde ich sagen iaxmodem funktioniert und ist registriert.
Versuche ich jetzt mit sendfax -n -d xxxxxxx file ein Dummyfax zu senden, dann bekomme ich folgende Meldungen:
[2019-09-21 11:03:16.740134] Dialing '541600'
Ignoring unknown information element 'Unknown IE' (56) of length 9
[2019-09-21 11:03:16.741791] Call accepted.
[2019-09-21 11:03:19.828570] IAX2 jitter - last_ts: 3080, ts: 3099
[2019-09-21 11:03:22.996653] Hanging Up
IAX2 CallToken currently unsupported and ignored.
[2019-09-21 11:03:46.605410] Hanging Up
Das Log von Hylafax zeigt folgedes:
Sep 21 10:14:49.69: [13751]: SESSION BEGIN 000000001 541600
Sep 21 10:14:49.69: [13751]: HylaFAX (tm) Version 7.0.0
Sep 21 10:14:49.69: [13751]: SEND FAX: JOB 2 DEST 541600 COMMID 000000001 DEVICE '/dev/ttyIAX0' FROM 'root <root@localhost>' USER root
Sep 21 10:14:49.69: [13751]: STATE CHANGE: RUNNING -> SENDING
Sep 21 10:14:49.70: [13751]: <-- [12:AT+FCLASS=1\r]
Sep 21 10:14:49.70: [13751]: --> [2:OK]
Sep 21 10:14:49.70: [13751]: MODEM set XON/XOFF/FLUSH: input ignored, output disabled
Sep 21 10:14:49.83: [13751]: DIAL 541600
Sep 21 10:14:49.83: [13751]: <-- [11:ATDT541600\r]
Sep 21 10:14:55.30: [13751]: --> [4:BUSY]
Sep 21 10:14:55.30: [13751]: SEND FAILED: JOB 2 DEST 541600 ERR Busy signal detected {E001}
Sep 21 10:14:56.30: [13751]: <-- [5:ATH0\r]
Sep 21 10:14:56.30: [13751]: --> [2:OK]
Sep 21 10:14:56.30: [13751]: MODEM set DTR OFF
Sep 21 10:14:56.30: [13751]: MODEM set baud rate: 0 baud (flow control unchanged)
Sep 21 10:14:56.30: [13751]: STATE CHANGE: SENDING -> MODEMWAIT (timeout 5)
Sep 21 10:14:56.33: [13751]: SESSION END
Die angewählte Gegenstelle ist definitiv nicht busy und es geht ein Fax ran.
asterisk -vvvvr gibt folgendes aus:
-- Accepting AUTHENTICATED call from 127.0.0.1:43760:
-- > requested format = alaw,
-- > requested prefs = (),
-- > actual format = ulaw,
-- > host prefs = (ulaw|alaw),
-- > priority = mine
-- Executing [541600@from-internal:1] Macro("IAX2/621-11336", "user-callerid,LIMIT,EXTERNAL,") in new stack
-- Executing [s@macro-user-callerid:1] Set("IAX2/621-11336", "TOUCH_MONITOR=1569057389.21") in new stack
-- Executing [s@macro-user-callerid:2] Set("IAX2/621-11336", "AMPUSER=621") in new stack
-- Executing [s@macro-user-callerid:3] GotoIf("IAX2/621-11336", "0?report") in new stack
-- Executing [s@macro-user-callerid:4] ExecIf("IAX2/621-11336", "1?Set(REALCALLERIDNUM=621)") in new stack
-- Executing [s@macro-user-callerid:5] Set("IAX2/621-11336", "AMPUSER=621") in new stack
-- Executing [s@macro-user-callerid:6] GotoIf("IAX2/621-11336", "0?limit") in new stack
-- Executing [s@macro-user-callerid:7] Set("IAX2/621-11336", "AMPUSERCIDNAME=fax") in new stack
-- Executing [s@macro-user-callerid:8] ExecIf("IAX2/621-11336", "0?Set(__CIDMASQUERADING=TRUE)") in new stack
-- Executing [s@macro-user-callerid:9] GotoIf("IAX2/621-11336", "0?report") in new stack
-- Executing [s@macro-user-callerid:10] Set("IAX2/621-11336", "AMPUSERCID=621") in new stack
-- Executing [s@macro-user-callerid:11] Set("IAX2/621-11336", "__DIAL_OPTIONS=HhTtr") in new stack
-- Executing [s@macro-user-callerid:12] Set("IAX2/621-11336", "CALLERID(all)="fax" <621>") in new stack
-- Executing [s@macro-user-callerid:13] ExecIf("IAX2/621-11336", "0?Set(CALLERID(all)=EXTERNAL)") in new stack
-- Executing [s@macro-user-callerid:14] GotoIf("IAX2/621-11336", "0?limit") in new stack
-- Executing [s@macro-user-callerid:15] ExecIf("IAX2/621-11336", "1?Set(GROUP(concurrency_limit)=621)") in new stack
-- Executing [s@macro-user-callerid:16] ExecIf("IAX2/621-11336", "0?Set(CHANNEL(language)=)") in new stack
-- Executing [s@macro-user-callerid:17] NoOp("IAX2/621-11336", "Macro Depth is 1") in new stack
-- Executing [s@macro-user-callerid:18] GotoIf("IAX2/621-11336", "1?report2:macroerror") in new stack
-- Goto (macro-user-callerid,s,19)
-- Executing [s@macro-user-callerid:19] GotoIf("IAX2/621-11336", "1?continue") in new stack
-- Goto (macro-user-callerid,s,38)
-- Executing [s@macro-user-callerid:38] Set("IAX2/621-11336", "CALLERID(number)=621") in new stack
-- Executing [s@macro-user-callerid:39] Set("IAX2/621-11336", "CALLERID(name)=fax") in new stack
-- Executing [s@macro-user-callerid:40] GotoIf("IAX2/621-11336", "0?cnum") in new stack
-- Executing [s@macro-user-callerid:41] Set("IAX2/621-11336", "CDR(cnam)=fax") in new stack
-- Executing [s@macro-user-callerid:42] Set("IAX2/621-11336", "CDR(cnum)=621") in new stack
-- Executing [s@macro-user-callerid:43] Set("IAX2/621-11336", "CHANNEL(language)=de_DE") in new stack
-- Executing [541600@from-internal:2] Gosub("IAX2/621-11336", "sub-record-check,s,1(out,541600,dontcare)") in new stack
-- Executing [s@sub-record-check:1] GotoIf("IAX2/621-11336", "0?initialized") in new stack
-- Executing [s@sub-record-check:2] Set("IAX2/621-11336", "__REC_STATUS=INITIALIZED") in new stack
-- Executing [s@sub-record-check:3] Set("IAX2/621-11336", "NOW=1569057389") in new stack
-- Executing [s@sub-record-check:4] Set("IAX2/621-11336", "__DAY=21") in new stack
-- Executing [s@sub-record-check:5] Set("IAX2/621-11336", "__MONTH=09") in new stack
-- Executing [s@sub-record-check:6] Set("IAX2/621-11336", "__YEAR=2019") in new stack
-- Executing [s@sub-record-check:7] Set("IAX2/621-11336", "__TIMESTR=20190921-111629") in new stack
-- Executing [s@sub-record-check:8] Set("IAX2/621-11336", "__FROMEXTEN=621") in new stack
-- Executing [s@sub-record-check:9] Set("IAX2/621-11336", "__MON_FMT=wav") in new stack
-- Executing [s@sub-record-check:10] NoOp("IAX2/621-11336", "Recordings initialized") in new stack
-- Executing [s@sub-record-check:11] ExecIf("IAX2/621-11336", "0?Set(ARG3=dontcare)") in new stack
-- Executing [s@sub-record-check:12] Set("IAX2/621-11336", "REC_POLICY_MODE_SAVE=") in new stack
-- Executing [s@sub-record-check:13] ExecIf("IAX2/621-11336", "0?Set(REC_STATUS=NO)") in new stack
-- Executing [s@sub-record-check:14] GotoIf("IAX2/621-11336", "3?checkaction") in new stack
-- Goto (sub-record-check,s,17)
-- Executing [s@sub-record-check:17] GotoIf("IAX2/621-11336", "1?sub-record-check,out,1") in new stack
-- Goto (sub-record-check,out,1)
-- Executing [out@sub-record-check:1] NoOp("IAX2/621-11336", "Outbound Recording Check from 621 to 541600") in new stack
-- Executing [out@sub-record-check:2] Set("IAX2/621-11336", "RECMODE=dontcare") in new stack
-- Executing [out@sub-record-check:3] ExecIf("IAX2/621-11336", "1?Goto(routewins)") in new stack
-- Goto (sub-record-check,out,7)
-- Executing [out@sub-record-check:7] Gosub("IAX2/621-11336", "recordcheck,1(dontcare,out,541600)") in new stack
-- Executing [recordcheck@sub-record-check:1] NoOp("IAX2/621-11336", "Starting recording check against dontcare") in new stack
-- Executing [recordcheck@sub-record-check:2] Goto("IAX2/621-11336", "dontcare") in new stack
-- Goto (sub-record-check,recordcheck,3)
-- Executing [recordcheck@sub-record-check:3] Return("IAX2/621-11336", "") in new stack
-- Executing [out@sub-record-check:8] Return("IAX2/621-11336", "") in new stack
-- Executing [541600@from-internal:3] ExecIf("IAX2/621-11336", "0 ?Set(CDR(accountcode)=)") in new stack
-- Executing [541600@from-internal:4] Set("IAX2/621-11336", "MOHCLASS=default") in new stack
-- Executing [541600@from-internal:5] ExecIf("IAX2/621-11336", "0?Set(TRUNKCIDOVERRIDE=<fax_out>)") in new stack
-- Executing [541600@from-internal:6] Set("IAX2/621-11336", "_NODEST=") in new stack
-- Executing [541600@from-internal:7] Macro("IAX2/621-11336", "outisbusy,") in new stack
-- Executing [s@macro-outisbusy:1] Progress("IAX2/621-11336", "") in new stack
-- Executing [s@macro-outisbusy:2] GotoIf("IAX2/621-11336", "0?emergency,1") in new stack
-- Executing [s@macro-outisbusy:3] GotoIf("IAX2/621-11336", "0?intracompany,1") in new stack
-- Executing [s@macro-outisbusy:4] Playback("IAX2/621-11336", "all-circuits-busy-now&please-try-call-later, noanswer") in new stack
-- <IAX2/621-11336> Playing 'all-circuits-busy-now.ulaw' (language 'de_DE')
-- <IAX2/621-11336> Playing 'please-try-call-later.ulaw' (language 'de_DE')
-- Executing [s@macro-outisbusy:5] Congestion("IAX2/621-11336", "20") in new stack
== Spawn extension (macro-outisbusy, s, 5) exited non-zero on 'IAX2/621-11336' in macro 'outisbusy'
== Spawn extension (from-internal, 541600, 7) exited non-zero on 'IAX2/621-11336'
-- Executing [h@from-internal:1] Macro("IAX2/621-11336", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("IAX2/621-11336", "1?theend") in new stack
-- Goto (macro-hangupcall,s,3)
-- Executing [s@macro-hangupcall:3] ExecIf("IAX2/621-11336", "0?Set(CDR(recordingfile)=)") in new stack
-- Executing [s@macro-hangupcall:4] NoOp("IAX2/621-11336", " montior file= ") in new stack
-- Executing [s@macro-hangupcall:5] GotoIf("IAX2/621-11336", "1?skipagi") in new stack
-- Goto (macro-hangupcall,s,7)
-- Executing [s@macro-hangupcall:7] Hangup("IAX2/621-11336", "") in new stack
== Spawn extension (macro-hangupcall, s, 7) exited non-zero on 'IAX2/621-11336' in macro 'hangupcall'
== Spawn extension (from-internal, h, 1) exited non-zero on 'IAX2/621-11336'
-- Hungup 'IAX2/621-11336'
freepbx*CLI> iax2 show regist
Ich versteht nur Bahnhof. Es scheint aber so zu sein, dass Hylafax versucht mein Testfax über iaxmodem zu schicken, dann aber an ständigem Busy-Signal scheitert.
Kann mir jemand helfen ?