Fritzbox als Client und Gateway an FreePBX

aski1

Gesperrt
Mitglied seit
13 Aug 2016
Beiträge
4
Punkte für Reaktionen
0
Punkte
1
Abgetrennt von hier...

Hallo,

habe einen ähnlichen Aufbau wie densidad und habe mithilfe seiner Einstellungen die Outgoing Calls bewerkstellingen können.

Leider funktionieren jedoch nicht die incoming calls. Zu erwähnen ist, dass ich zur Zeit nur ein FritzFon mit Dect betreibe.

Zu den Logs:

Die Fritzbox meldet:
"Internettelefonie [...] war nicht erfolgreich, Adress Inccomplete"

FreePBX meldet:

Code:
[2016-08-14 13:54:33] VERBOSE[4415][C-0000000a] app_dial.c: SIP/fritz-box-00000015 is making progress passing it to SIP/10-00000014
[2016-08-14 13:54:46] VERBOSE[4415][C-0000000a] app_macro.c: Spawn extension (macro-dialout-trunk, s, 23) exited non-zero on 'SIP/10-00000014' in macro 'dialout-trunk'
[2016-08-14 13:54:46] VERBOSE[4415][C-0000000a] pbx.c: Spawn extension (from-internal, 623, 5) exited non-zero on 'SIP/10-00000014'
[2016-08-14 13:54:46] VERBOSE[4415][C-0000000a] pbx.c: Executing [h@from-internal:1] Macro("SIP/10-00000014", "hangupcall") in new stack
[2016-08-14 13:54:46] VERBOSE[4415][C-0000000a] pbx.c: Executing [s@macro-hangupcall:1] GotoIf("SIP/10-00000014", "1?theend") in new stack
[2016-08-14 13:54:46] VERBOSE[4415][C-0000000a] pbx_builtins.c: Goto (macro-hangupcall,s,3)
[2016-08-14 13:54:46] VERBOSE[4415][C-0000000a] pbx.c: Executing [s@macro-hangupcall:3] ExecIf("SIP/10-00000014", "0?Set(CDR(recordingfile)=)") in new stack
[2016-08-14 13:54:46] VERBOSE[4415][C-0000000a] pbx.c: Executing [s@macro-hangupcall:4] Hangup("SIP/10-00000014", "") in new stack
[2016-08-14 13:54:46] VERBOSE[4415][C-0000000a] app_macro.c: Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'SIP/10-00000014' in macro 'hangupcall'
[2016-08-14 13:54:46] VERBOSE[4415][C-0000000a] pbx.c: Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/10-00000014'

Meine Einstellungen:
[Edit rentier-s:] Link zu extermem Hoster entfernt, Bilder bitte direkt an den Beitrag anhängen

192.168.200.1 ist die Fritzbox
192.168.200.35 ist die Raspberry mit FreePBX und Asterisk 13

Vielen Dank im Voraus :)
 
Zuletzt bearbeitet von einem Moderator:
Links zu Image-Hostern sind grundsätzlich nicht erlaubt. Hänge die Bilder bitte über den "Grafik einfügen" Button an.

Das Address incomplete wäre ein Hinweis, dass in in FreePBX keine passende Route gibt. Fraglich ist nur in welche Richtung, weil in Deinem Log geht es um einen abgehenden Call.
 
Vielen Dank für deine Antwort Rentier-s :)
Oh Entschuldigung, hier sind meine Einstellungen:

Dect:
dect.png

Extension:

extension1.png

extension2.jpg

Incoming:

incoming.png

IP Telefon für Trunk:

iptelefon.png

Rufnummer 10:
rufnummer.png

Sip Settings:
sipsettings.jpg

Hier einmal -rvvv bei Incoming:

Code:
 == Using SIP RTP TOS bits 184
  == Using SIP RTP CoS mark 5
    -- Executing [623@from-trunk:1] NoOp("SIP/623-00000029", "Catch-All DID Match - Found 623 - You probably want a DID for this.") in new stack
    -- Executing [623@from-trunk:2] Log("SIP/623-00000029", "WARNING,Friendly Scanner from 192.168.200.1") in new stack
