Berofix ISDN Gateway an Freepbx

guennie23

Neuer User
Mitglied seit
5 Nov 2015
Beiträge
10
Punkte für Reaktionen
0
Punkte
0
Hallo zusammen,
ich bekomme unser Beronet ISDN Gateway nicht ans laufen. Alle externen Anrufe sollen ausschließlich über ISDN rausgehen und natürlich reinkommen.
Installiert ist FreePBX
[FONT=open_sans]13.0.11 [/FONT]​
und das Beronet Gateway BFSBL2S0 mit aktuellster Firmware
appfs-3.0.03.tar.gz

​
Was ich bis dato gemacht habe:


1) im Gateway die Daten für den Sip Trunk hinterlegt
Beronet1.jpg







2) der Dialplan wurde von der automatischen Konfiguration angelegt
beronet2.jpg


(die Konfiguration habe ich nach dieser Anleitung von BeroNet vorgenommen)



3) in Freepbx einen Trunk angelegt
freetrunk.jpg


4) und eine Outbound Route angelegt
outb1.jpg
outbound 2.jpg


5) eine Inbound route
inound.jpg




Jemand eine Idee?? Und ja, ich bin VOIP Neuling.....


VG
 
Unabhängig davon, dass bei der Outbound-Route nicht ersichtlich wird, wie das Dialpattern aussieht:

Kannst Du mal posten, was au fer CLI passiert, wenn

- ein ausgehender Anruf gestartet wird
- ein einkommender Anruf passiert.

Parallel kannst Du mal schauen, dass Du die entsprechenden Logs auch für die beronet erzeugst.
Bevor Du das tust, kannst Du prüfen, ob sich FreePBX und die berofix kennen: (sip show peers bzw. sip show registry).

Ansonsten noch ändern (ist aber für das Grundproblem nicht relevant): Im Trunk auf der FreePBX statt canreinvite=no bitte directmedia=no verwenden.
 
Hallo,
anbei das Dial Pattern für die Outbound route
outbound 2.jpg


und

Name/username Host Dyn Forcerport Comedia ACL Port Status Description
206 (Unspecified) D Yes Yes A 0 UNKNOWN
berofix__trunk 192.168.10.49 Yes Yes 5060 Unmonitored
2 sip peers [Monitored: 0 online, 1 offline Unmonitored: 1 online, 0 offline]



UND



localhost*CLI> sip show registry
Host dnsmgr Username Refresh State Reg.Time
0 SIP registrations.
localhost*CLI>
 
Ok. Du stellst also der gewählten Nummer ausgehend eine 0 voran. Ob das so sinnvoll ist, muss man schauen, wenn Du logs von konkreten Anrufversuchen hast.
Der sip-Client (die beronet) ist auch erreichbar.
So weit so gut. Spannend ist da schon, dass das Telefon (206) nicht angemeldet ist.

Aber wie gesagt: Interessant wird jetzt, was die CLI bei einem eingehenden bzw. abgehenden Anruf anzeigt, und was in dem Moment auf der Berofix passiert.
Im Übrigen ist es natürlich auch wichtig, dass die Incoming-Settings für den Trunk stimmen.
 
das wird auf von CLi angezeigt wenn ich den Rechner starte und CLi aufrufe

asteri1.jpg

und das bei einem ausgehenden Anruf

anruf.jpg

bei eingehendem Anruf wird auf der CLi gar nichts angezeigt

die incomming settings des Trunks sind leer
 
Zuletzt bearbeitet von einem Moderator:
Ok, der erste Fehler dürfte daran liegen, dass die Konfiguration von SIP und PJSIP nicht korrekt ist. Wenn beides verwendet wird, muss sichergestellt sein, dass die Ports unterschiedlich sind. Wenn SIP auf 5061 laufen sollte, muss das die Berofix auch wissen, sie ist ja bei Dir auf SIP konfiguriert.
5061 scheint auch der Port für SIP zu sein, darauf deutet die Ausgabe im zweiten Log hin.
Insoweit bitte mal bei der Berofix im ersten Schritt die Serveradresse auf 192.168.10.40:5061 ändern (nachdem Du geprüft hast, dass SIP auch über 5061 läuft und PJSIP auf 5060 steht).
Damit man etwas mehr sieht (es gibt da auch noch ein CDR-Problem) bitte mal vor dem Testen ein core set verbose 5 machen, dann siehst Du auch den Rufablauf und nicht nur ein paar WARNINGS ...

PS: Wenn die incoming settings leer sind, ist es eher unwahrscheinlich, dass eingehende Anrufe geroutet werden können, aber wie gesagt, mach mal core set verbose 5, dann sollte etwas zu erkennen sein, soweit die berofix es denn versucht ...
 
