No Outgoing calls Freepbx 15


(Markus Roth) #1

I have changed my Freepbx 13 to Freepbx 15. I exported all extensions etc. via Bulk Handler. The import in the new Freepbx was successful. I created a new outbound route with the same settings as in the old freepbx system. The trunk to the provider (Deutsche Telekom) has status “registerd”.
Incoming calls work. If I want to call out I get the message that all channels are busy.
Here is the Log for a outgoing call:
[2021-07-02 07:33:11] == Using SIP RTP Audio TOS bits 184
[2021-07-02 07:33:11] == Using SIP RTP Audio TOS bits 184 in TCLASS field.
[2021-07-02 07:33:11] == Using SIP RTP Audio CoS mark 5
[2021-07-02 07:33:11] – Executing [071369654600@from-internal:1] Macro(“PJSIP/35-00000027”, “user-callerid,LIMIT,EXTERNAL,”) in new stack
[2021-07-02 07:33:11] – Executing [s@macro-user-callerid:1] Set(“PJSIP/35-00000027”, “TOUCH_MONITOR=1625203991.39”) in new stack
[2021-07-02 07:33:11] – Executing [s@macro-user-callerid:2] Set(“PJSIP/35-00000027”, “AMPUSER=35”) in new stack
[2021-07-02 07:33:11] – Executing [s@macro-user-callerid:3] Set(“PJSIP/35-00000027”, “HOTDESCKCHAN=35-00000027”) in new stack
[2021-07-02 07:33:11] – Executing [s@macro-user-callerid:4] Set(“PJSIP/35-00000027”, “HOTDESKEXTEN=35”) in new stack
[2021-07-02 07:33:11] – Executing [s@macro-user-callerid:5] Set(“PJSIP/35-00000027”, “HOTDESKCALL=0”) in new stack
[2021-07-02 07:33:12] – Executing [s@macro-user-callerid:6] ExecIf(“PJSIP/35-00000027”, “0?Set(HOTDESKCALL=1)”) in new stack
[2021-07-02 07:33:19] – Executing [s@macro-user-callerid:7] ExecIf(“PJSIP/35-00000027”, “0?Set(CALLERID(name)=)”) in new stack
[2021-07-02 07:33:19] – Executing [s@macro-user-callerid:8] GotoIf(“PJSIP/35-00000027”, “0?report”) in new stack
[2021-07-02 07:33:19] – Executing [s@macro-user-callerid:9] ExecIf(“PJSIP/35-00000027”, “1?Set(REALCALLERIDNUM=35)”) in new stack
[2021-07-02 07:33:19] – Executing [s@macro-user-callerid:10] Set(“PJSIP/35-00000027”, “AMPUSER=35”) in new stack
[2021-07-02 07:33:19] – Executing [s@macro-user-callerid:11] GotoIf(“PJSIP/35-00000027”, “0?limit”) in new stack
[2021-07-02 07:33:19] – Executing [s@macro-user-callerid:12] Set(“PJSIP/35-00000027”, “AMPUSERCIDNAME=Telefon Markus”) in new stack
[2021-07-02 07:33:19] – Executing [s@macro-user-callerid:13] ExecIf(“PJSIP/35-00000027”, “0?Set(__CIDMASQUERADING=TRUE)”) in new stack
[2021-07-02 07:33:19] – Executing [s@macro-user-callerid:14] GotoIf(“PJSIP/35-00000027”, “0?report”) in new stack
[2021-07-02 07:33:19] – Executing [s@macro-user-callerid:15] Set(“PJSIP/35-00000027”, “AMPUSERCID=35”) in new stack
[2021-07-02 07:33:19] – Executing [s@macro-user-callerid:16] Set(“PJSIP/35-00000027”, “__DIAL_OPTIONS=HhTtr”) in new stack
[2021-07-02 07:33:19] – Executing [s@macro-user-callerid:17] Set(“PJSIP/35-00000027”, “CALLERID(all)=“Telefon Markus” <35>”) in new stack
[2021-07-02 07:33:19] – Executing [s@macro-user-callerid:18] ExecIf(“PJSIP/35-00000027”, “0?Set(CUSDIAL=)”) in new stack
[2021-07-02 07:33:19] – Executing [s@macro-user-callerid:19] ExecIf(“PJSIP/35-00000027”, “0?Set(CALLERID(all)=“Telefon Markus” <35>)”) in new stack
[2021-07-02 07:33:19] – Executing [s@macro-user-callerid:20] GotoIf(“PJSIP/35-00000027”, “0?limit”) in new stack
[2021-07-02 07:33:19] – Executing [s@macro-user-callerid:21] ExecIf(“PJSIP/35-00000027”, “1?Set(GROUP(concurrency_limit)=35)”) in new stack
[2021-07-02 07:33:19] – Executing [s@macro-user-callerid:22] NoOp(“PJSIP/35-00000027”, “Macro Depth is 1”) in new stack
[2021-07-02 07:33:19] – Executing [s@macro-user-callerid:23] GotoIf(“PJSIP/35-00000027”, “1?report2:macroerror”) in new stack
[2021-07-02 07:33:19] – Goto (macro-user-callerid,s,24)
[2021-07-02 07:33:19] – Executing [s@macro-user-callerid:24] GotoIf(“PJSIP/35-00000027”, “1?continue”) in new stack
[2021-07-02 07:33:19] – Goto (macro-user-callerid,s,42)
[2021-07-02 07:33:19] – Executing [s@macro-user-callerid:42] Set(“PJSIP/35-00000027”, “CALLERID(number)=35”) in new stack
[2021-07-02 07:33:19] – Executing [s@macro-user-callerid:43] Set(“PJSIP/35-00000027”, “CALLERID(name)=Telefon Markus”) in new stack
[2021-07-02 07:33:19] – Executing [s@macro-user-callerid:44] GotoIf(“PJSIP/35-00000027”, “0?cnum”) in new stack
[2021-07-02 07:33:19] – Executing [s@macro-user-callerid:45] Set(“PJSIP/35-00000027”, “CDR(cnam)=Telefon Markus”) in new stack
[2021-07-02 07:33:19] – Executing [s@macro-user-callerid:46] Set(“PJSIP/35-00000027”, “CDR(cnum)=35”) in new stack
[2021-07-02 07:33:19] – Executing [s@macro-user-callerid:47] Set(“PJSIP/35-00000027”, “CHANNEL(language)=de_DE”) in new stack
[2021-07-02 07:33:19] – Executing [071369654600@from-internal:2] Gosub(“PJSIP/35-00000027”, “sub-record-check,s,1(out,071369654600,dontcare)”) in new stack
[2021-07-02 07:33:19] – Executing [s@sub-record-check:1] GotoIf(“PJSIP/35-00000027”, “0?initialized”) in new stack
[2021-07-02 07:33:19] – Executing [s@sub-record-check:2] Set(“PJSIP/35-00000027”, “__REC_STATUS=INITIALIZED”) in new stack
[2021-07-02 07:33:19] – Executing [s@sub-record-check:3] Set(“PJSIP/35-00000027”, “NOW=1625203999”) in new stack
[2021-07-02 07:33:19] – Executing [s@sub-record-check:4] Set(“PJSIP/35-00000027”, “__DAY=02”) in new stack
[2021-07-02 07:33:19] – Executing [s@sub-record-check:5] Set(“PJSIP/35-00000027”, “__MONTH=07”) in new stack
[2021-07-02 07:33:19] – Executing [s@sub-record-check:6] Set(“PJSIP/35-00000027”, “__YEAR=2021”) in new stack
[2021-07-02 07:33:19] – Executing [s@sub-record-check:7] Set(“PJSIP/35-00000027”, “__TIMESTR=20210702-073319”) in new stack
[2021-07-02 07:33:19] – Executing [s@sub-record-check:8] Set(“PJSIP/35-00000027”, “__FROMEXTEN=35”) in new stack
[2021-07-02 07:33:19] – Executing [s@sub-record-check:9] Set(“PJSIP/35-00000027”, “__MON_FMT=wav”) in new stack
[2021-07-02 07:33:19] – Executing [s@sub-record-check:10] NoOp(“PJSIP/35-00000027”, “Recordings initialized”) in new stack
[2021-07-02 07:33:19] – Executing [s@sub-record-check:11] ExecIf(“PJSIP/35-00000027”, “0?Set(ARG3=dontcare)”) in new stack
[2021-07-02 07:33:19] – Executing [s@sub-record-check:12] Set(“PJSIP/35-00000027”, “REC_POLICY_MODE_SAVE=”) in new stack
[2021-07-02 07:33:19] – Executing [s@sub-record-check:13] ExecIf(“PJSIP/35-00000027”, “0?Set(REC_STATUS=NO)”) in new stack
[2021-07-02 07:33:19] – Executing [s@sub-record-check:14] GotoIf(“PJSIP/35-00000027”, “3?checkaction”) in new stack
[2021-07-02 07:33:19] – Goto (sub-record-check,s,17)
[2021-07-02 07:33:19] – Executing [s@sub-record-check:17] GotoIf(“PJSIP/35-00000027”, “1?sub-record-check,out,1”) in new stack
[2021-07-02 07:33:19] – Goto (sub-record-check,out,1)
[2021-07-02 07:33:19] – Executing [out@sub-record-check:1] NoOp(“PJSIP/35-00000027”, “Outbound Recording Check from 35 to 071369654600”) in new stack
[2021-07-02 07:33:19] – Executing [out@sub-record-check:2] Set(“PJSIP/35-00000027”, “RECMODE=dontcare”) in new stack
[2021-07-02 07:33:19] – Executing [out@sub-record-check:3] ExecIf(“PJSIP/35-00000027”, “1?Goto(routewins)”) in new stack
[2021-07-02 07:33:19] – Goto (sub-record-check,out,7)
[2021-07-02 07:33:19] – Executing [out@sub-record-check:7] Gosub(“PJSIP/35-00000027”, “recordcheck,1(dontcare,out,071369654600)”) in new stack
[2021-07-02 07:33:19] – Executing [recordcheck@sub-record-check:1] NoOp(“PJSIP/35-00000027”, “Starting recording check against dontcare”) in new stack
[2021-07-02 07:33:19] – Executing [recordcheck@sub-record-check:2] Goto(“PJSIP/35-00000027”, “dontcare”) in new stack
[2021-07-02 07:33:19] – Goto (sub-record-check,recordcheck,3)
[2021-07-02 07:33:19] – Executing [recordcheck@sub-record-check:3] Return(“PJSIP/35-00000027”, “”) in new stack
[2021-07-02 07:33:19] – Executing [out@sub-record-check:8] Return(“PJSIP/35-00000027”, “”) in new stack
[2021-07-02 07:33:19] – Executing [071369654600@from-internal:3] Set(“PJSIP/35-00000027”, “_ROUTEID=1”) in new stack
[2021-07-02 07:33:19] – Executing [071369654600@from-internal:4] Set(“PJSIP/35-00000027”, “_ROUTENAME=Outbound-60”) in new stack
[2021-07-02 07:33:19] – Executing [071369654600@from-internal:5] Set(“PJSIP/35-00000027”, “MOHCLASS=default”) in new stack
[2021-07-02 07:33:19] – Executing [071369654600@from-internal:6] Set(“PJSIP/35-00000027”, “_CALLERIDNAMEINTERNAL=Telefon Markus”) in new stack
[2021-07-02 07:33:19] – Executing [071369654600@from-internal:7] Set(“PJSIP/35-00000027”, “_CALLERIDNUMINTERNAL=35”) in new stack
[2021-07-02 07:33:19] – Executing [071369654600@from-internal:8] Set(“PJSIP/35-00000027”, “_EMAILNOTIFICATION=FALSE”) in new stack
[2021-07-02 07:33:19] – Executing [071369654600@from-internal:9] Set(“PJSIP/35-00000027”, “_NODEST=”) in new stack
[2021-07-02 07:33:19] – Executing [071369654600@from-internal:10] Macro(“PJSIP/35-00000027”, “dialout-trunk,1,071369654600,off”) in new stack
[2021-07-02 07:33:19] – Executing [s@macro-dialout-trunk:1] Set(“PJSIP/35-00000027”, “DIAL_TRUNK=1”) in new stack
[2021-07-02 07:33:19] – Executing [s@macro-dialout-trunk:2] ExecIf(“PJSIP/35-00000027”, “0?Set(DIAL_OPTIONS=Hhtr)”) in new stack
[2021-07-02 07:33:19] – Executing [s@macro-dialout-trunk:3] GosubIf(“PJSIP/35-00000027”, “0?sub-pincheck,s,1()”) in new stack
[2021-07-02 07:33:19] – Executing [s@macro-dialout-trunk:4] ExecIf(“PJSIP/35-00000027”, “0?Set(CALLERID(num)=35)”) in new stack
[2021-07-02 07:33:19] – Executing [s@macro-dialout-trunk:5] GotoIf(“PJSIP/35-00000027”, “0?disabletrunk,1”) in new stack
[2021-07-02 07:33:19] – Executing [s@macro-dialout-trunk:6] Set(“PJSIP/35-00000027”, “DIAL_NUMBER=071369654600”) in new stack
[2021-07-02 07:33:19] – Executing [s@macro-dialout-trunk:7] Set(“PJSIP/35-00000027”, “DIAL_TRUNK_OPTIONS=HhTtr”) in new stack
[2021-07-02 07:33:19] – Executing [s@macro-dialout-trunk:8] Set(“PJSIP/35-00000027”, “OUTBOUND_GROUP=OUT_1”) in new stack
[2021-07-02 07:33:19] – Executing [s@macro-dialout-trunk:9] Set(“PJSIP/35-00000027”, “DIAL_TRUNK_OPTIONS=T”) in new stack
[2021-07-02 07:33:19] – Executing [s@macro-dialout-trunk:10] GotoIf(“PJSIP/35-00000027”, “0?nomax”) in new stack
[2021-07-02 07:33:19] – Executing [s@macro-dialout-trunk:11] GotoIf(“PJSIP/35-00000027”, “0?chanfull”) in new stack
[2021-07-02 07:33:19] – Executing [s@macro-dialout-trunk:12] GotoIf(“PJSIP/35-00000027”, “0?skipoutcid”) in new stack
[2021-07-02 07:33:19] – Executing [s@macro-dialout-trunk:13] Macro(“PJSIP/35-00000027”, “outbound-callerid,1”) in new stack
[2021-07-02 07:33:19] – Executing [s@macro-outbound-callerid:1] NoOp(“PJSIP/35-00000027”, “35”) in new stack
[2021-07-02 07:33:19] – Executing [s@macro-outbound-callerid:2] NoOp(“PJSIP/35-00000027”, “”) in new stack
[2021-07-02 07:33:19] – Executing [s@macro-outbound-callerid:3] NoOp(“PJSIP/35-00000027”, “off”) in new stack
[2021-07-02 07:33:19] – Executing [s@macro-outbound-callerid:4] ExecIf(“PJSIP/35-00000027”, “0?Set(CALLERPRES(name-pres)=)”) in new stack
[2021-07-02 07:33:19] – Executing [s@macro-outbound-callerid:5] ExecIf(“PJSIP/35-00000027”, “0?Set(CALLERPRES(num-pres)=)”) in new stack
[2021-07-02 07:33:19] – Executing [s@macro-outbound-callerid:6] Set(“PJSIP/35-00000027”, “HOTDESCKCHAN=35-00000027”) in new stack
[2021-07-02 07:33:19] – Executing [s@macro-outbound-callerid:7] Set(“PJSIP/35-00000027”, “HOTDESKEXTEN=35”) in new stack
[2021-07-02 07:33:19] – Executing [s@macro-outbound-callerid:8] Set(“PJSIP/35-00000027”, “HOTDESKCALL=0”) in new stack
[2021-07-02 07:33:19] – Executing [s@macro-outbound-callerid:9] ExecIf(“PJSIP/35-00000027”, “0?Set(HOTDESKCALL=1)”) in new stack
[2021-07-02 07:33:19] – Executing [s@macro-outbound-callerid:10] ExecIf(“PJSIP/35-00000027”, “0?Set(CALLERID(name)=)”) in new stack
[2021-07-02 07:33:19] – Executing [s@macro-outbound-callerid:11] Set(“PJSIP/35-00000027”, “ALLOWTHISROUTE=NO”) in new stack
[2021-07-02 07:33:19] – Executing [s@macro-outbound-callerid:12] ExecIf(“PJSIP/35-00000027”, “0?Set(ALLOWTHISROUTE=YES)”) in new stack
[2021-07-02 07:33:19] – Executing [s@macro-outbound-callerid:13] ExecIf(“PJSIP/35-00000027”, “0?Hangup()”) in new stack
[2021-07-02 07:33:19] – Executing [s@macro-outbound-callerid:14] ExecIf(“PJSIP/35-00000027”, “0?Set(REALCALLERIDNUM=35)”) in new stack
[2021-07-02 07:33:19] – Executing [s@macro-outbound-callerid:15] ExecIf(“PJSIP/35-00000027”, “0?Set(AMPUSER=35)”) in new stack
[2021-07-02 07:33:19] – Executing [s@macro-outbound-callerid:16] GotoIf(“PJSIP/35-00000027”, “1?normcid”) in new stack
[2021-07-02 07:33:19] – Goto (macro-outbound-callerid,s,20)
[2021-07-02 07:33:19] – Executing [s@macro-outbound-callerid:20] Set(“PJSIP/35-00000027”, “USEROUTCID=<07136965460>”) in new stack
[2021-07-02 07:33:19] – Executing [s@macro-outbound-callerid:21] Set(“PJSIP/35-00000027”, “EMERGENCYCID=”) in new stack
[2021-07-02 07:33:19] – Executing [s@macro-outbound-callerid:22] ExecIf(“PJSIP/35-00000027”, “0?Set(EMERGENCYCID=)”) in new stack
[2021-07-02 07:33:19] – Executing [s@macro-outbound-callerid:23] Set(“PJSIP/35-00000027”, “TRUNKOUTCID=<07136965460>”) in new stack
[2021-07-02 07:33:19] – Executing [s@macro-outbound-callerid:24] GotoIf(“PJSIP/35-00000027”, “1?trunkcid”) in new stack
[2021-07-02 07:33:19] – Goto (macro-outbound-callerid,s,30)
[2021-07-02 07:33:19] – Executing [s@macro-outbound-callerid:30] ExecIf(“PJSIP/35-00000027”, “1?Set(CALLERID(all)=<07136965460>)”) in new stack
[2021-07-02 07:33:19] – Executing [s@macro-outbound-callerid:31] ExecIf(“PJSIP/35-00000027”, “1?Set(CALLERID(all)=<07136965460>)”) in new stack
[2021-07-02 07:33:19] – Executing [s@macro-outbound-callerid:32] ExecIf(“PJSIP/35-00000027”, “0?Set(CALLERID(all)=)”) in new stack
[2021-07-02 07:33:19] – Executing [s@macro-outbound-callerid:33] ExecIf(“PJSIP/35-00000027”, “0?Set(CALLERID(all)=35)”) in new stack
[2021-07-02 07:33:19] – Executing [s@macro-outbound-callerid:34] ExecIf(“PJSIP/35-00000027”, “0?Set(CALLERID(all)=35)”) in new stack
[2021-07-02 07:33:19] – Executing [s@macro-outbound-callerid:35] Set(“PJSIP/35-00000027”, “TIOHIDE=no”) in new stack
[2021-07-02 07:33:19] – Executing [s@macro-outbound-callerid:36] ExecIf(“PJSIP/35-00000027”, “0?Set(CALLERPRES(name-pres)=prohib_passed_screen)”) in new stack
[2021-07-02 07:33:19] – Executing [s@macro-outbound-callerid:37] ExecIf(“PJSIP/35-00000027”, “0?Set(CALLERPRES(num-pres)=prohib_passed_screen)”) in new stack
[2021-07-02 07:33:19] – Executing [s@macro-outbound-callerid:38] ExecIf(“PJSIP/35-00000027”, “0?Set(CALLERPRES(name-pres)=prohib_passed_screen)”) in new stack
[2021-07-02 07:33:19] – Executing [s@macro-outbound-callerid:39] ExecIf(“PJSIP/35-00000027”, “0?Set(CALLERPRES(num-pres)=prohib_passed_screen)”) in new stack
[2021-07-02 07:33:19] – Executing [s@macro-outbound-callerid:40] Set(“PJSIP/35-00000027”, “CDR(outbound_cnum)=07136965460”) in new stack
[2021-07-02 07:33:19] – Executing [s@macro-outbound-callerid:41] Set(“PJSIP/35-00000027”, “CDR(outbound_cnam)=”) in new stack
[2021-07-02 07:33:19] – Executing [s@macro-dialout-trunk:14] GosubIf(“PJSIP/35-00000027”, “0?sub-flp-1,s,1()”) in new stack
[2021-07-02 07:33:19] – Executing [s@macro-dialout-trunk:15] Set(“PJSIP/35-00000027”, “OUTNUM=071369654600”) in new stack
[2021-07-02 07:33:19] – Executing [s@macro-dialout-trunk:16] Set(“PJSIP/35-00000027”, “custom=PJSIP”) in new stack
[2021-07-02 07:33:19] – Executing [s@macro-dialout-trunk:17] ExecIf(“PJSIP/35-00000027”, “0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)T)”) in new stack
[2021-07-02 07:33:19] – Executing [s@macro-dialout-trunk:18] ExecIf(“PJSIP/35-00000027”, “0?Set(DIAL_TRUNK_OPTIONS=TM(confirm))”) in new stack
[2021-07-02 07:33:19] – Executing [s@macro-dialout-trunk:19] Macro(“PJSIP/35-00000027”, “dialout-trunk-predial-hook,”) in new stack
[2021-07-02 07:33:19] – Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit(“PJSIP/35-00000027”, “”) in new stack
[2021-07-02 07:33:19] – Executing [s@macro-dialout-trunk:20] GotoIf(“PJSIP/35-00000027”, “0?bypass,1”) in new stack
[2021-07-02 07:33:19] – Executing [s@macro-dialout-trunk:21] ExecIf(“PJSIP/35-00000027”, “1?Set(CONNECTEDLINE(num,i)=071369654600)”) in new stack
[2021-07-02 07:33:19] – Executing [s@macro-dialout-trunk:22] ExecIf(“PJSIP/35-00000027”, “1?Set(CONNECTEDLINE(name,i)=CID:07136965460)”) in new stack
[2021-07-02 07:33:19] – Executing [s@macro-dialout-trunk:23] ExecIf(“PJSIP/35-00000027”, “0?Set(CONNECTEDLINE(name,i)=CID:(Hidden)07136965460)”) in new stack
[2021-07-02 07:33:19] – Executing [s@macro-dialout-trunk:24] GotoIf(“PJSIP/35-00000027”, “0?customtrunk”) in new stack
[2021-07-02 07:33:19] – Executing [s@macro-dialout-trunk:25] ExecIf(“PJSIP/35-00000027”, “0?Set(DIAL_TRUNK_OPTIONS=)”) in new stack
[2021-07-02 07:33:19] – Executing [s@macro-dialout-trunk:26] Set(“PJSIP/35-00000027”, “HASH(__SIPHEADERS,Alert-Info)=unset”) in new stack
[2021-07-02 07:33:19] – Executing [s@macro-dialout-trunk:27] Dial(“PJSIP/35-00000027”, “PJSIP/071369654600@Telekom_965460,300,Tb(func-apply-sipheaders^s^1,(1))U(sub-send-obroute-email^071369654600^071369654600^1^1625203999^^07136965460)”) in new stack
[2021-07-02 07:33:19] – PJSIP/Telekom_965460-00000028 Internal Gosub(func-apply-sipheaders,s,1(1)) start
[2021-07-02 07:33:19] – Executing [s@func-apply-sipheaders:1] NoOp(“PJSIP/Telekom_965460-00000028”, “Applying SIP Headers to channel PJSIP/Telekom_965460-00000028”) in new stack
[2021-07-02 07:33:19] – Executing [s@func-apply-sipheaders:2] Set(“PJSIP/Telekom_965460-00000028”, “TECH=PJSIP”) in new stack
[2021-07-02 07:33:19] – Executing [s@func-apply-sipheaders:3] Set(“PJSIP/Telekom_965460-00000028”, “SIPHEADERKEYS=Alert-Info”) in new stack
[2021-07-02 07:33:19] – Executing [s@func-apply-sipheaders:4] While(“PJSIP/Telekom_965460-00000028”, “1”) in new stack
[2021-07-02 07:33:19] – Executing [s@func-apply-sipheaders:5] Set(“PJSIP/Telekom_965460-00000028”, “sipheader=unset”) in new stack
[2021-07-02 07:33:19] – Executing [s@func-apply-sipheaders:6] ExecIf(“PJSIP/Telekom_965460-00000028”, “0?SIPRemoveHeader(Alert-Info:)”) in new stack
[2021-07-02 07:33:19] – Executing [s@func-apply-sipheaders:7] ExecIf(“PJSIP/Telekom_965460-00000028”, “1?Set(PJSIP_HEADER(remove,Alert-Info)=)”) in new stack
[2021-07-02 07:33:19] ERROR[11678]: res_pjsip_header_funcs.c:410 remove_header: No headers had been previously added to this session.
[2021-07-02 07:33:19] – Executing [s@func-apply-sipheaders:8] ExecIf(“PJSIP/Telekom_965460-00000028”, “0?Set(sipheader=http://127.0.0.1;info=unset)”) in new stack
[2021-07-02 07:33:19] – Executing [s@func-apply-sipheaders:9] ExecIf(“PJSIP/Telekom_965460-00000028”, “0?Set(sipheader=http://127.0.0.1unset)”) in new stack
[2021-07-02 07:33:19] – Executing [s@func-apply-sipheaders:10] ExecIf(“PJSIP/Telekom_965460-00000028”, “0?SIPAddHeader(Alert-Info:unset)”) in new stack
[2021-07-02 07:33:19] – Executing [s@func-apply-sipheaders:11] ExecIf(“PJSIP/Telekom_965460-00000028”, “0?Set(PJSIP_HEADER(add,Alert-Info)=unset)”) in new stack
[2021-07-02 07:33:19] – Executing [s@func-apply-sipheaders:12] EndWhile(“PJSIP/Telekom_965460-00000028”, “”) in new stack
[2021-07-02 07:33:19] – Executing [s@func-apply-sipheaders:4] While(“PJSIP/Telekom_965460-00000028”, “0”) in new stack
[2021-07-02 07:33:19] – Executing [s@func-apply-sipheaders:13] Return(“PJSIP/Telekom_965460-00000028”, “”) in new stack
[2021-07-02 07:33:19] == Spawn extension (from-pstn, 071369654600, 1) exited non-zero on ‘PJSIP/Telekom_965460-00000028’
[2021-07-02 07:33:19] – PJSIP/Telekom_965460-00000028 Internal Gosub(func-apply-sipheaders,s,1(1)) complete GOSUB_RETVAL=
[2021-07-02 07:33:19] – Called PJSIP/071369654600@Telekom_965460
[2021-07-02 07:33:19] > 0x74297b68 – Strict RTP learning after remote address set to: 10.10.10.1:7070
[2021-07-02 07:33:19] – PJSIP/Telekom_965460-00000028 is making progress passing it to PJSIP/35-00000027
[2021-07-02 07:33:19] > 0x6b365518 – Strict RTP learning after remote address set to: 10.11.12.13.158:60332
[2021-07-02 07:33:25] == Everyone is busy/congested at this time (1:0/0/1)
[2021-07-02 07:33:25] – Executing [s@macro-dialout-trunk:28] NoOp(“PJSIP/35-00000027”, “Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 21”) in new stack
[2021-07-02 07:33:25] – Executing [s@macro-dialout-trunk:29] GotoIf(“PJSIP/35-00000027”, “0?continue,1:s-CHANUNAVAIL,1”) in new stack
[2021-07-02 07:33:25] – Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
[2021-07-02 07:33:25] – Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] Set(“PJSIP/35-00000027”, “RC=21”) in new stack
[2021-07-02 07:33:25] – Executing [s-CHANUNAVAIL@macro-dialout-trunk:2] Goto(“PJSIP/35-00000027”, “21,1”) in new stack
[2021-07-02 07:33:25] – Goto (macro-dialout-trunk,21,1)
[2021-07-02 07:33:25] – Executing [21@macro-dialout-trunk:1] Goto(“PJSIP/35-00000027”, “continue,1”) in new stack
[2021-07-02 07:33:25] – Goto (macro-dialout-trunk,continue,1)
[2021-07-02 07:33:25] – Executing [continue@macro-dialout-trunk:1] NoOp(“PJSIP/35-00000027”, “TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 21 - failing through to other trunks”) in new stack
[2021-07-02 07:33:25] – Executing [continue@macro-dialout-trunk:2] ExecIf(“PJSIP/35-00000027”, “1?Set(CALLERID(number)=35)”) in new stack
[2021-07-02 07:33:25] – Executing [071369654600@from-internal:11] Macro(“PJSIP/35-00000027”, “outisbusy,”) in new stack
[2021-07-02 07:33:25] – Executing [s@macro-outisbusy:1] Playback(“PJSIP/35-00000027”, “all-circuits-busy-now&please-try-call-later”) in new stack
[2021-07-02 07:33:25] > 0x6b365518 – Strict RTP switching to RTP target address 10.11.12.13.158:60332 as source
[2021-07-02 07:33:25] – <PJSIP/35-00000027> Playing ‘all-circuits-busy-now.ulaw’ (language ‘de_DE’)
[2021-07-02 07:33:25] > 0x6b365518 – Strict RTP learning complete - Locking on source address 10.11.12.13.158:60332
[2021-07-02 07:33:27] – <PJSIP/35-00000027> Playing ‘please-try-call-later.ulaw’ (language ‘de_DE’)
[2021-07-02 07:33:27] – Executing [h@from-internal:1] Macro(“PJSIP/35-00000027”, “hangupcall”) in new stack
[2021-07-02 07:33:27] – Executing [s@macro-hangupcall:1] GotoIf(“PJSIP/35-00000027”, “1?theend”) in new stack
[2021-07-02 07:33:27] – Goto (macro-hangupcall,s,3)
[2021-07-02 07:33:27] – Executing [s@macro-hangupcall:3] ExecIf(“PJSIP/35-00000027”, “0?Set(CDR(recordingfile)=)”) in new stack
[2021-07-02 07:33:27] – Executing [s@macro-hangupcall:4] NoOp(“PJSIP/35-00000027”, " montior file= ") in new stack
[2021-07-02 07:33:27] – Executing [s@macro-hangupcall:5] GotoIf(“PJSIP/35-00000027”, “1?skipagi”) in new stack
[2021-07-02 07:33:27] – Goto (macro-hangupcall,s,7)
[2021-07-02 07:33:27] – Executing [s@macro-hangupcall:7] Hangup(“PJSIP/35-00000027”, “”) in new stack
[2021-07-02 07:33:27] == Spawn extension (macro-hangupcall, s, 7) exited non-zero on ‘PJSIP/35-00000027’ in macro ‘hangupcall’

I would be grateful for any tips to solve my problem!


#2

I think there is something wrong with your trunk configuration. Seems that Telekom is blocking that call


#3

check the networks under setting > asterisk sip settings to make sure your proper external IP and local networks are set


(Markus Roth) #4

I checked in the sip settings the external network IP and internal. All are correct. When dialing a phone number it is ringing a short time then I get the message “the destination number is blocked, the connection cannot be established”. I checked the dialpatterns in the outbound route again. But they are the same as on the freepbx 13 system.


#5

Please be explicit about

I get the message “the destination number is blocked, . . . ."

Your VSP is bitching.with a ‘21’ (unacceptable)

https://networking.ringofsaturn.com/Routers/isdncausecodes.php


#6

This message is not from FreePBX, it was played by the provider prior to the reject. This was followed by an “all circuits are busy now” message from FreePBX.

Most likely, DT rejected the call because either the destination number or the caller ID was not correctly formatted, or not sent in the proper header. For example, instead of 071369654600, they may be expecting 49713696544600 or +49713696544600. Also, it seems strange that your caller ID (which may actually be an account number) is 07136965460 but the called number is 071369654600. Are both of these valid?

If you don’t have good documentation on the expected formats, a good bet is to look at what they send on an incoming call.

To see the SIP traffic to and from DT, at the Asterisk command prompt type
pjsip set logger on
which will cause SIP traces to appear in the Asterisk log, along with the regular entries. If you have trouble interpreting them, paste the Asterisk log for a call at pastebin.freepbx.org and post the link here. Do this for both incoming and outgoing if needed.

By the way, when I call +497136965460, the call is answered but I hear no audio. Calling +4971369654600, the carrier rejects the call with a 404 error. I don’t know whether they found the number invalid, or it was passed to your system but didn’t match an inbound route.

Edit: I corrected the numbers called for testing.


#7

For ‘mobile’ numbers the dialplane is closed

locally recognized as
07x xxxx xxxx
or
07xxx xxx xxx

e164 accepted as

+447XXXXXXXXX

(pretty sure that would be better as +447ZXXXXXXXX for FreePBX)


#8

Sorry, my bad. I typed the test call numbers incorrectly. They should have been +497136965460 and +4971369654600 (Germany, Stuttgart area, possibly Bad Friedrichshall).

Germany dial plan is open, though it would be unusual for a valid number to be a substring of another valid number.


#9

If I remember well, Germany as an early adopter of ISDN did originally provision for ISDN overlap destinations to ‘pass through’ to the final terminal, ( i.e. extension behind directory number via local hardware)


#10

Sure, but a typical setup would be:
Main number: 35091
Extensions: 3509200 through 3509299

Though it may be permitted, I’ve never seen a setup where e.g. 35091 and 350911 would both be valid numbers.


#11

You would have to talk to the provisioner of . 35091. maybe he 'effedup ?

( not quite understanding how 3509200 through 3509299 are a subset of 35091)


#12

They’re not, which is my point. In the old days, they used Strowger switches. The Amt would send all digits after 3509 to the customers trunk. The next digit would go to the selector. Level 1, it would hunt for an available switchboard trunk. Level 2, it would hunt for an available connector, which would accept the next two digits and ring the desired extension.

35091 is a subset of 350911 and I’ve never seen a system with both of those numbers valid, though I don’t know enough about the German system to know whether it is permitted.


#13

And when the Strowger ran out of selectors. it could but dial ‘next’ , perhaps to a good old Centrex exchange via a good old DID E&M circuit where the good old 1A2 stuff could pick up clank relays and dial a good old 2500 set

ISDN takes it a few steps further to extend open dialing all the way through to the final terminal adapter (The one where there are no more unique MSD’s

In this case the OP is almost certainly using ISDN and there will never be a mechanical switch involved (which hasn’t happened anyway in decades)

So, you could advantage yourself as to how ISDN trumps CrossBar/Strowger systems.

Here we have a simple ‘cause 21’ which woould likely start with the OP contacting his VSP to find out how he effed up the dial

Edit:

No, I misrepresented that, centrex E&M shortcircuits the MSD switch mechanism at the seventh eighthhor ninth Significant digit. There is no concept of NANP numbers longer that 10


#14

I believe the old system still exists. Just compare logs and fix what is different.


#15

Lets just let the OP resolve his VSP’s ‘21’ response first.


#16

No, the 21 was generated by Asterisk, likely in response to SIP status 403 Forbidden or 488 Not Acceptable Here. The OP should at least look at what DT actually sent.


#17

if telkom accepts

2021-07-02 07:33:19] – Called PJSIP/071369654600@Telekom_965460
[2021-07-02 07:33:19] > 0x74297b68 – Strict RTP learning after remote address set to: 10.10.10.1:7070

no problem,

yet it didn’t

anybody german , please explain where locally dialed over telkom

071369654600

will go.


(Markus Roth) #18

it’s getting stranger and stranger. Incoming calls only arrive if they come from any mobilephone. But from mobile phones when I am connected I can’t here any sound.
All calls from fixed-line endpoints are blocked. If I call a telephone number (outgoing call), I only hear the ring tone, but nothing arrives at the other end.
I find the following entries in the freepbx log:
[2021-07-03 09:08:39] – <PJSIP/31-00000084> Playing ‘all-circuits-busy-now.g722’ (language ‘de_DE’)
[2021-07-03 09:08:42] – <PJSIP/31-00000084> Playing ‘please-try-call-later.g722’ (language ‘de_DE’)
these are then issued by the freepbx.
However, I hear 3 announcements on the phone. First one in German: “the target number is blocked” and then these two messages from the freepbx, as it is in the log.
That can only be a problem with the provider Telekom!
I’m opening a case there now!


#19

I just called the 956460 and it rang normally but no audio. Please paste complete logs for both incoming and outgoing calls, including pjsip logging as described earlier. It should not be hard to troubleshoot.

The first message you hear is indeed from DT, but it is not their fault. The call is rejected because of a number format or authentication issue.


(Markus Roth) #20

Hi Stewart1 the correct phone number is +49 7136 965460
No second zero at the end :slight_smile:

Meanwhile I checked incoming call from mobile phone. It works with sound. But outgoing calls are still “blocked”
Here is the Log of an outgoing call: Log Outgoing call