[2016-08-16 15:24:33] WARNING[13995][C-00000017]: Ext. 623:2 @ from-trunk: Friendly Scanner from 192.168.200.1
    -- Executing [623@from-trunk:3] Set("SIP/623-00000029", "__FROM_DID=623") in new stack
    -- Executing [623@from-trunk:4] Goto("SIP/623-00000029", "ext-did,s,1") in new stack
    -- Goto (ext-did,s,1)
    -- Executing [s@ext-did:1] ExecIf("SIP/623-00000029", "0?Set(__FROM_DID=s)") in new stack
    -- Executing [s@ext-did:2] Gosub("SIP/623-00000029", "sub-record-check,s,1(in,s,no)") in new stack
    -- Executing [s@sub-record-check:1] GotoIf("SIP/623-00000029", "0?initialized") in new stack
    -- Executing [s@sub-record-check:2] Set("SIP/623-00000029", "__REC_STATUS=INITIALIZED") in new stack
    -- Executing [s@sub-record-check:3] Set("SIP/623-00000029", "NOW=1471353873") in new stack
    -- Executing [s@sub-record-check:4] Set("SIP/623-00000029", "__DAY=16") in new stack
    -- Executing [s@sub-record-check:5] Set("SIP/623-00000029", "__MONTH=08") in new stack
    -- Executing [s@sub-record-check:6] Set("SIP/623-00000029", "__YEAR=2016") in new stack
    -- Executing [s@sub-record-check:7] Set("SIP/623-00000029", "__TIMESTR=20160816-152433") in new stack
    -- Executing [s@sub-record-check:8] Set("SIP/623-00000029", "__FROMEXTEN=unknown") in new stack
    -- Executing [s@sub-record-check:9] Set("SIP/623-00000029", "__MON_FMT=wav") in new stack
    -- Executing [s@sub-record-check:10] NoOp("SIP/623-00000029", "Recordings initialized") in new stack
    -- Executing [s@sub-record-check:11] ExecIf("SIP/623-00000029", "0?Set(ARG3=dontcare)") in new stack
    -- Executing [s@sub-record-check:12] Set("SIP/623-00000029", "REC_POLICY_MODE_SAVE=") in new stack
    -- Executing [s@sub-record-check:13] ExecIf("SIP/623-00000029", "0?Set(REC_STATUS=NO)") in new stack
    -- Executing [s@sub-record-check:14] GotoIf("SIP/623-00000029", "2?checkaction") in new stack
    -- Goto (sub-record-check,s,17)
    -- Executing [s@sub-record-check:17] GotoIf("SIP/623-00000029", "1?sub-record-check,in,1") in new stack
    -- Goto (sub-record-check,in,1)
    -- Executing [in@sub-record-check:1] NoOp("SIP/623-00000029", "Inbound Recording Check to s") in new stack
    -- Executing [in@sub-record-check:2] Set("SIP/623-00000029", "FROMEXTEN=unknown") in new stack
    -- Executing [in@sub-record-check:3] ExecIf("SIP/623-00000029", "12?Set(FROMEXTEN=017********)") in new stack
    -- Executing [in@sub-record-check:4] Gosub("SIP/623-00000029", "recordcheck,1(no,in,s)") in new stack
    -- Executing [recordcheck@sub-record-check:1] NoOp("SIP/623-00000029", "Starting recording check against no") in new stack
    -- Executing [recordcheck@sub-record-check:2] Goto("SIP/623-00000029", "no") in new stack
    -- Goto (sub-record-check,recordcheck,12)
    -- Executing [recordcheck@sub-record-check:12] Set("SIP/623-00000029", "__REC_POLICY_MODE=NO") in new stack
    -- Executing [recordcheck@sub-record-check:13] Return("SIP/623-00000029", "") in new stack
    -- Executing [in@sub-record-check:5] Return("SIP/623-00000029", "") in new stack
    -- Executing [s@ext-did:3] Set("SIP/623-00000029", "CDR(did)=623") in new stack
    -- Executing [s@ext-did:4] ExecIf("SIP/623-00000029", "1 ?Set(CALLERID(name)=017*******)") in new stack
    -- Executing [s@ext-did:5] Set("SIP/623-00000029", "CHANNEL(musicclass)=default") in new stack
    -- Executing [s@ext-did:6] Set("SIP/623-00000029", "__MOHCLASS=default") in new stack
    -- Executing [s@ext-did:7] Ringing("SIP/623-00000029", "") in new stack
    -- Executing [s@ext-did:8] Set("SIP/623-00000029", "__REVERSAL_REJECT=FALSE") in new stack
    -- Executing [s@ext-did:9] GotoIf("SIP/623-00000029", "1?post-reverse-charge") in new stack
    -- Goto (ext-did,s,11)
    -- Executing [s@ext-did:11] NoOp("SIP/623-00000029", "") in new stack
    -- Executing [s@ext-did:12] Set("SIP/623-00000029", "__CALLINGNAMEPRES_SV=allowed_not_screened") in new stack
    -- Executing [s@ext-did:13] Set("SIP/623-00000029", "__CALLINGNUMPRES_SV=allowed_not_screened") in new stack
    -- Executing [s@ext-did:14] Set("SIP/623-00000029", "CALLERID(name-pres)=allowed_not_screened") in new stack
    -- Executing [s@ext-did:15] Set("SIP/623-00000029", "CALLERID(num-pres)=allowed_not_screened") in new stack
    -- Executing [s@ext-did:16] NoOp("SIP/623-00000029", "CallerID Entry Point") in new stack
    -- Executing [s@ext-did:17] Goto("SIP/623-00000029", "from-did-direct,10,1") in new stack
    -- Goto (from-did-direct,10,1)
    -- Executing [10@from-did-direct:1] Set("SIP/623-00000029", "__RINGTIMER=15") in new stack
    -- Executing [10@from-did-direct:2] Macro("SIP/623-00000029", "exten-vm,novm,10,0,0,0") in new stack
    -- Executing [s@macro-exten-vm:1] Macro("SIP/623-00000029", "user-callerid,") in new stack
    -- Executing [s@macro-user-callerid:1] Set("SIP/623-00000029", "TOUCH_MONITOR=1471353873.41") in new stack
    -- Executing [s@macro-user-callerid:2] Set("SIP/623-00000029", "AMPUSER=0176*******") in new stack
    -- Executing [s@macro-user-callerid:3] GotoIf("SIP/623-00000029", "0?report") in new stack
    -- Executing [s@macro-user-callerid:4] ExecIf("SIP/623-00000029", "1?Set(REALCALLERIDNUM=017********)") in new stack
    -- Executing [s@macro-user-callerid:5] Set("SIP/623-00000029", "AMPUSER=") in new stack
    -- Executing [s@macro-user-callerid:6] GotoIf("SIP/623-00000029", "0?limit") in new stack
    -- Executing [s@macro-user-callerid:7] Set("SIP/623-00000029", "AMPUSERCIDNAME=") in new stack
    -- Executing [s@macro-user-callerid:8] GotoIf("SIP/623-00000029", "1?report") in new stack
    -- Goto (macro-user-callerid,s,14)
    -- Executing [s@macro-user-callerid:14] GotoIf("SIP/623-00000029", "0?continue") in new stack
    -- Executing [s@macro-user-callerid:15] Set("SIP/623-00000029", "__TTL=64") in new stack
    -- Executing [s@macro-user-callerid:16] GotoIf("SIP/623-00000029", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,27)
    -- Executing [s@macro-user-callerid:27] Set("SIP/623-00000029", "CALLERID(number)=017**********") in new stack
    -- Executing [s@macro-user-callerid:28] Set("SIP/623-00000029", "CALLERID(name)=017*********") in new stack
    -- Executing [s@macro-user-callerid:29] Set("SIP/623-00000029", "CDR(cnum)=017*******") in new stack
    -- Executing [s@macro-user-callerid:30] Set("SIP/623-00000029", "CDR(cnam)=017********") in new stack
    -- Executing [s@macro-user-callerid:31] Set("SIP/623-00000029", "CHANNEL(language)=en") in new stack
    -- Executing [s@macro-exten-vm:2] Set("SIP/623-00000029", "RingGroupMethod=none") in new stack
    -- Executing [s@macro-exten-vm:3] Set("SIP/623-00000029", "__EXTTOCALL=10") in new stack
    -- Executing [s@macro-exten-vm:4] Set("SIP/623-00000029", "__PICKUPMARK=10") in new stack
    -- Executing [s@macro-exten-vm:5] Set("SIP/623-00000029", "RT=") in new stack
    -- Executing [s@macro-exten-vm:6] Gosub("SIP/623-00000029", "sub-record-check,s,1(exten,10,dontcare)") in new stack
    -- Executing [s@sub-record-check:1] GotoIf("SIP/623-00000029", "12?initialized") in new stack
    -- Goto (sub-record-check,s,10)
    -- Executing [s@sub-record-check:10] NoOp("SIP/623-00000029", "Recordings initialized") in new stack
    -- Executing [s@sub-record-check:11] ExecIf("SIP/623-00000029", "0?Set(ARG3=dontcare)") in new stack
    -- Executing [s@sub-record-check:12] Set("SIP/623-00000029", "REC_POLICY_MODE_SAVE=NO") in new stack
    -- Executing [s@sub-record-check:13] ExecIf("SIP/623-00000029", "0?Set(REC_STATUS=NO)") in new stack
    -- Executing [s@sub-record-check:14] GotoIf("SIP/623-00000029", "5?checkaction") in new stack
    -- Goto (sub-record-check,s,17)
    -- Executing [s@sub-record-check:17] GotoIf("SIP/623-00000029", "1?sub-record-check,exten,1") in new stack
    -- Goto (sub-record-check,exten,1)
    -- Executing [exten@sub-record-check:1] NoOp("SIP/623-00000029", "Exten Recording Check between 017****** and 10") in new stack
    -- Executing [exten@sub-record-check:2] Set("SIP/623-00000029", "CALLTYPE=external") in new stack
    -- Executing [exten@sub-record-check:3] ExecIf("SIP/623-00000029", "0?Set(CALLTYPE=)") in new stack
    -- Executing [exten@sub-record-check:4] Set("SIP/623-00000029", "CALLEE=dontcare") in new stack
    -- Executing [exten@sub-record-check:5] ExecIf("SIP/623-00000029", "0?Set(CALLEE=dontcare)") in new stack
    -- Executing [exten@sub-record-check:6] GotoIf("SIP/623-00000029", "1?callee") in new stack
    -- Goto (sub-record-check,exten,11)
    -- Executing [exten@sub-record-check:11] Gosub("SIP/623-00000029", "recordcheck,1(dontcare,external,10)") in new stack
    -- Executing [recordcheck@sub-record-check:1] NoOp("SIP/623-00000029", "Starting recording check against dontcare") in new stack
    -- Executing [recordcheck@sub-record-check:2] Goto("SIP/623-00000029", "dontcare") in new stack
    -- Goto (sub-record-check,recordcheck,3)
    -- Executing [recordcheck@sub-record-check:3] Return("SIP/623-00000029", "") in new stack
    -- Executing [exten@sub-record-check:12] Return("SIP/623-00000029", "") in new stack
    -- Executing [s@macro-exten-vm:7] GotoIf("SIP/623-00000029", "1?macrodial") in new stack
    -- Goto (macro-exten-vm,s,13)
    -- Executing [s@macro-exten-vm:13] GosubIf("SIP/623-00000029", "0?clrheader,1()") in new stack
    -- Executing [s@macro-exten-vm:14] Macro("SIP/623-00000029", "dial-one,,Ttr,10") in new stack
    -- Executing [s@macro-dial-one:1] Set("SIP/623-00000029", "DEXTEN=10") in new stack
    -- Executing [s@macro-dial-one:2] Set("SIP/623-00000029", "DIALSTATUS_CW=") in new stack
    -- Executing [s@macro-dial-one:3] GosubIf("SIP/623-00000029", "0?screen,1()") in new stack
    -- Executing [s@macro-dial-one:4] GosubIf("SIP/623-00000029", "0?cf,1()") in new stack
    -- Executing [s@macro-dial-one:5] GotoIf("SIP/623-00000029", "1?skip1") in new stack
    -- Goto (macro-dial-one,s,8)
    -- Executing [s@macro-dial-one:8] GotoIf("SIP/623-00000029", "0?nodial") in new stack
    -- Executing [s@macro-dial-one:9] GotoIf("SIP/623-00000029", "0?continue") in new stack
    -- Executing [s@macro-dial-one:10] Set("SIP/623-00000029", "EXTHASCW=ENABLED") in new stack
    -- Executing [s@macro-dial-one:11] GotoIf("SIP/623-00000029", "0?next1:cwinusebusy") in new stack
    -- Goto (macro-dial-one,s,23)
    -- Executing [s@macro-dial-one:23] GotoIf("SIP/623-00000029", "0?next3:continue") in new stack
    -- Goto (macro-dial-one,s,25)
    -- Executing [s@macro-dial-one:25] GotoIf("SIP/623-00000029", "0?nodial") in new stack
    -- Executing [s@macro-dial-one:26] GosubIf("SIP/623-00000029", "1?dstring,1():dlocal,1()") in new stack
    -- Executing [dstring@macro-dial-one:1] Set("SIP/623-00000029", "DSTRING=") in new stack
    -- Executing [dstring@macro-dial-one:2] Set("SIP/623-00000029", "DEVICES=10") in new stack
    -- Executing [dstring@macro-dial-one:3] ExecIf("SIP/623-00000029", "0?Return()") in new stack
    -- Executing [dstring@macro-dial-one:4] ExecIf("SIP/623-00000029", "0?Set(DEVICES=0)") in new stack
    -- Executing [dstring@macro-dial-one:5] Set("SIP/623-00000029", "LOOPCNT=1") in new stack
    -- Executing [dstring@macro-dial-one:6] Set("SIP/623-00000029", "ITER=1") in new stack
    -- Executing [dstring@macro-dial-one:7] Set("SIP/623-00000029", "THISDIAL=10") in new stack
    -- Executing [dstring@macro-dial-one:8] GosubIf("SIP/623-00000029", "1?zap2dahdi,1()") in new stack
    -- Executing [zap2dahdi@macro-dial-one:1] ExecIf("SIP/623-00000029", "0?Return()") in new stack
    -- Executing [zap2dahdi@macro-dial-one:2] Set("SIP/623-00000029", "NEWDIAL=") in new stack
    -- Executing [zap2dahdi@macro-dial-one:3] Set("SIP/623-00000029", "LOOPCNT2=1") in new stack
    -- Executing [zap2dahdi@macro-dial-one:4] Set("SIP/623-00000029", "ITER2=1") in new stack
    -- Executing [zap2dahdi@macro-dial-one:5] Set("SIP/623-00000029", "THISPART2=10") in new stack
    -- Executing [zap2dahdi@macro-dial-one:6] ExecIf("SIP/623-00000029", "0?Set(THISPART2=DAHDI)") in new stack
    -- Executing [zap2dahdi@macro-dial-one:7] Set("SIP/623-00000029", "NEWDIAL=10&") in new stack
    -- Executing [zap2dahdi@macro-dial-one:8] Set("SIP/623-00000029", "ITER2=2") in new stack
    -- Executing [zap2dahdi@macro-dial-one:9] GotoIf("SIP/623-00000029", "0?begin2") in new stack
    -- Executing [zap2dahdi@macro-dial-one:10] Set("SIP/623-00000029", "THISDIAL=10") in new stack
    -- Executing [zap2dahdi@macro-dial-one:11] Return("SIP/623-00000029", "") in new stack
    -- Executing [dstring@macro-dial-one:9] GotoIf("SIP/623-00000029", "1?docheck") in new stack
    -- Goto (macro-dial-one,dstring,12)
    -- Executing [dstring@macro-dial-one:12] GotoIf("SIP/623-00000029", "0?skipset") in new stack
    -- Executing [dstring@macro-dial-one:13] Set("SIP/623-00000029", "DSTRING=10&") in new stack
    -- Executing [dstring@macro-dial-one:14] Set("SIP/623-00000029", "ITER=2") in new stack
    -- Executing [dstring@macro-dial-one:15] GotoIf("SIP/623-00000029", "0?begin") in new stack
    -- Executing [dstring@macro-dial-one:16] ExecIf("SIP/623-00000029", "0?Return()") in new stack
    -- Executing [dstring@macro-dial-one:17] Set("SIP/623-00000029", "DSTRING=10") in new stack
    -- Executing [dstring@macro-dial-one:18] Return("SIP/623-00000029", "") in new stack
    -- Executing [s@macro-dial-one:27] GotoIf("SIP/623-00000029", "0?nodial") in new stack
    -- Executing [s@macro-dial-one:28] GotoIf("SIP/623-00000029", "0?skiptrace") in new stack
    -- Executing [s@macro-dial-one:29] GosubIf("SIP/623-00000029", "1?ctset,1():ctclear,1()") in new stack
    -- Executing [ctset@macro-dial-one:1] Set("SIP/623-00000029", "DB(CALLTRACE/10)=017*********") in new stack
    -- Executing [ctset@macro-dial-one:2] Return("SIP/623-00000029", "") in new stack
    -- Executing [s@macro-dial-one:30] Set("SIP/623-00000029", "D_OPTIONS=Ttr") in new stack
    -- Executing [s@macro-dial-one:31] NoOp("SIP/623-00000029", "Blind Transfer: , Attended Transfer: , User: , Alert Info: ") in new stack
    -- Executing [s@macro-dial-one:32] ExecIf("SIP/623-00000029", "0?Set(ALERT_INFO=)") in new stack
    -- Executing [s@macro-dial-one:33] ExecIf("SIP/623-00000029", "0?Set(ALERT_INFO=)") in new stack
    -- Executing [s@macro-dial-one:34] ExecIf("SIP/623-00000029", "0?Set(ALERT_INFO=)") in new stack
    -- Executing [s@macro-dial-one:35] GosubIf("SIP/623-00000029", "0?func-set-sipheader,s,1(Alert-Info,)") in new stack
    -- Executing [s@macro-dial-one:36] ExecIf("SIP/623-00000029", "1?Set(CHANNEL(musicclass)=default)") in new stack
    -- Executing [s@macro-dial-one:37] GosubIf("SIP/623-00000029", "0?qwait,1()") in new stack
    -- Executing [s@macro-dial-one:38] Set("SIP/623-00000029", "__CWIGNORE=") in new stack
    -- Executing [s@macro-dial-one:39] Set("SIP/623-00000029", "__KEEPCID=TRUE") in new stack
    -- Executing [s@macro-dial-one:40] GotoIf("SIP/623-00000029", "0?usegoto,1") in new stack
    -- Executing [s@macro-dial-one:41] GotoIf("SIP/623-00000029", "1?godial") in new stack
    -- Goto (macro-dial-one,s,46)
    -- Executing [s@macro-dial-one:46] Macro("SIP/623-00000029", "dialout-one-predial-hook,") in new stack
    -- Executing [s@macro-dialout-one-predial-hook:1] MacroExit("SIP/623-00000029", "") in new stack
    -- Executing [s@macro-dial-one:47] Dial("SIP/623-00000029", "10,,Ttrb(func-apply-sipheaders^s^1)") in new stack