Zuletzt bearbeitet:
Code:
[FONT=Menlo]localhost*CLI> core set verbose 5[/FONT]
[FONT=Menlo]Console verbose is still 5.[/FONT]
[FONT=Menlo]    -- Executing [001732485385@from-internal:1] [COLOR=#34bbc7][B]Macro[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "[COLOR=#d53bd3][B]user-callerid,LIMIT,EXTERNAL,[/B][/COLOR]") in new stack[/FONT]
[FONT=Menlo]    -- Executing [s@macro-user-callerid:1] [COLOR=#34bbc7][B]Set[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "[COLOR=#d53bd3][B]TOUCH_MONITOR=1448281613.30[/B][/COLOR]") in new stack[/FONT]
[FONT=Menlo]    -- Executing [s@macro-user-callerid:2] [COLOR=#34bbc7][B]Set[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "[COLOR=#d53bd3][B]AMPUSER=202[/B][/COLOR]") in new stack[/FONT]
[FONT=Menlo]    -- Executing [s@macro-user-callerid:3] [COLOR=#34bbc7][B]GotoIf[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "[COLOR=#d53bd3][B]0?report[/B][/COLOR]") in new stack[/FONT]
[FONT=Menlo]    -- Executing [s@macro-user-callerid:4] [COLOR=#34bbc7][B]ExecIf[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "[COLOR=#d53bd3][B]1?Set(REALCALLERIDNUM=202)[/B][/COLOR]") in new stack[/FONT]
[FONT=Menlo]    -- Executing [s@macro-user-callerid:5] [COLOR=#34bbc7][B]Set[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "[COLOR=#d53bd3][B]AMPUSER=202[/B][/COLOR]") in new stack[/FONT]
[FONT=Menlo]    -- Executing [s@macro-user-callerid:6] [COLOR=#34bbc7][B]GotoIf[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "[COLOR=#d53bd3][B]0?limit[/B][/COLOR]") in new stack[/FONT]
[FONT=Menlo]    -- Executing [s@macro-user-callerid:7] [COLOR=#34bbc7][B]Set[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "[COLOR=#d53bd3][B]AMPUSERCIDNAME=Andre DECT[/B][/COLOR]") in new stack[/FONT]
[FONT=Menlo]    -- Executing [s@macro-user-callerid:8] [COLOR=#34bbc7][B]GotoIf[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "[COLOR=#d53bd3][B]0?report[/B][/COLOR]") in new stack[/FONT]
[FONT=Menlo]    -- Executing [s@macro-user-callerid:9] [COLOR=#34bbc7][B]Set[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "[COLOR=#d53bd3][B]AMPUSERCID=202[/B][/COLOR]") in new stack[/FONT]
[FONT=Menlo]    -- Executing [s@macro-user-callerid:10] [COLOR=#34bbc7][B]Set[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "[COLOR=#d53bd3][B]__DIAL_OPTIONS=Ttr[/B][/COLOR]") in new stack[/FONT]
[FONT=Menlo]    -- Executing [s@macro-user-callerid:11] [COLOR=#34bbc7][B]Set[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "[COLOR=#d53bd3][B]CALLERID(all)="Andre DECT" <202>[/B][/COLOR]") in new stack[/FONT]
[FONT=Menlo]    -- Executing [s@macro-user-callerid:12] [COLOR=#34bbc7][B]GotoIf[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "[COLOR=#d53bd3][B]0?limit[/B][/COLOR]") in new stack[/FONT]
[FONT=Menlo]    -- Executing [s@macro-user-callerid:13] [COLOR=#34bbc7][B]ExecIf[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "[COLOR=#d53bd3][B]1?Set(GROUP(concurrency_limit)=202)[/B][/COLOR]") in new stack[/FONT]
[FONT=Menlo]    -- Executing [s@macro-user-callerid:14] [COLOR=#34bbc7][B]ExecIf[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "[COLOR=#d53bd3][B]0?Set(CHANNEL(language)=)[/B][/COLOR]") in new stack[/FONT]
[FONT=Menlo]    -- Executing [s@macro-user-callerid:15] [COLOR=#34bbc7][B]GotoIf[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "[COLOR=#d53bd3][B]1?continue[/B][/COLOR]") in new stack[/FONT]
[FONT=Menlo]    -- Goto (macro-user-callerid,s,29)[/FONT]
[FONT=Menlo]    -- Executing [s@macro-user-callerid:29] [COLOR=#34bbc7][B]Set[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "[COLOR=#d53bd3][B]CALLERID(number)=202[/B][/COLOR]") in new stack[/FONT]
[FONT=Menlo]    -- Executing [s@macro-user-callerid:30] [COLOR=#34bbc7][B]Set[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "[COLOR=#d53bd3][B]CALLERID(name)=Andre DECT[/B][/COLOR]") in new stack[/FONT]
[FONT=Menlo]    -- Executing [s@macro-user-callerid:31] [COLOR=#34bbc7][B]Set[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "[COLOR=#d53bd3][B]CDR(cnum)=202[/B][/COLOR]") in new stack[/FONT]
[FONT=Menlo]    -- Executing [s@macro-user-callerid:32] [COLOR=#34bbc7][B]Set[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "[COLOR=#d53bd3][B]CDR(cnam)=Andre DECT[/B][/COLOR]") in new stack[/FONT]
[FONT=Menlo]    -- Executing [s@macro-user-callerid:33] [COLOR=#34bbc7][B]Set[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "[COLOR=#d53bd3][B]CHANNEL(language)=en[/B][/COLOR]") in new stack[/FONT]
[FONT=Menlo]    -- Executing [001732485385@from-internal:2] [COLOR=#34bbc7][B]Gosub[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "[COLOR=#d53bd3][B]sub-record-check,s,1(out,001732485385,dontcare)[/B][/COLOR]") in new stack[/FONT]
[FONT=Menlo]    -- Executing [s@sub-record-check:1] [COLOR=#34bbc7][B]GotoIf[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "[COLOR=#d53bd3][B]0?initialized[/B][/COLOR]") in new stack[/FONT]
[FONT=Menlo]    -- Executing [s@sub-record-check:2] [COLOR=#34bbc7][B]Set[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "[COLOR=#d53bd3][B]__REC_STATUS=INITIALIZED[/B][/COLOR]") in new stack[/FONT]
[FONT=Menlo]    -- Executing [s@sub-record-check:3] [COLOR=#34bbc7][B]Set[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "[COLOR=#d53bd3][B]NOW=1448281613[/B][/COLOR]") in new stack[/FONT]
[FONT=Menlo]    -- Executing [s@sub-record-check:4] [COLOR=#34bbc7][B]Set[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "[COLOR=#d53bd3][B]__DAY=23[/B][/COLOR]") in new stack[/FONT]
[FONT=Menlo]    -- Executing [s@sub-record-check:5] [COLOR=#34bbc7][B]Set[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "[COLOR=#d53bd3][B]__MONTH=11[/B][/COLOR]") in new stack[/FONT]
[FONT=Menlo]    -- Executing [s@sub-record-check:6] [COLOR=#34bbc7][B]Set[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "[COLOR=#d53bd3][B]__YEAR=2015[/B][/COLOR]") in new stack[/FONT]
[FONT=Menlo]    -- Executing [s@sub-record-check:7] [COLOR=#34bbc7][B]Set[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "[COLOR=#d53bd3][B]__TIMESTR=20151123-132653[/B][/COLOR]") in new stack[/FONT]
[FONT=Menlo]    -- Executing [s@sub-record-check:8] [COLOR=#34bbc7][B]Set[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "[COLOR=#d53bd3][B]__FROMEXTEN=202[/B][/COLOR]") in new stack[/FONT]
[FONT=Menlo]    -- Executing [s@sub-record-check:9] [COLOR=#34bbc7][B]Set[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "[COLOR=#d53bd3][B]__MON_FMT=wav[/B][/COLOR]") in new stack[/FONT]
[FONT=Menlo]    -- Executing [s@sub-record-check:10] [COLOR=#34bbc7][B]NoOp[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "[COLOR=#d53bd3][B]Recordings initialized[/B][/COLOR]") in new stack[/FONT]
[FONT=Menlo]    -- Executing [s@sub-record-check:11] [COLOR=#34bbc7][B]ExecIf[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "[COLOR=#d53bd3][B]0?Set(ARG3=dontcare)[/B][/COLOR]") in new stack[/FONT]
[FONT=Menlo]    -- Executing [s@sub-record-check:12] [COLOR=#34bbc7][B]Set[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "[COLOR=#d53bd3][B]REC_POLICY_MODE_SAVE=[/B][/COLOR]") in new stack[/FONT]
[FONT=Menlo]    -- Executing [s@sub-record-check:13] [COLOR=#34bbc7][B]ExecIf[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "[COLOR=#d53bd3][B]0?Set(REC_STATUS=NO)[/B][/COLOR]") in new stack[/FONT]
[FONT=Menlo]    -- Executing [s@sub-record-check:14] [COLOR=#34bbc7][B]GotoIf[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "[COLOR=#d53bd3][B]3?checkaction[/B][/COLOR]") in new stack[/FONT]
[FONT=Menlo]    -- Goto (sub-record-check,s,17)[/FONT]
[FONT=Menlo]    -- Executing [s@sub-record-check:17] [COLOR=#34bbc7][B]GotoIf[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "[COLOR=#d53bd3][B]1?sub-record-check,out,1[/B][/COLOR]") in new stack[/FONT]
[FONT=Menlo]    -- Goto (sub-record-check,out,1)[/FONT]
[COLOR=#D53BD3][FONT=Menlo][COLOR=#000000]    -- Executing [out@sub-record-check:1] [/COLOR][COLOR=#34bbc7][B]NoOp[/B][/COLOR][COLOR=#000000]("[/COLOR][B]PJSIP/202-00000003[/B][COLOR=#000000]", "[/COLOR][B]Outbound Recording Check from 202 to 001732485385[/B][COLOR=#000000]") in new stack[/COLOR][/FONT][/COLOR]
[FONT=Menlo]    -- Executing [out@sub-record-check:2] [COLOR=#34bbc7][B]Set[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "[COLOR=#d53bd3][B]RECMODE=dontcare[/B][/COLOR]") in new stack[/FONT]
[FONT=Menlo]    -- Executing [out@sub-record-check:3] [COLOR=#34bbc7][B]ExecIf[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "[COLOR=#d53bd3][B]1?Goto(routewins)[/B][/COLOR]") in new stack[/FONT]
[FONT=Menlo]    -- Goto (sub-record-check,out,7)[/FONT]
[FONT=Menlo]    -- Executing [out@sub-record-check:7] [COLOR=#34bbc7][B]Gosub[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "[COLOR=#d53bd3][B]recordcheck,1(dontcare,out,001732485385)[/B][/COLOR]") in new stack[/FONT]
[FONT=Menlo]    -- Executing [recordcheck@sub-record-check:1] [COLOR=#34bbc7][B]NoOp[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "[COLOR=#d53bd3][B]Starting recording check against dontcare[/B][/COLOR]") in new stack[/FONT]
[FONT=Menlo]    -- Executing [recordcheck@sub-record-check:2] [COLOR=#34bbc7][B]Goto[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "[COLOR=#d53bd3][B]dontcare[/B][/COLOR]") in new stack[/FONT]
[FONT=Menlo]    -- Goto (sub-record-check,recordcheck,3)[/FONT]
[FONT=Menlo]    -- Executing [recordcheck@sub-record-check:3] [COLOR=#34bbc7][B]Return[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "") in new stack[/FONT]
[FONT=Menlo]    -- Executing [out@sub-record-check:8] [COLOR=#34bbc7][B]Return[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "") in new stack[/FONT]
[FONT=Menlo]    -- Executing [001732485385@from-internal:3] [COLOR=#34bbc7][B]ExecIf[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "[COLOR=#d53bd3][B]0 ?Set(CDR(accountcode)=)[/B][/COLOR]") in new stack[/FONT]
[FONT=Menlo]    -- Executing [001732485385@from-internal:4] [COLOR=#34bbc7][B]Set[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "[COLOR=#d53bd3][B]MOHCLASS=default[/B][/COLOR]") in new stack[/FONT]
[FONT=Menlo]    -- Executing [001732485385@from-internal:5] [COLOR=#34bbc7][B]Set[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "[COLOR=#d53bd3][B]_NODEST=[/B][/COLOR]") in new stack[/FONT]
[FONT=Menlo]    -- Executing [001732485385@from-internal:6] [COLOR=#34bbc7][B]Macro[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "[COLOR=#d53bd3][B]dialout-trunk,2,01732485385,,off[/B][/COLOR]") in new stack[/FONT]
[FONT=Menlo]    -- Executing [s@macro-dialout-trunk:1] [COLOR=#34bbc7][B]Set[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "[COLOR=#d53bd3][B]DIAL_TRUNK=2[/B][/COLOR]") in new stack[/FONT]
[FONT=Menlo]    -- Executing [s@macro-dialout-trunk:2] [COLOR=#34bbc7][B]GosubIf[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "[COLOR=#d53bd3][B]0?sub-pincheck,s,1()[/B][/COLOR]") in new stack[/FONT]
[FONT=Menlo]    -- Executing [s@macro-dialout-trunk:3] [COLOR=#34bbc7][B]GotoIf[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "[COLOR=#d53bd3][B]0?disabletrunk,1[/B][/COLOR]") in new stack[/FONT]
[FONT=Menlo]    -- Executing [s@macro-dialout-trunk:4] [COLOR=#34bbc7][B]Set[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "[COLOR=#d53bd3][B]DIAL_NUMBER=01732485385[/B][/COLOR]") in new stack[/FONT]
[FONT=Menlo]    -- Executing [s@macro-dialout-trunk:5] [COLOR=#34bbc7][B]Set[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "[COLOR=#d53bd3][B]DIAL_TRUNK_OPTIONS=Ttr[/B][/COLOR]") in new stack[/FONT]
[FONT=Menlo]    -- Executing [s@macro-dialout-trunk:6] [COLOR=#34bbc7][B]Set[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "[COLOR=#d53bd3][B]OUTBOUND_GROUP=OUT_2[/B][/COLOR]") in new stack[/FONT]
[FONT=Menlo]    -- Executing [s@macro-dialout-trunk:7] [COLOR=#34bbc7][B]GotoIf[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "[COLOR=#d53bd3][B]0?nomax[/B][/COLOR]") in new stack[/FONT]
[FONT=Menlo]    -- Executing [s@macro-dialout-trunk:8] [COLOR=#34bbc7][B]GotoIf[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "[COLOR=#d53bd3][B]0?chanfull[/B][/COLOR]") in new stack[/FONT]
[FONT=Menlo]    -- Executing [s@macro-dialout-trunk:9] [COLOR=#34bbc7][B]GotoIf[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "[COLOR=#d53bd3][B]0?skipoutcid[/B][/COLOR]") in new stack[/FONT]
[FONT=Menlo]    -- Executing [s@macro-dialout-trunk:10] [COLOR=#34bbc7][B]Set[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "[COLOR=#d53bd3][B]DIAL_TRUNK_OPTIONS=Tt[/B][/COLOR]") in new stack[/FONT]
[FONT=Menlo]    -- Executing [s@macro-dialout-trunk:11] [COLOR=#34bbc7][B]Macro[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "[COLOR=#d53bd3][B]outbound-callerid,2[/B][/COLOR]") in new stack[/FONT]
[FONT=Menlo]    -- Executing [s@macro-outbound-callerid:1] [COLOR=#34bbc7][B]ExecIf[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "[COLOR=#d53bd3][B]0?Set(CALLERPRES(name-pres)=)[/B][/COLOR]") in new stack[/FONT]
[FONT=Menlo]    -- Executing [s@macro-outbound-callerid:2] [COLOR=#34bbc7][B]ExecIf[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "[COLOR=#d53bd3][B]0?Set(CALLERPRES(num-pres)=)[/B][/COLOR]") in new stack[/FONT]
[FONT=Menlo]    -- Executing [s@macro-outbound-callerid:3] [COLOR=#34bbc7][B]ExecIf[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "[COLOR=#d53bd3][B]0?Set(REALCALLERIDNUM=202)[/B][/COLOR]") in new stack[/FONT]
[FONT=Menlo]    -- Executing [s@macro-outbound-callerid:4] [COLOR=#34bbc7][B]GotoIf[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "[COLOR=#d53bd3][B]1?normcid[/B][/COLOR]") in new stack[/FONT]
[FONT=Menlo]    -- Goto (macro-outbound-callerid,s,7)[/FONT]
[FONT=Menlo]    -- Executing [s@macro-outbound-callerid:7] [COLOR=#34bbc7][B]Set[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "[COLOR=#d53bd3][B]USEROUTCID=[/B][/COLOR]") in new stack[/FONT]
[FONT=Menlo]    -- Executing [s@macro-outbound-callerid:8] [COLOR=#34bbc7][B]Set[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "[COLOR=#d53bd3][B]EMERGENCYCID=[/B][/COLOR]") in new stack[/FONT]
[FONT=Menlo]    -- Executing [s@macro-outbound-callerid:9] [COLOR=#34bbc7][B]Set[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "[COLOR=#d53bd3][B]TRUNKOUTCID=<4232440>[/B][/COLOR]") in new stack[/FONT]
[FONT=Menlo]    -- Executing [s@macro-outbound-callerid:10] [COLOR=#34bbc7][B]GotoIf[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "[COLOR=#d53bd3][B]1?trunkcid[/B][/COLOR]") in new stack[/FONT]
[FONT=Menlo]    -- Goto (macro-outbound-callerid,s,15)[/FONT]
[FONT=Menlo]    -- Executing [s@macro-outbound-callerid:15] [COLOR=#34bbc7][B]ExecIf[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "[COLOR=#d53bd3][B]1?Set(CALLERID(all)=<4232440>)[/B][/COLOR]") in new stack[/FONT]
[FONT=Menlo]    -- Executing [s@macro-outbound-callerid:16] [COLOR=#34bbc7][B]ExecIf[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "[COLOR=#d53bd3][B]0?Set(CALLERID(all)=)[/B][/COLOR]") in new stack[/FONT]
[FONT=Menlo]    -- Executing [s@macro-outbound-callerid:17] [COLOR=#34bbc7][B]ExecIf[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "[COLOR=#d53bd3][B]0?Set(CALLERID(all)=)[/B][/COLOR]") in new stack[/FONT]
[FONT=Menlo]    -- Executing [s@macro-outbound-callerid:18] [COLOR=#34bbc7][B]ExecIf[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "[COLOR=#d53bd3][B]0?Set(CALLERPRES(name-pres)=prohib_passed_screen)[/B][/COLOR]") in new stack[/FONT]
[FONT=Menlo]    -- Executing [s@macro-outbound-callerid:19] [COLOR=#34bbc7][B]ExecIf[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "[COLOR=#d53bd3][B]0?Set(CALLERPRES(num-pres)=prohib_passed_screen)[/B][/COLOR]") in new stack[/FONT]
[FONT=Menlo]    -- Executing [s@macro-outbound-callerid:20] [COLOR=#34bbc7][B]Set[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "[COLOR=#d53bd3][B]CDR(outbound_cnum)=4232440[/B][/COLOR]") in new stack[/FONT]
[FONT=Menlo]    -- Executing [s@macro-outbound-callerid:21] [COLOR=#34bbc7][B]Set[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "[COLOR=#d53bd3][B]CDR(outbound_cnam)=[/B][/COLOR]") in new stack[/FONT]
[FONT=Menlo][2015-11-23 13:26:53] [COLOR=#c33720][B]WARNING[/B][/COLOR][2030]: [COLOR=#cbcbcb][B]func_cdr.c[/B][/COLOR]:[COLOR=#cbcbcb][B]352[/B][/COLOR] [COLOR=#cbcbcb][B]cdr_write_callback[/B][/COLOR]: CDR requires a value (CDR(variable)=value)[/FONT]
[FONT=Menlo]    -- Executing [s@macro-dialout-trunk:12] [COLOR=#34bbc7][B]GosubIf[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "[COLOR=#d53bd3][B]0?sub-flp-2,s,1()[/B][/COLOR]") in new stack[/FONT]
[FONT=Menlo]    -- Executing [s@macro-dialout-trunk:13] [COLOR=#34bbc7][B]Set[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "[COLOR=#d53bd3][B]OUTNUM=01732485385[/B][/COLOR]") in new stack[/FONT]
[FONT=Menlo]    -- Executing [s@macro-dialout-trunk:14] [COLOR=#34bbc7][B]Set[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "[COLOR=#d53bd3][B]custom=SIP/berofix__trunk[/B][/COLOR]") in new stack[/FONT]
[FONT=Menlo]    -- Executing [s@macro-dialout-trunk:15] [COLOR=#34bbc7][B]ExecIf[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "[COLOR=#d53bd3][B]0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)Tt)[/B][/COLOR]") in new stack[/FONT]
[FONT=Menlo]    -- Executing [s@macro-dialout-trunk:16] [COLOR=#34bbc7][B]ExecIf[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "[COLOR=#d53bd3][B]0?Set(DIAL_TRUNK_OPTIONS=TtM(confirm))[/B][/COLOR]") in new stack[/FONT]
[FONT=Menlo]    -- Executing [s@macro-dialout-trunk:17] [COLOR=#34bbc7][B]Macro[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "[COLOR=#d53bd3][B]dialout-trunk-predial-hook,[/B][/COLOR]") in new stack[/FONT]
[FONT=Menlo]    -- Executing [s@macro-dialout-trunk-predial-hook:1] [COLOR=#34bbc7][B]MacroExit[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "") in new stack[/FONT]
[FONT=Menlo]    -- Executing [s@macro-dialout-trunk:18] [COLOR=#34bbc7][B]GotoIf[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "[COLOR=#d53bd3][B]0?bypass,1[/B][/COLOR]") in new stack[/FONT]
[FONT=Menlo]    -- Executing [s@macro-dialout-trunk:19] [COLOR=#34bbc7][B]ExecIf[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "[COLOR=#d53bd3][B]1?Set(CONNECTEDLINE(num,i)=01732485385)[/B][/COLOR]") in new stack[/FONT]
[FONT=Menlo]    -- Executing [s@macro-dialout-trunk:20] [COLOR=#34bbc7][B]ExecIf[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "[COLOR=#d53bd3][B]1?Set(CONNECTEDLINE(name,i)=CID:4232440)[/B][/COLOR]") in new stack[/FONT]
[COLOR=#D53BD3][FONT=Menlo][COLOR=#000000]    -- Executing [s@macro-dialout-trunk:21] [/COLOR][COLOR=#34bbc7][B]ExecIf[/B][/COLOR][COLOR=#000000]("[/COLOR][B]PJSIP/202-00000003[/B][COLOR=#000000]", "[/COLOR][B]0?Set(CONNECTEDLINE(name,i)=CID:(Hidden)4232440)[/B][COLOR=#000000]") in new stack[/COLOR][/FONT][/COLOR]
[FONT=Menlo]    -- Executing [s@macro-dialout-trunk:22] [COLOR=#34bbc7][B]GotoIf[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "[COLOR=#d53bd3][B]0?customtrunk[/B][/COLOR]") in new stack[/FONT]
[FONT=Menlo]    -- Executing [s@macro-dialout-trunk:23] [COLOR=#34bbc7][B]Dial[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "[COLOR=#d53bd3][B]SIP/berofix__trunk/01732485385,300,Tt[/B][/COLOR]") in new stack[/FONT]
[FONT=Menlo]  == Using SIP RTP TOS bits 184[/FONT]
[FONT=Menlo]  == Using SIP RTP CoS mark 5[/FONT]
[FONT=Menlo]    -- Called SIP/berofix__trunk/01732485385[/FONT]
[FONT=Menlo][2015-11-23 13:27:25] [COLOR=#c33720][B]WARNING[/B][/COLOR][2065]: [COLOR=#cbcbcb][B]chan_sip.c[/B][/COLOR]:[COLOR=#cbcbcb][B]4009[/B][/COLOR] [COLOR=#cbcbcb][B]retrans_pkt[/B][/COLOR]: Retransmission timeout reached on transmission [email protected]:5061 for seqno 102 (Critical Request) -- See [URL]https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions[/URL][/FONT]
[FONT=Menlo]Packet timed out after 32000ms with no response[/FONT]
[FONT=Menlo][2015-11-23 13:27:25] [COLOR=#c33720][B]WARNING[/B][/COLOR][2065]: [COLOR=#cbcbcb][B]chan_sip.c[/B][/COLOR]:[COLOR=#cbcbcb][B]4038[/B][/COLOR] [COLOR=#cbcbcb][B]retrans_pkt[/B][/COLOR]: Hanging up call [email protected]:5061 - no reply to our critical packet (see [URL]https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions[/URL]).[/FONT]
[FONT=Menlo]  == Everyone is busy/congested at this time (1:0/0/1)[/FONT]
[COLOR=#D53BD3][FONT=Menlo][COLOR=#000000]    -- Executing [s@macro-dialout-trunk:24] [/COLOR][COLOR=#34bbc7][B]NoOp[/B][/COLOR][COLOR=#000000]("[/COLOR][B]PJSIP/202-00000003[/B][COLOR=#000000]", "[/COLOR][B]Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 18[/B][COLOR=#000000]") in new stack[/COLOR][/FONT][/COLOR]
[FONT=Menlo]    -- Executing [s@macro-dialout-trunk:25] [COLOR=#34bbc7][B]GotoIf[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "[COLOR=#d53bd3][B]0?continue,1:s-CHANUNAVAIL,1[/B][/COLOR]") in new stack[/FONT]
[FONT=Menlo]    -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)[/FONT]
[FONT=Menlo]    -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] [COLOR=#34bbc7][B]Set[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "[COLOR=#d53bd3][B]RC=18[/B][/COLOR]") in new stack[/FONT]
[FONT=Menlo]    -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:2] [COLOR=#34bbc7][B]Goto[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "[COLOR=#d53bd3][B]18,1[/B][/COLOR]") in new stack[/FONT]
[FONT=Menlo]    -- Goto (macro-dialout-trunk,18,1)[/FONT]
[FONT=Menlo]    -- Executing [18@macro-dialout-trunk:1] [COLOR=#34bbc7][B]Goto[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "[COLOR=#d53bd3][B]s-NOANSWER,1[/B][/COLOR]") in new stack[/FONT]
[FONT=Menlo]    -- Goto (macro-dialout-trunk,s-NOANSWER,1)[/FONT]
[FONT=Menlo]    -- Executing [s-NOANSWER@macro-dialout-trunk:1] [COLOR=#34bbc7][B]NoOp[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "[COLOR=#d53bd3][B]Dial failed due to trunk reporting NOANSWER - giving up[/B][/COLOR]") in new stack[/FONT]
[FONT=Menlo]    -- Executing [s-NOANSWER@macro-dialout-trunk:2] [COLOR=#34bbc7][B]Progress[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "") in new stack[/FONT]
[FONT=Menlo]    -- Executing [s-NOANSWER@macro-dialout-trunk:3] [COLOR=#34bbc7][B]Playback[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "[COLOR=#d53bd3][B]number-not-answering,noanswer[/B][/COLOR]") in new stack[/FONT]
[FONT=Menlo]    -- <PJSIP/202-00000003> Playing 'number-not-answering.ulaw' (language 'en')[/FONT]
[FONT=Menlo]       > 0x7f780c00e050 -- Probation passed - setting RTP source address to 192.168.10.45:50010[/FONT]
[FONT=Menlo]    -- Executing [s-NOANSWER@macro-dialout-trunk:4] [COLOR=#34bbc7][B]Congestion[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "[COLOR=#d53bd3][B]20[/B][/COLOR]") in new stack[/FONT]
[FONT=Menlo]  == Spawn extension (macro-dialout-trunk, s-NOANSWER, 4) exited non-zero on 'PJSIP/202-00000003' in macro 'dialout-trunk'[/FONT]
[FONT=Menlo]  == Spawn extension (from-internal, 001732485385, 6) exited non-zero on 'PJSIP/202-00000003'[/FONT]
[FONT=Menlo]    -- Executing [h@from-internal:1] [COLOR=#34bbc7][B]Hangup[/B][/COLOR]("[COLOR=#d53bd3][B]PJSIP/202-00000003[/B][/COLOR]", "") in new stack[/FONT]
[FONT=Menlo]  == Spawn extension (from-internal, h, 1) exited non-zero on 'PJSIP/202-00000003'[/FONT]
[FONT=Menlo]localhost*CLI>
 [/FONT]
 
Zuletzt bearbeitet:
So, jetzt sehen wir was (bitte das nächste mal CodeTags verwenden):

Called SIP/berofix__trunk/01732485385

Das bedeutet: FreePBX setzt den Call an die berofix ab, allerdings mit __, ich meine Du hättest es konfiguriert als berofix_trunk.
Nachfolgend siehst Du auch, dass der Dial.-Befehl (respektive das damit verbundene SIP-INVITE) nicht beantwortet wird:

[2015-11-23 13:27:25] WARNING[2065]: chan_sip.c:4009 retrans_pkt: Retransmission timeout reached on transmission [email protected]:506 1 for seqno 102 (Critical Request) -- See https://wiki.asterisk.org/wiki/displ...etransmissions
Packet timed out after 32000ms with no response

Also im ersten Schritt mal kontrollieren, ob die Trunk-Konfiguration zur Outbound-Route passt und dann schauen - allenfalls mit sip set debug on , wohin die Pakete geschickt werden und - falls sie zur beronet gehen, auf dieser schauen ob sie ankommen und eine Antwort gesendet wird.
 
....also an dieser Stelle erst einmal vielen Dank für Deine geduldige Hilfe.

Ich habe jetzt den Namen des Trunks angepasst in "berofixtrunk".
Einen Teilerfolg gibt es: das Handy klingelt :-)
Allerdings hört man nichts, soll heißen ein Gepräch ist nicht möglich. Nach einiger Zeit habe ich aufgelegt.

Anbei die aktualisierte CLI

Code:
Console verbose was OFF and is now 5.
    -- Executing [001732485385@from-internal:1] Macro("PJSIP/202-00000007", "user-callerid,LIMIT,EXTERNAL,") in new stack
    -- Executing [s@macro-user-callerid:1] Set("PJSIP/202-00000007", "TOUCH_MONITOR=1448283615.70") in new stack
    -- Executing [s@macro-user-callerid:2] Set("PJSIP/202-00000007", "AMPUSER=202") in new stack
    -- Executing [s@macro-user-callerid:3] GotoIf("PJSIP/202-00000007", "0?report") in new stack
    -- Executing [s@macro-user-callerid:4] ExecIf("PJSIP/202-00000007", "1?Set(REALCALLERIDNUM=202)") in new stack
    -- Executing [s@macro-user-callerid:5] Set("PJSIP/202-00000007", "AMPUSER=202") in new stack
    -- Executing [s@macro-user-callerid:6] GotoIf("PJSIP/202-00000007", "0?limit") in new stack
    -- Executing [s@macro-user-callerid:7] Set("PJSIP/202-00000007", "AMPUSERCIDNAME=Andre DECT") in new stack
    -- Executing [s@macro-user-callerid:8] GotoIf("PJSIP/202-00000007", "0?report") in new stack
    -- Executing [s@macro-user-callerid:9] Set("PJSIP/202-00000007", "AMPUSERCID=202") in new stack
    -- Executing [s@macro-user-callerid:10] Set("PJSIP/202-00000007", "__DIAL_OPTIONS=Ttr") in new stack
    -- Executing [s@macro-user-callerid:11] Set("PJSIP/202-00000007", "CALLERID(all)="Andre DECT" <202>") in new stack
    -- Executing [s@macro-user-callerid:12] GotoIf("PJSIP/202-00000007", "0?limit") in new stack
    -- Executing [s@macro-user-callerid:13] ExecIf("PJSIP/202-00000007", "1?Set(GROUP(concurrency_limit)=202)") in new stack
    -- Executing [s@macro-user-callerid:14] ExecIf("PJSIP/202-00000007", "0?Set(CHANNEL(language)=)") in new stack
    -- Executing [s@macro-user-callerid:15] GotoIf("PJSIP/202-00000007", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,29)
    -- Executing [s@macro-user-callerid:29] Set("PJSIP/202-00000007", "CALLERID(number)=202") in new stack
    -- Executing [s@macro-user-callerid:30] Set("PJSIP/202-00000007", "CALLERID(name)=Andre DECT") in new stack
    -- Executing [s@macro-user-callerid:31] Set("PJSIP/202-00000007", "CDR(cnum)=202") in new stack
    -- Executing [s@macro-user-callerid:32] Set("PJSIP/202-00000007", "CDR(cnam)=Andre DECT") in new stack
    -- Executing [s@macro-user-callerid:33] Set("PJSIP/202-00000007", "CHANNEL(language)=en") in new stack
    -- Executing [001732485385@from-internal:2] Gosub("PJSIP/202-00000007", "sub-record-check,s,1(out,001732485385,dontcare)") in new stack
    -- Executing [s@sub-record-check:1] GotoIf("PJSIP/202-00000007", "0?initialized") in new stack
    -- Executing [s@sub-record-check:2] Set("PJSIP/202-00000007", "__REC_STATUS=INITIALIZED") in new stack
    -- Executing [s@sub-record-check:3] Set("PJSIP/202-00000007", "NOW=1448283615") in new stack
    -- Executing [s@sub-record-check:4] Set("PJSIP/202-00000007", "__DAY=23") in new stack
    -- Executing [s@sub-record-check:5] Set("PJSIP/202-00000007", "__MONTH=11") in new stack
    -- Executing [s@sub-record-check:6] Set("PJSIP/202-00000007", "__YEAR=2015") in new stack
    -- Executing [s@sub-record-check:7] Set("PJSIP/202-00000007", "__TIMESTR=20151123-140015") in new stack
    -- Executing [s@sub-record-check:8] Set("PJSIP/202-00000007", "__FROMEXTEN=202") in new stack
    -- Executing [s@sub-record-check:9] Set("PJSIP/202-00000007", "__MON_FMT=wav") in new stack
    -- Executing [s@sub-record-check:10] NoOp("PJSIP/202-00000007", "Recordings initialized") in new stack
    -- Executing [s@sub-record-check:11] ExecIf("PJSIP/202-00000007", "0?Set(ARG3=dontcare)") in new stack
    -- Executing [s@sub-record-check:12] Set("PJSIP/202-00000007", "REC_POLICY_MODE_SAVE=") in new stack
    -- Executing [s@sub-record-check:13] ExecIf("PJSIP/202-00000007", "0?Set(REC_STATUS=NO)") in new stack
    -- Executing [s@sub-record-check:14] GotoIf("PJSIP/202-00000007", "3?checkaction") in new stack
    -- Goto (sub-record-check,s,17)
    -- Executing [s@sub-record-check:17] GotoIf("PJSIP/202-00000007", "1?sub-record-check,out,1") in new stack
    -- Goto (sub-record-check,out,1)
    -- Executing [out@sub-record-check:1] NoOp("PJSIP/202-00000007", "Outbound Recording Check from 202 to 001732485385") in new stack
    -- Executing [out@sub-record-check:2] Set("PJSIP/202-00000007", "RECMODE=dontcare") in new stack
    -- Executing [out@sub-record-check:3] ExecIf("PJSIP/202-00000007", "1?Goto(routewins)") in new stack
    -- Goto (sub-record-check,out,7)
    -- Executing [out@sub-record-check:7] Gosub("PJSIP/202-00000007", "recordcheck,1(dontcare,out,001732485385)") in new stack
    -- Executing [recordcheck@sub-record-check:1] NoOp("PJSIP/202-00000007", "Starting recording check against dontcare") in new stack
    -- Executing [recordcheck@sub-record-check:2] Goto("PJSIP/202-00000007", "dontcare") in new stack
    -- Goto (sub-record-check,recordcheck,3)
    -- Executing [recordcheck@sub-record-check:3] Return("PJSIP/202-00000007", "") in new stack
    -- Executing [out@sub-record-check:8] Return("PJSIP/202-00000007", "") in new stack
    -- Executing [001732485385@from-internal:3] ExecIf("PJSIP/202-00000007", "0 ?Set(CDR(accountcode)=)") in new stack
    -- Executing [001732485385@from-internal:4] Set("PJSIP/202-00000007", "MOHCLASS=default") in new stack
    -- Executing [001732485385@from-internal:5] Set("PJSIP/202-00000007", "_NODEST=") in new stack
    -- Executing [001732485385@from-internal:6] Macro("PJSIP/202-00000007", "dialout-trunk,2,01732485385,,off") in new stack
    -- Executing [s@macro-dialout-trunk:1] Set("PJSIP/202-00000007", "DIAL_TRUNK=2") in new stack
    -- Executing [s@macro-dialout-trunk:2] GosubIf("PJSIP/202-00000007", "0?sub-pincheck,s,1()") in new stack
    -- Executing [s@macro-dialout-trunk:3] GotoIf("PJSIP/202-00000007", "0?disabletrunk,1") in new stack
    -- Executing [s@macro-dialout-trunk:4] Set("PJSIP/202-00000007", "DIAL_NUMBER=01732485385") in new stack
    -- Executing [s@macro-dialout-trunk:5] Set("PJSIP/202-00000007", "DIAL_TRUNK_OPTIONS=Ttr") in new stack
    -- Executing [s@macro-dialout-trunk:6] Set("PJSIP/202-00000007", "OUTBOUND_GROUP=OUT_2") in new stack
    -- Executing [s@macro-dialout-trunk:7] GotoIf("PJSIP/202-00000007", "0?nomax") in new stack
    -- Executing [s@macro-dialout-trunk:8] GotoIf("PJSIP/202-00000007", "0?chanfull") in new stack
    -- Executing [s@macro-dialout-trunk:9] GotoIf("PJSIP/202-00000007", "0?skipoutcid") in new stack
    -- Executing [s@macro-dialout-trunk:10] Set("PJSIP/202-00000007", "DIAL_TRUNK_OPTIONS=Tt") in new stack
    -- Executing [s@macro-dialout-trunk:11] Macro("PJSIP/202-00000007", "outbound-callerid,2") in new stack
    -- Executing [s@macro-outbound-callerid:1] ExecIf("PJSIP/202-00000007", "0?Set(CALLERPRES(name-pres)=)") in new stack
    -- Executing [s@macro-outbound-callerid:2] ExecIf("PJSIP/202-00000007", "0?Set(CALLERPRES(num-pres)=)") in new stack
    -- Executing [s@macro-outbound-callerid:3] ExecIf("PJSIP/202-00000007", "0?Set(REALCALLERIDNUM=202)") in new stack
    -- Executing [s@macro-outbound-callerid:4] GotoIf("PJSIP/202-00000007", "1?normcid") in new stack
    -- Goto (macro-outbound-callerid,s,7)
    -- Executing [s@macro-outbound-callerid:7] Set("PJSIP/202-00000007", "USEROUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:8] Set("PJSIP/202-00000007", "EMERGENCYCID=") in new stack
    -- Executing [s@macro-outbound-callerid:9] Set("PJSIP/202-00000007", "TRUNKOUTCID=<4232440>") in new stack
    -- Executing [s@macro-outbound-callerid:10] GotoIf("PJSIP/202-00000007", "1?trunkcid") in new stack
    -- Goto (macro-outbound-callerid,s,15)
    -- Executing [s@macro-outbound-callerid:15] ExecIf("PJSIP/202-00000007", "1?Set(CALLERID(all)=<4232440>)") in new stack
    -- Executing [s@macro-outbound-callerid:16] ExecIf("PJSIP/202-00000007", "0?Set(CALLERID(all)=)") in new stack
    -- Executing [s@macro-outbound-callerid:17] ExecIf("PJSIP/202-00000007", "0?Set(CALLERID(all)=)") in new stack
    -- Executing [s@macro-outbound-callerid:18] ExecIf("PJSIP/202-00000007", "0?Set(CALLERPRES(name-pres)=prohib_passed_screen)") in new stack
    -- Executing [s@macro-outbound-callerid:19] ExecIf("PJSIP/202-00000007", "0?Set(CALLERPRES(num-pres)=prohib_passed_screen)") in new stack
    -- Executing [s@macro-outbound-callerid:20] Set("PJSIP/202-00000007", "CDR(outbound_cnum)=4232440") in new stack
    -- Executing [s@macro-outbound-callerid:21] Set("PJSIP/202-00000007", "CDR(outbound_cnam)=") in new stack
[2015-11-23 14:00:15] WARNING[2030]: func_cdr.c:352 cdr_write_callback: CDR requires a value (CDR(variable)=value)
    -- Executing [s@macro-dialout-trunk:12] GosubIf("PJSIP/202-00000007", "0?sub-flp-2,s,1()") in new stack
    -- Executing [s@macro-dialout-trunk:13] Set("PJSIP/202-00000007", "OUTNUM=01732485385") in new stack
    -- Executing [s@macro-dialout-trunk:14] Set("PJSIP/202-00000007", "custom=SIP/berofixtrunk") in new stack
    -- Executing [s@macro-dialout-trunk:15] ExecIf("PJSIP/202-00000007", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)Tt)") in new stack
    -- Executing [s@macro-dialout-trunk:16] ExecIf("PJSIP/202-00000007", "0?Set(DIAL_TRUNK_OPTIONS=TtM(confirm))") in new stack
    -- Executing [s@macro-dialout-trunk:17] Macro("PJSIP/202-00000007", "dialout-trunk-predial-hook,") in new stack
    -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("PJSIP/202-00000007", "") in new stack
    -- Executing [s@macro-dialout-trunk:18] GotoIf("PJSIP/202-00000007", "0?bypass,1") in new stack
    -- Executing [s@macro-dialout-trunk:19] ExecIf("PJSIP/202-00000007", "1?Set(CONNECTEDLINE(num,i)=01732485385)") in new stack
    -- Executing [s@macro-dialout-trunk:20] ExecIf("PJSIP/202-00000007", "1?Set(CONNECTEDLINE(name,i)=CID:4232440)") in new stack
    -- Executing [s@macro-dialout-trunk:21] ExecIf("PJSIP/202-00000007", "0?Set(CONNECTEDLINE(name,i)=CID:(Hidden)4232440)") in new stack
    -- Executing [s@macro-dialout-trunk:22] GotoIf("PJSIP/202-00000007", "0?customtrunk") in new stack
    -- Executing [s@macro-dialout-trunk:23] Dial("PJSIP/202-00000007", "SIP/berofixtrunk/01732485385,300,Tt") in new stack
  == Using SIP RTP TOS bits 184
  == Using SIP RTP CoS mark 5
    -- Called SIP/berofixtrunk/01732485385
  == Spawn extension (macro-dialout-trunk, s, 23) exited non-zero on 'PJSIP/202-00000007' in macro 'dialout-trunk'
  == Spawn extension (from-internal, 001732485385, 6) exited non-zero on 'PJSIP/202-00000007'
    -- Executing [h@from-internal:1] Hangup("PJSIP/202-00000007", "") in new stack
  == Spawn extension (from-internal, h, 1) exited non-zero on 'PJSIP/202-00000007'
[2015-11-23 14:00:47] WARNING[2065]: chan_sip.c:4009 retrans_pkt: Retransmission timeout reached on transmission [email protected]:5061 for seqno 102 (Critical Request) -- See https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions
Packet timed out after 31999ms with no response
localhost*CLI>
 
Zuletzt bearbeitet:
Das nichts hören ist eine Problematik hinsichtlich NAT und reinvite.
Wichtig ist, dass das canreinvite rausfliegt und directmedia=no gesetzt wird im berofix-trunk.
Anschliessend kannst Du nochmals testen und allenfalls ein rtp set debug on anwerfen, falls noch immer kein Ton da wäre.

[2015-11-23 14:00:47] WARNING[2065]: chan_sip.c:4009 retrans_pkt: Retransmission timeout reached on transmission [email protected]:5061 for seqno 102 (Critical Request) -- See https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions
Packet timed out after 31999ms with no response

Das deutet allerdings darauf hin, dass noch immer ein sip-Problem besteht, entweder Richtung Telefon oder Richtung beronet, weil die Ports ggf. nicht stimmen.
 
Zuletzt bearbeitet:
Das habe ich schon zu Anfang nach Deinem Hinweis gemacht, sorry habe ich vergessen zu posten
Berofix ist auf Port 5061 gesetzt.

bero1.jpg

hier der Log des rtp set

Code:
[/FONT]
[FONT=Menlo]Connected to Asterisk 13.5.0 currently running on localhost (pid = 2014)[/FONT]
[FONT=Menlo]localhost*CLI> rtp set debug on[/FONT]
[FONT=Menlo]RTP Debugging Enabled[/FONT]
[FONT=Menlo][2015-11-23 14:28:17] [COLOR=#c33720][B]WARNING[/B][/COLOR][2030]: [COLOR=#cbcbcb][B]func_cdr.c[/B][/COLOR]:[COLOR=#cbcbcb][B]352[/B][/COLOR] [COLOR=#cbcbcb][B]cdr_write_callback[/B][/COLOR]: CDR requires a value (CDR(variable)=value)[/FONT]
[FONT=Menlo][2015-11-23 14:28:49] [COLOR=#c33720][B]WARNING[/B][/COLOR][2065]: [COLOR=#cbcbcb][B]chan_sip.c[/B][/COLOR]:[COLOR=#cbcbcb][B]4009[/B][/COLOR] [COLOR=#cbcbcb][B]retrans_pkt[/B][/COLOR]: Retransmission timeout reached on transmission [email protected]:5061 for seqno 102 (Critical Request) -- See https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions[/FONT]
[FONT=Menlo]Packet timed out after 32000ms with no response



 
Zuletzt bearbeitet von einem Moderator:
[2015-11-23 14:28:49] WARNING[2065]: chan_sip.c:4009 retrans_pkt: Retransmission timeout reached on transmission [email protected]:5061 for seqno 102 (Critical Request) -- See https://wiki.asterisk.org/wiki/display/AST/SIP+Retransmissions
Packet timed out after 32000ms with no response

gibt es hier noch immer. Wenn die Quelle dafür gefunden wird, ist auch der Ton da.
Mach doch mal ein sip set debug on in Verbindung mit core set verbose 5 dann sollte man mal sehen, welche Pakete konkret verschickt werden und was da noch nicht passt.
 
Die Verbinddung kommt zu Stande, also es klingelt und man kann abheben, es gibt aber kein Audio. Am Ende habe ich das "Gespräch" dann unterbrochen


Code:
=========================================================================
Connected to Asterisk 13.5.0 currently running on localhost (pid = 2014)
localhost*CLI> core set verbose 5
Console verbose was OFF and is now 5.
localhost*CLI> sip set debug on
SIP Debugging re-enabled
    -- Executing [001732485385@from-internal:1] Macro("PJSIP/202-00000011", "user-callerid,LIMIT,EXTERNAL,") in new stack
    -- Executing [s@macro-user-callerid:1] Set("PJSIP/202-00000011", "TOUCH_MONITOR=1448295358.170") in new stack
    -- Executing [s@macro-user-callerid:2] Set("PJSIP/202-00000011", "AMPUSER=202") in new stack
    -- Executing [s@macro-user-callerid:3] GotoIf("PJSIP/202-00000011", "0?report") in new stack
    -- Executing [s@macro-user-callerid:4] ExecIf("PJSIP/202-00000011", "1?Set(REALCALLERIDNUM=202)") in new stack
    -- Executing [s@macro-user-callerid:5] Set("PJSIP/202-00000011", "AMPUSER=202") in new stack
    -- Executing [s@macro-user-callerid:6] GotoIf("PJSIP/202-00000011", "0?limit") in new stack
    -- Executing [s@macro-user-callerid:7] Set("PJSIP/202-00000011", "AMPUSERCIDNAME=Andre DECT") in new stack
    -- Executing [s@macro-user-callerid:8] GotoIf("PJSIP/202-00000011", "0?report") in new stack
    -- Executing [s@macro-user-callerid:9] Set("PJSIP/202-00000011", "AMPUSERCID=202") in new stack
    -- Executing [s@macro-user-callerid:10] Set("PJSIP/202-00000011", "__DIAL_OPTIONS=Ttr") in new stack
    -- Executing [s@macro-user-callerid:11] Set("PJSIP/202-00000011", "CALLERID(all)="Andre DECT" <202>") in new stack
    -- Executing [s@macro-user-callerid:12] GotoIf("PJSIP/202-00000011", "0?limit") in new stack
    -- Executing [s@macro-user-callerid:13] ExecIf("PJSIP/202-00000011", "1?Set(GROUP(concurrency_limit)=202)") in new stack
    -- Executing [s@macro-user-callerid:14] ExecIf("PJSIP/202-00000011", "0?Set(CHANNEL(language)=)") in new stack
    -- Executing [s@macro-user-callerid:15] GotoIf("PJSIP/202-00000011", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,29)
    -- Executing [s@macro-user-callerid:29] Set("PJSIP/202-00000011", "CALLERID(number)=202") in new stack
    -- Executing [s@macro-user-callerid:30] Set("PJSIP/202-00000011", "CALLERID(name)=Andre DECT") in new stack
    -- Executing [s@macro-user-callerid:31] Set("PJSIP/202-00000011", "CDR(cnum)=202") in new stack
    -- Executing [s@macro-user-callerid:32] Set("PJSIP/202-00000011", "CDR(cnam)=Andre DECT") in new stack
    -- Executing [s@macro-user-callerid:33] Set("PJSIP/202-00000011", "CHANNEL(language)=en") in new stack
    -- Executing [001732485385@from-internal:2] Gosub("PJSIP/202-00000011", "sub-record-check,s,1(out,001732485385,dontcare)") in new stack
    -- Executing [s@sub-record-check:1] GotoIf("PJSIP/202-00000011", "0?initialized") in new stack
    -- Executing [s@sub-record-check:2] Set("PJSIP/202-00000011", "__REC_STATUS=INITIALIZED") in new stack
    -- Executing [s@sub-record-check:3] Set("PJSIP/202-00000011", "NOW=1448295358") in new stack
    -- Executing [s@sub-record-check:4] Set("PJSIP/202-00000011", "__DAY=23") in new stack
    -- Executing [s@sub-record-check:5] Set("PJSIP/202-00000011", "__MONTH=11") in new stack
    -- Executing [s@sub-record-check:6] Set("PJSIP/202-00000011", "__YEAR=2015") in new stack
    -- Executing [s@sub-record-check:7] Set("PJSIP/202-00000011", "__TIMESTR=20151123-171558") in new stack
    -- Executing [s@sub-record-check:8] Set("PJSIP/202-00000011", "__FROMEXTEN=202") in new stack
    -- Executing [s@sub-record-check:9] Set("PJSIP/202-00000011", "__MON_FMT=wav") in new stack
    -- Executing [s@sub-record-check:10] NoOp("PJSIP/202-00000011", "Recordings initialized") in new stack
    -- Executing [s@sub-record-check:11] ExecIf("PJSIP/202-00000011", "0?Set(ARG3=dontcare)") in new stack
    -- Executing [s@sub-record-check:12] Set("PJSIP/202-00000011", "REC_POLICY_MODE_SAVE=") in new stack
    -- Executing [s@sub-record-check:13] ExecIf("PJSIP/202-00000011", "0?Set(REC_STATUS=NO)") in new stack
    -- Executing [s@sub-record-check:14] GotoIf("PJSIP/202-00000011", "3?checkaction") in new stack
    -- Goto (sub-record-check,s,17)
    -- Executing [s@sub-record-check:17] GotoIf("PJSIP/202-00000011", "1?sub-record-check,out,1") in new stack
    -- Goto (sub-record-check,out,1)
    -- Executing [out@sub-record-check:1] NoOp("PJSIP/202-00000011", "Outbound Recording Check from 202 to 001732485385") in new stack
    -- Executing [out@sub-record-check:2] Set("PJSIP/202-00000011", "RECMODE=dontcare") in new stack
    -- Executing [out@sub-record-check:3] ExecIf("PJSIP/202-00000011", "1?Goto(routewins)") in new stack
    -- Goto (sub-record-check,out,7)
    -- Executing [out@sub-record-check:7] Gosub("PJSIP/202-00000011", "recordcheck,1(dontcare,out,001732485385)") in new stack
    -- Executing [recordcheck@sub-record-check:1] NoOp("PJSIP/202-00000011", "Starting recording check against dontcare") in new stack
    -- Executing [recordcheck@sub-record-check:2] Goto("PJSIP/202-00000011", "dontcare") in new stack
    -- Goto (sub-record-check,recordcheck,3)
    -- Executing [recordcheck@sub-record-check:3] Return("PJSIP/202-00000011", "") in new stack
    -- Executing [out@sub-record-check:8] Return("PJSIP/202-00000011", "") in new stack
    -- Executing [001732485385@from-internal:3] ExecIf("PJSIP/202-00000011", "0 ?Set(CDR(accountcode)=)") in new stack
    -- Executing [001732485385@from-internal:4] Set("PJSIP/202-00000011", "MOHCLASS=default") in new stack
    -- Executing [001732485385@from-internal:5] Set("PJSIP/202-00000011", "_NODEST=") in new stack
    -- Executing [001732485385@from-internal:6] Macro("PJSIP/202-00000011", "dialout-trunk,2,01732485385,,off") in new stack
    -- Executing [s@macro-dialout-trunk:1] Set("PJSIP/202-00000011", "DIAL_TRUNK=2") in new stack
    -- Executing [s@macro-dialout-trunk:2] GosubIf("PJSIP/202-00000011", "0?sub-pincheck,s,1()") in new stack
    -- Executing [s@macro-dialout-trunk:3] GotoIf("PJSIP/202-00000011", "0?disabletrunk,1") in new stack
    -- Executing [s@macro-dialout-trunk:4] Set("PJSIP/202-00000011", "DIAL_NUMBER=01732485385") in new stack
    -- Executing [s@macro-dialout-trunk:5] Set("PJSIP/202-00000011", "DIAL_TRUNK_OPTIONS=Ttr") in new stack
    -- Executing [s@macro-dialout-trunk:6] Set("PJSIP/202-00000011", "OUTBOUND_GROUP=OUT_2") in new stack
    -- Executing [s@macro-dialout-trunk:7] GotoIf("PJSIP/202-00000011", "0?nomax") in new stack
    -- Executing [s@macro-dialout-trunk:8] GotoIf("PJSIP/202-00000011", "0?chanfull") in new stack
    -- Executing [s@macro-dialout-trunk:9] GotoIf("PJSIP/202-00000011", "0?skipoutcid") in new stack
    -- Executing [s@macro-dialout-trunk:10] Set("PJSIP/202-00000011", "DIAL_TRUNK_OPTIONS=Tt") in new stack
    -- Executing [s@macro-dialout-trunk:11] Macro("PJSIP/202-00000011", "outbound-callerid,2") in new stack
    -- Executing [s@macro-outbound-callerid:1] ExecIf("PJSIP/202-00000011", "0?Set(CALLERPRES(name-pres)=)") in new stack
    -- Executing [s@macro-outbound-callerid:2] ExecIf("PJSIP/202-00000011", "0?Set(CALLERPRES(num-pres)=)") in new stack
    -- Executing [s@macro-outbound-callerid:3] ExecIf("PJSIP/202-00000011", "0?Set(REALCALLERIDNUM=202)") in new stack
    -- Executing [s@macro-outbound-callerid:4] GotoIf("PJSIP/202-00000011", "1?normcid") in new stack
    -- Goto (macro-outbound-callerid,s,7)
    -- Executing [s@macro-outbound-callerid:7] Set("PJSIP/202-00000011", "USEROUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:8] Set("PJSIP/202-00000011", "EMERGENCYCID=") in new stack
    -- Executing [s@macro-outbound-callerid:9] Set("PJSIP/202-00000011", "TRUNKOUTCID=<4232440>") in new stack
    -- Executing [s@macro-outbound-callerid:10] GotoIf("PJSIP/202-00000011", "1?trunkcid") in new stack
    -- Goto (macro-outbound-callerid,s,15)
    -- Executing [s@macro-outbound-callerid:15] ExecIf("PJSIP/202-00000011", "1?Set(CALLERID(all)=<4232440>)") in new stack
    -- Executing [s@macro-outbound-callerid:16] ExecIf("PJSIP/202-00000011", "0?Set(CALLERID(all)=)") in new stack
    -- Executing [s@macro-outbound-callerid:17] ExecIf("PJSIP/202-00000011", "0?Set(CALLERID(all)=)") in new stack
    -- Executing [s@macro-outbound-callerid:18] ExecIf("PJSIP/202-00000011", "0?Set(CALLERPRES(name-pres)=prohib_passed_screen)") in new stack
    -- Executing [s@macro-outbound-callerid:19] ExecIf("PJSIP/202-00000011", "0?Set(CALLERPRES(num-pres)=prohib_passed_screen)") in new stack
    -- Executing [s@macro-outbound-callerid:20] Set("PJSIP/202-00000011", "CDR(outbound_cnum)=4232440") in new stack
    -- Executing [s@macro-outbound-callerid:21] Set("PJSIP/202-00000011", "CDR(outbound_cnam)=") in new stack
[2015-11-23 17:15:58] WARNING[2030]: func_cdr.c:352 cdr_write_callback: CDR requires a value (CDR(variable)=value)
    -- Executing [s@macro-dialout-trunk:12] GosubIf("PJSIP/202-00000011", "0?sub-flp-2,s,1()") in new stack
    -- Executing [s@macro-dialout-trunk:13] Set("PJSIP/202-00000011", "OUTNUM=01732485385") in new stack
    -- Executing [s@macro-dialout-trunk:14] Set("PJSIP/202-00000011", "custom=SIP/berofixtrunk") in new stack
    -- Executing [s@macro-dialout-trunk:15] ExecIf("PJSIP/202-00000011", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)Tt)") in new stack
    -- Executing [s@macro-dialout-trunk:16] ExecIf("PJSIP/202-00000011", "0?Set(DIAL_TRUNK_OPTIONS=TtM(confirm))") in new stack
    -- Executing [s@macro-dialout-trunk:17] Macro("PJSIP/202-00000011", "dialout-trunk-predial-hook,") in new stack
    -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("PJSIP/202-00000011", "") in new stack
    -- Executing [s@macro-dialout-trunk:18] GotoIf("PJSIP/202-00000011", "0?bypass,1") in new stack
    -- Executing [s@macro-dialout-trunk:19] ExecIf("PJSIP/202-00000011", "1?Set(CONNECTEDLINE(num,i)=01732485385)") in new stack
    -- Executing [s@macro-dialout-trunk:20] ExecIf("PJSIP/202-00000011", "1?Set(CONNECTEDLINE(name,i)=CID:4232440)") in new stack
    -- Executing [s@macro-dialout-trunk:21] ExecIf("PJSIP/202-00000011", "0?Set(CONNECTEDLINE(name,i)=CID:(Hidden)4232440)") in new stack
    -- Executing [s@macro-dialout-trunk:22] GotoIf("PJSIP/202-00000011", "0?customtrunk") in new stack
    -- Executing [s@macro-dialout-trunk:23] Dial("PJSIP/202-00000011", "SIP/berofixtrunk/01732485385,300,Tt") in new stack
  == Using SIP RTP TOS bits 184
  == Using SIP RTP CoS mark 5
Audio is at 10128
Adding codec alaw to SDP
Adding non-codec 0x1 (telephone-event) to SDP
Reliably Transmitting (NAT) to 192.168.10.49:5060:
INVITE sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 192.168.10.40:5061;branch=z9hG4bK15469e7a;rport
Max-Forwards: 70
From: <sip:[email protected]:5061>;tag=as45917ca0
To: <sip:[email protected]>
Contact: <sip:[email protected]:5061>
Call-ID: [email protected]:5061
CSeq: 102 INVITE
User-Agent: FPBX-13.0.11(13.5.0)
Date: Mon, 23 Nov 2015 16:15:58 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Type: application/sdp
Content-Length: 251


v=0
o=root 221954213 221954213 IN IP4 192.168.10.40
s=Asterisk PBX 13.5.0
c=IN IP4 192.168.10.40
t=0 0
m=audio 10128 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=maxptime:150
a=sendrecv


---
    -- Called SIP/berofixtrunk/01732485385
Retransmitting #1 (NAT) to 192.168.10.49:5060:
INVITE sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 192.168.10.40:5061;branch=z9hG4bK15469e7a;rport
Max-Forwards: 70
From: <sip:[email protected]:5061>;tag=as45917ca0
To: <sip:[email protected]>
Contact: <sip:[email protected]:5061>
Call-ID: [email protected]:5061
CSeq: 102 INVITE
User-Agent: FPBX-13.0.11(13.5.0)
Date: Mon, 23 Nov 2015 16:15:58 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Type: application/sdp
Content-Length: 251


v=0
o=root 221954213 221954213 IN IP4 192.168.10.40
s=Asterisk PBX 13.5.0
c=IN IP4 192.168.10.40
t=0 0
m=audio 10128 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=maxptime:150
a=sendrecv


---
Retransmitting #2 (NAT) to 192.168.10.49:5060:
INVITE sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 192.168.10.40:5061;branch=z9hG4bK15469e7a;rport
Max-Forwards: 70
From: <sip:[email protected]:5061>;tag=as45917ca0
To: <sip:[email protected]>
Contact: <sip:[email protected]:5061>
Call-ID: [email protected]:5061
CSeq: 102 INVITE
User-Agent: FPBX-13.0.11(13.5.0)
Date: Mon, 23 Nov 2015 16:15:58 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Type: application/sdp
Content-Length: 251


v=0
o=root 221954213 221954213 IN IP4 192.168.10.40
s=Asterisk PBX 13.5.0
c=IN IP4 192.168.10.40
t=0 0
m=audio 10128 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=maxptime:150
a=sendrecv


---
Retransmitting #3 (NAT) to 192.168.10.49:5060:
INVITE sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 192.168.10.40:5061;branch=z9hG4bK15469e7a;rport
Max-Forwards: 70
From: <sip:[email protected]:5061>;tag=as45917ca0
To: <sip:[email protected]>
Contact: <sip:[email protected]:5061>
Call-ID: [email protected]:5061
CSeq: 102 INVITE
User-Agent: FPBX-13.0.11(13.5.0)
Date: Mon, 23 Nov 2015 16:15:58 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Type: application/sdp
Content-Length: 251


v=0
o=root 221954213 221954213 IN IP4 192.168.10.40
s=Asterisk PBX 13.5.0
c=IN IP4 192.168.10.40
t=0 0
m=audio 10128 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=maxptime:150
a=sendrecv


---
Retransmitting #4 (NAT) to 192.168.10.49:5060:
INVITE sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 192.168.10.40:5061;branch=z9hG4bK15469e7a;rport
Max-Forwards: 70
From: <sip:[email protected]:5061>;tag=as45917ca0
To: <sip:[email protected]>
Contact: <sip:[email protected]:5061>
Call-ID: [email protected]:5061
CSeq: 102 INVITE
User-Agent: FPBX-13.0.11(13.5.0)
Date: Mon, 23 Nov 2015 16:15:58 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Type: application/sdp
Content-Length: 251


v=0
o=root 221954213 221954213 IN IP4 192.168.10.40
s=Asterisk PBX 13.5.0
c=IN IP4 192.168.10.40
t=0 0
m=audio 10128 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=maxptime:150
a=sendrecv


---
Retransmitting #5 (NAT) to 192.168.10.49:5060:
INVITE sip:[email protected] SIP/2.0
Via: SIP/2.0/UDP 192.168.10.40:5061;branch=z9hG4bK15469e7a;rport
Max-Forwards: 70
From: <sip:[email protected]:5061>;tag=as45917ca0
To: <sip:[email protected]>
Contact: <sip:[email protected]:5061>
Call-ID: [email protected]:5061
CSeq: 102 INVITE
User-Agent: FPBX-13.0.11(13.5.0)
Date: Mon, 23 Nov 2015 16:15:58 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
Supported: replaces, timer
Content-Type: application/sdp
Content-Length: 251


v=0
o=root 221954213 221954213 IN IP4 192.168.10.40
s=Asterisk PBX 13.5.0
c=IN IP4 192.168.10.40
t=0 0
m=audio 10128 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=maxptime:150
a=sendrecv


---
Scheduling destruction of SIP dialog '[email protected]:5061' in 32000 ms (Method: INVITE)
  == Spawn extension (macro-dialout-trunk, s, 23) exited non-zero on 'PJSIP/202-00000011' in macro 'dialout-trunk'
  == Spawn extension (from-internal, 001732485385, 6) exited non-zero on 'PJSIP/202-00000011'
    -- Executing [h@from-internal:1] Hangup("PJSIP/202-00000011", "") in new stack
  == Spawn extension (from-internal, h, 1) exited non-zero on 'PJSIP/202-00000011'
Retransmitting
 
Zuletzt bearbeitet:
Nach dem Log dürfte es keine Verbindung geben:

Der INVITE (INVITE sip:[email protected] SIP/2.0) wird von der Berofix nicht beantwortet. Da muss man zunächst schauen, warum die Berofix nicht antwortet. Dazu braucht es jetzt aber einen Debug der berofix. Dieser Fehler ist auch ursächlich für den fehlenden Ton.
Noch etwas fällt aber direkt auf:

Reliably Transmitting (NAT) to 192.168.10.49:5060:

Das ist zwar nicht schädlich, aber grundsätzlich falsch: FreePBX und die berofix sind im selben Netz, da müsste also für den berofix-Trunk auch nat=no eingestellt sein.

Zum Berofix-Debugging siehe deren Wiki: Berofix-Wiki
 
Hallo,
das Debugging der Berofix habe ich nicht hinbekommen, aber bei der Gelegenheit nochmal an den Einstellungen gebastelt und dabei in den Sip Einstellungen den Button registrieren deaktiviert
regist.jpg


Außerdem habe ich bei FreePBX über den Modulmanger die verfügbaren Updates eingespielt.

Lange Rede kurzer Sinn : Raustelefonieren klappt jetzt, Verbindung mit Audio kommt zustande. Ich habe den FreePBX Rechner und das Beronet Gateway anschließend neu gestartet und danach nochmal ein paar Testtelefonate geführt. Hat prima funktioniert.

An dieser Stelle nochmal ein herzliches Dankeschön für Deine Hilfe !!!

Morgen werde ich mal versuchen auch die eingehenden Anrufe ans laufen zu bringen.
Gemäß Beronet-Wiki habe ich bei den Trunk SIP Settings income nichts eingetragen....ob das mal stimmt? Ich habe auch nicht die geringste Idee was dort stehen sollte/könnte
inbound.jpg

So habe mich jetzt doch gerade noch herangemacht: eingehende Anrufe funktionieren auch :-)
an den Einstellungen im Trunk musste ich nochts ändern. Einfach Inbound route angelegt, fertig!
Jetzt steht noch Faxempfang und Amtsholung auf der Liste.

Bis dato muss ich eine 0 vorwählen um Amtsgespräche zu führen. Die Frage ist, ob ich das umgehen kann. (Ich habe 3stellige interne Durchwahlen angelegt)
route.jpg
 
Zuletzt bearbeitet von einem Moderator:
Kostenlos!

Statistik des Forums

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