[2016-08-16 15:24:36] WARNING[13995][C-00000017]: app_dial.c:2371 dial_exec_full: Dial argument takes format (technology/resource)
  == Spawn extension (macro-dial-one, s, 47) exited non-zero on 'SIP/623-00000029' in macro 'dial-one'
  == Spawn extension (macro-exten-vm, s, 14) exited non-zero on 'SIP/623-00000029' in macro 'exten-vm'
  == Spawn extension (from-did-direct, 10, 2) exited non-zero on 'SIP/623-00000029'
    -- Executing [h@from-did-direct:1] Macro("SIP/623-00000029", "hangupcall,") in new stack
    -- Executing [s@macro-hangupcall:1] GotoIf("SIP/623-00000029", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,3)
    -- Executing [s@macro-hangupcall:3] ExecIf("SIP/623-00000029", "0?Set(CDR(recordingfile)=)") in new stack
    -- Executing [s@macro-hangupcall:4] Hangup("SIP/623-00000029", "") in new stack
  == Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'SIP/623-00000029' in macro 'hangupcall'
  == Spawn extension (from-did-direct, h, 1) exited non-zero on 'SIP/623-00000029'
 
Zuletzt bearbeitet:
Frag mich bitte nicht, wo das herkommt, aber

-- Executing [s@macro-dial-one:47] Dial("SIP/623-00000029", "10,,Ttrb(func-apply-sipheaders^s^1)") in new stack
[2016-08-16 15:24:36] WARNING[13995][C-00000017]: app_dial.c:2371 dial_exec_full: Dial argument takes format (technology/resource)

ist auf jeden Fall falsch. Wie kann ein GUI so etwas produzieren?! :gruebel:
 
FreePBX wird ja aktuell mit Asterisk 11 ausgeliefert, was ich (nachdem ich die Grundeinstellungen angepasst habe) auf Asterisk 13 geupdatet habe. Soll ich FreePBX mal zurücksetzten und anschließend neu konfigurieren? Könnte das Update an dem Fehler schuld sein? Vielen Dank für das Thema trennen :)
 
Mit der Asterisk Version hat es jedenfalls sicher nichts zu tun. Das GUI erzeugt hier einen fehlerhaften Dialplan. In Deinen Screenshots ist ein Feld für den Dialstring zu sehen, dort stünde eigentlich SIP/10 drin. Keine Ahnung, warum davon später nur die 10 übrig bleibt, ich nutze FreePBX selbst nicht und bin deshalb auch leider raus an dieser Stelle.
 
Hi rentier,

hab jetzt mal die extension neu abgespeichert und die Raspberry und die Fritzbox neugestartet.
Und siehe da, anscheinend hat er die Einstellung angepasst :)

Ich vermute hier ist der kritische Teil:

Code:
   -- Executing [s@macro-dial-one:47] Dial("SIP/623-00000039", "SIP/10,,Ttrb(func-apply-sipheaders^s^1)") in new stack
  == Using SIP RTP TOS bits 184
  == Using SIP RTP CoS mark 5
    -- SIP/10-0000003a Internal Gosub(func-apply-sipheaders,s,1) start
    -- Executing [s@func-apply-sipheaders:1] NoOp("SIP/10-0000003a", "Applying SIP Headers to channel") in new stack
    -- Executing [s@func-apply-sipheaders:2] Set("SIP/10-0000003a", "SIPHEADERKEYS=") in new stack
    -- Executing [s@func-apply-sipheaders:3] While("SIP/10-0000003a", "0") in new stack
    -- Jumping to priority 7
    -- Executing [s@func-apply-sipheaders:8] Return("SIP/10-0000003a", "") in new stack
  == Spawn extension (from-internal, 10, 1) exited non-zero on 'SIP/10-0000003a'
    -- SIP/10-0000003a Internal Gosub(func-apply-sipheaders,s,1) complete GOSUB_RETVAL=
    -- Called SIP/10
    -- Got SIP response 486 "Busy Here" back from 192.168.200.1:5060
    -- SIP/10-0000003a is busy
  == Everyone is busy/congested at this time (1:1/0/0)
    -- Executing [s@macro-dial-one:48] ExecIf("SIP/623-00000039", "0?MacroExit()") in new stack
    -- Executing [s@macro-dial-one:49] ExecIf("SIP/623-00000039", "0?Set(DIALSTATUS=)") in new stack
    -- Executing [s@macro-dial-one:50] GosubIf("SIP/623-00000039", "0?s-BUSY,1()") in new stack
    -- Executing [s@macro-dial-one:51] MacroExit("SIP/623-00000039", "") in new stack
    -- Executing [s@macro-exten-vm:15] Set("SIP/623-00000039", "SV_DIALSTATUS=BUSY") in new stack
    -- Executing [s@macro-exten-vm:16] GosubIf("SIP/623-00000039", "0?docfu,1()") in new stack
    -- Executing [s@macro-exten-vm:17] GosubIf("SIP/623-00000039", "0?docfb,1()") in new stack
    -- Executing [s@macro-exten-vm:18] Set("SIP/623-00000039", "DIALSTATUS=BUSY") in new stack
    -- Executing [s@macro-exten-vm:19] ExecIf("SIP/623-00000039", "0?MacroExit()") in new stack
    -- Executing [s@macro-exten-vm:20] GotoIf("SIP/623-00000039", "1?s-BUSY,1") in new stack
    -- Goto (macro-exten-vm,s-BUSY,1)
    -- Executing [s-BUSY@macro-exten-vm:1] GotoIf("SIP/623-00000039", "0?exit,1") in new stack
    -- Executing [s-BUSY@macro-exten-vm:2] PlayTones("SIP/623-00000039", "busy") in new stack
    -- Executing [s-BUSY@macro-exten-vm:3] Busy("SIP/623-00000039", "20") in new stack
  == Spawn extension (macro-exten-vm, s-BUSY, 3) exited non-zero on 'SIP/623-00000039' in macro 'exten-vm'
  == Spawn extension (from-did-direct, 10, 2) exited non-zero on 'SIP/623-00000039'
    -- Executing [h@from-did-direct:1] Macro("SIP/623-00000039", "hangupcall,") in new stack
    -- Executing [s@macro-hangupcall:1] GotoIf("SIP/623-00000039", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,3)
    -- Executing [s@macro-hangupcall:3] ExecIf("SIP/623-00000039", "0?Set(CDR(recordingfile)=)") in new stack
    -- Executing [s@macro-hangupcall:4] Hangup("SIP/623-00000039", "") in new stack
  == Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'SIP/623-00000039' in macro 'hangupcall'
  == Spawn extension (from-did-direct, h, 1) exited non-zero on 'SIP/623-00000039'

SIP10 is busy. Ich vermute hier liegt das Problem. Habe schon die Einstellungen der Fritzbox durchsucht und auch die Anpassung von der Einstellung: "Ruf abweisen bei besetzt (Busy on Busy)" brachte keine Besserung.

Die Fritzbox bringt jedoch keine Fehlermeldung mehr :)

Edit:

Was mir auch aufgefallen ist: Die Trunk ist durchgehend "in use by 1 route" und zwar der outbound.
Habe daraufhin die database nach "10" durchsucht:

Code:
/AMPUSER/10/answermode                            : disabled
/AMPUSER/10/cfringtimer                           : 0
/AMPUSER/10/cidname                               : 10
/AMPUSER/10/cidnum                                : 10
/AMPUSER/10/concurrency_limit                     : 3
/AMPUSER/10/device                                : 10
/AMPUSER/10/noanswer                              :
/AMPUSER/10/outboundcid                           :
/AMPUSER/10/password                              :
/AMPUSER/10/queues/qnostate                       : usestate
/AMPUSER/10/recording                             :
/AMPUSER/10/recording/in/external                 : dontcare
/AMPUSER/10/recording/in/internal                 : dontcare
/AMPUSER/10/recording/ondemand                    : disabled
/AMPUSER/10/recording/out/external                : dontcare
/AMPUSER/10/recording/out/internal                : dontcare
/AMPUSER/10/recording/priority                    : 10
/AMPUSER/10/ringtimer                             : 0
/AMPUSER/10/voicemail                             : novm
/CALLTRACE/10                                     : 0176xxxxxxx
/CW/10                                            : ENABLED
/DEVICE/10/default_user                           : 10
/DEVICE/10/dial                                   : SIP/10
/DEVICE/10/type                                   : fixed
/DEVICE/10/user                                   : 10
/SIP/Registry/10                                  : 192.168.200.1:5060:1800:10:s


Und noch ein sip show peers:

Code:
Name/username             Host                                    Dyn Forcerport Comedia    ACL Port     Status      Description
10/10                     192.168.200.1                            D  No         No          A  5060     OK (11 ms)
623/623                   192.168.200.1                               No         No             5060     Unmonitored
fritz-box/623             192.168.200.1                               No         No             5060     OK (51 ms)
3 sip peers [Monitored: 2 online, 0 offline Unmonitored: 1 online, 0 offline]


Und hier ist core show channels und sip show channles während des Anrufes:

Code:
raspbx*CLI> core show channels
Channel              Location             State   Application(Data)
SIP/10-00000042      s@macro-dialout-trun Ring    Dial(SIP/fritz-box/623,300,Tt)
SIP/fritz-box-000000 623@from-trunk-sip-f Down    AppDial((Outgoing Line))
2 active channels
1 active call
40 calls processed


raspbx*CLI> sip show channels
Peer             User/ANR         Call ID          Format           Hold     Last Message    Expiry     Peer
192.168.200.1    10               AF9F568DC5589F6  (ulaw)           No       Rx: INVITE                 10
192.168.200.1    623              1f353a4345b7d4c  (ulaw)           No       Tx: INVITE                 fritz-box
2 active SIP dialogs
  == Spawn extension (macro-dialout-trunk, s, 23) exited non-zero on 'SIP/10-00000042' in macro 'dialout-trunk'
  == Spawn extension (from-internal, 623, 5) exited non-zero on 'SIP/10-00000042'
    -- Executing [h@from-internal:1] Macro("SIP/10-00000042", "hangupcall") in new stack
    -- Executing [s@macro-hangupcall:1] GotoIf("SIP/10-00000042", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,3)
    -- Executing [s@macro-hangupcall:3] ExecIf("SIP/10-00000042", "0?Set(CDR(recordingfile)=)") in new stack
    -- Executing [s@macro-hangupcall:4] Hangup("SIP/10-00000042", "") in new stack
  == Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'SIP/10-00000042' in macro 'hangupcall'
  == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/10-00000042'
 
Zuletzt bearbeitet:
Kostenlos!

Statistik des Forums

Themen
249,052
Beiträge
2,309,531
Mitglieder
378,850
Neuestes Mitglied
IchBinEsDoch