[Problem] Ausgehender Anruf "Nach dem 3 Rufton, alle Leitungen sind derzeit belegt"

sharbich

Neuer User
Mitglied seit
30 Aug 2012
Beiträge
196
Punkte für Reaktionen
3
Punkte
18
Hallo Ihr Lieben,

ich betreibe ein FreePBX hinter einen Vigor Modem und OpernWRT Router. Wenn ich eine Rufnummer aus dem Festnetz anrufe bekomme ich nachdem dritten Rufzeichen die Meldung das "Alle Leitungen sind derzeit belegt". Versuche ich den Anruf aus dem Handynetz zu führen so lande ich auf den Anrufbeantworter. Wenn ich den Anruf über den Befehl
Code:
asterisk -rvvvvv
mir anzeigen lasse, dann wird folgendes angezeigt: Die Rufnummer die ich anrufe lautet "53xxx".
Code:
root@dsme01:~# asterisk -rvvvvv
Asterisk 20.10.0, Copyright (C) 1999 - 2022, Sangoma Technologies Corporation and others.
Created by Mark Spencer <[email protected]>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'core show license' for details.
=========================================================================
Running as user 'asterisk'
Running under group 'asterisk'
Connected to Asterisk 20.10.0 currently running on dsme01 (pid = 14382)
  == Using SIP RTP Audio TOS bits 184
  == Using SIP RTP Audio CoS mark 5
    -- Executing [53xxx@from-internal:1] Macro("PJSIP/10-000000c0", "user-callerid,LIMIT,EXTERNAL,") in new stack
    -- Executing [s@macro-user-callerid:1] Set("PJSIP/10-000000c0", "TOUCH_MONITOR=1753171084.198") in new stack
    -- Executing [s@macro-user-callerid:2] Set("PJSIP/10-000000c0", "CHANCONTEXT=") in new stack
    -- Executing [s@macro-user-callerid:3] Set("PJSIP/10-000000c0", "CHANCONTEXT=") in new stack
    -- Executing [s@macro-user-callerid:4] Set("PJSIP/10-000000c0", "CHANEXTENCONTEXT=10-000000c0") in new stack
    -- Executing [s@macro-user-callerid:5] Set("PJSIP/10-000000c0", "CHANEXTEN=10-000000c0") in new stack
    -- Executing [s@macro-user-callerid:6] Set("PJSIP/10-000000c0", "CALLERID(number)=10") in new stack
    -- Executing [s@macro-user-callerid:7] Set("PJSIP/10-000000c0", "AMPUSER=10") in new stack
    -- Executing [s@macro-user-callerid:8] Set("PJSIP/10-000000c0", "HOTDESCKCHAN=10-000000c0") in new stack
    -- Executing [s@macro-user-callerid:9] Set("PJSIP/10-000000c0", "HOTDESKEXTEN=10") in new stack
    -- Executing [s@macro-user-callerid:10] Set("PJSIP/10-000000c0", "HOTDESKCALL=0") in new stack
    -- Executing [s@macro-user-callerid:11] ExecIf("PJSIP/10-000000c0", "0?Set(HOTDESKCALL=1)") in new stack
    -- Executing [s@macro-user-callerid:12] ExecIf("PJSIP/10-000000c0", "0?Set(CALLERID(name)=)") in new stack
    -- Executing [s@macro-user-callerid:13] GotoIf("PJSIP/10-000000c0", "0?report") in new stack
    -- Executing [s@macro-user-callerid:14] ExecIf("PJSIP/10-000000c0", "1?Set(REALCALLERIDNUM=10)") in new stack
    -- Executing [s@macro-user-callerid:15] Set("PJSIP/10-000000c0", "AMPUSER=10") in new stack
    -- Executing [s@macro-user-callerid:16] GotoIf("PJSIP/10-000000c0", "0?limit") in new stack
    -- Executing [s@macro-user-callerid:17] Set("PJSIP/10-000000c0", "AMPUSERCIDNAME=Wohnzimmer") in new stack
    -- Executing [s@macro-user-callerid:18] ExecIf("PJSIP/10-000000c0", "0?Set(__CIDMASQUERADING=TRUE)") in new stack
    -- Executing [s@macro-user-callerid:19] GotoIf("PJSIP/10-000000c0", "0?report") in new stack
    -- Executing [s@macro-user-callerid:20] Set("PJSIP/10-000000c0", "AMPUSERCID=10") in new stack
    -- Executing [s@macro-user-callerid:21] Set("PJSIP/10-000000c0", "__DIAL_OPTIONS=HhTtr") in new stack
    -- Executing [s@macro-user-callerid:22] Set("PJSIP/10-000000c0", "CALLERID(all)="Wohnzimmer" <10>") in new stack
    -- Executing [s@macro-user-callerid:23] ExecIf("PJSIP/10-000000c0", "0?Set(CUSDIAL=)") in new stack
    -- Executing [s@macro-user-callerid:24] ExecIf("PJSIP/10-000000c0", "0?Set(CALLERID(all)="Wohnzimmer" <10>)") in new stack
    -- Executing [s@macro-user-callerid:25] GotoIf("PJSIP/10-000000c0", "0?limit") in new stack
    -- Executing [s@macro-user-callerid:26] ExecIf("PJSIP/10-000000c0", "1?Set(GROUP(concurrency_limit)=10)") in new stack
    -- Executing [s@macro-user-callerid:27] ExecIf("PJSIP/10-000000c0", "0?Set(CHANNEL(language)=)") in new stack
    -- Executing [s@macro-user-callerid:28] NoOp("PJSIP/10-000000c0", "Macro Depth is 1") in new stack
    -- Executing [s@macro-user-callerid:29] GotoIf("PJSIP/10-000000c0", "1?report2:macroerror") in new stack
    -- Goto (macro-user-callerid,s,30)
    -- Executing [s@macro-user-callerid:30] GotoIf("PJSIP/10-000000c0", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,49)
    -- Executing [s@macro-user-callerid:49] Set("PJSIP/10-000000c0", "CALLERID(number)=10") in new stack
    -- Executing [s@macro-user-callerid:50] Set("PJSIP/10-000000c0", "CALLERID(name)=Wohnzimmer") in new stack
    -- Executing [s@macro-user-callerid:51] GotoIf("PJSIP/10-000000c0", "0?cnum") in new stack
    -- Executing [s@macro-user-callerid:52] Set("PJSIP/10-000000c0", "__MCNUM=10") in new stack
    -- Executing [s@macro-user-callerid:53] Set("PJSIP/10-000000c0", "__MCNAME=Wohnzimmer") in new stack
    -- Executing [s@macro-user-callerid:54] Set("PJSIP/10-000000c0", "__MCEXTEN=10") in new stack
    -- Executing [s@macro-user-callerid:55] Set("PJSIP/10-000000c0", "__MCORGCHAN=PJSIP/10-000000c0") in new stack
    -- Executing [s@macro-user-callerid:56] Set("PJSIP/10-000000c0", "CDR(cnam)=Wohnzimmer") in new stack
    -- Executing [s@macro-user-callerid:57] Set("PJSIP/10-000000c0", "CDR(cnum)=10") in new stack
    -- Executing [s@macro-user-callerid:58] Set("PJSIP/10-000000c0", "CHANNEL(language)=de_custom") in new stack
    -- Executing [53xxx@from-internal:2] Gosub("PJSIP/10-000000c0", "sub-record-check,s,1(out,53xxx,dontcare)") in new stack
    -- Executing [s@sub-record-check:1] GotoIf("PJSIP/10-000000c0", "0?initialized") in new stack
    -- Executing [s@sub-record-check:2] Set("PJSIP/10-000000c0", "__REC_STATUS=INITIALIZED") in new stack
    -- Executing [s@sub-record-check:3] Set("PJSIP/10-000000c0", "NOW=1753171084") in new stack
    -- Executing [s@sub-record-check:4] Set("PJSIP/10-000000c0", "__DAY=22") in new stack
    -- Executing [s@sub-record-check:5] Set("PJSIP/10-000000c0", "__MONTH=07") in new stack
    -- Executing [s@sub-record-check:6] Set("PJSIP/10-000000c0", "__YEAR=2025") in new stack
    -- Executing [s@sub-record-check:7] Set("PJSIP/10-000000c0", "__TIMESTR=20250722-095804") in new stack
    -- Executing [s@sub-record-check:8] Set("PJSIP/10-000000c0", "__FROMEXTEN=10") in new stack
    -- Executing [s@sub-record-check:9] Set("PJSIP/10-000000c0", "__MON_FMT=wav") in new stack
    -- Executing [s@sub-record-check:10] NoOp("PJSIP/10-000000c0", "Recordings initialized") in new stack
    -- Executing [s@sub-record-check:11] ExecIf("PJSIP/10-000000c0", "0?Set(ARG3=dontcare)") in new stack
    -- Executing [s@sub-record-check:12] Set("PJSIP/10-000000c0", "REC_POLICY_MODE_SAVE=") in new stack
    -- Executing [s@sub-record-check:13] ExecIf("PJSIP/10-000000c0", "0?Set(REC_STATUS=NO)") in new stack
    -- Executing [s@sub-record-check:14] GotoIf("PJSIP/10-000000c0", "3?checkaction") in new stack
    -- Goto (sub-record-check,s,17)
    -- Executing [s@sub-record-check:17] GotoIf("PJSIP/10-000000c0", "1?sub-record-check,out,1") in new stack
    -- Goto (sub-record-check,out,1)
    -- Executing [out@sub-record-check:1] NoOp("PJSIP/10-000000c0", "Outbound Recording Check from 10 to 53xxx") in new stack
    -- Executing [out@sub-record-check:2] Set("PJSIP/10-000000c0", "RECMODE=dontcare") in new stack
    -- Executing [out@sub-record-check:3] ExecIf("PJSIP/10-000000c0", "1?Goto(routewins)") in new stack
    -- Goto (sub-record-check,out,7)
    -- Executing [out@sub-record-check:7] Gosub("PJSIP/10-000000c0", "recordcheck,1(dontcare,out,53xxx)") in new stack
    -- Executing [recordcheck@sub-record-check:1] NoOp("PJSIP/10-000000c0", "Starting recording check against dontcare") in new stack
    -- Executing [recordcheck@sub-record-check:2] Goto("PJSIP/10-000000c0", "dontcare") in new stack
    -- Goto (sub-record-check,recordcheck,3)
    -- Executing [recordcheck@sub-record-check:3] Return("PJSIP/10-000000c0", "") in new stack
    -- Executing [out@sub-record-check:8] Return("PJSIP/10-000000c0", "") in new stack
    -- Executing [53xxx@from-internal:3] ExecIf("PJSIP/10-000000c0", "0 ?Set(CDR(accountcode)=)") in new stack
    -- Executing [53xxx@from-internal:4] Set("PJSIP/10-000000c0", "_ROUTEID=1") in new stack
    -- Executing [53xxx@from-internal:5] Set("PJSIP/10-000000c0", "_ROUTENAME=Alle") in new stack
    -- Executing [53xxx@from-internal:6] Set("PJSIP/10-000000c0", "MOHCLASS=default") in new stack
    -- Executing [53xxx@from-internal:7] Set("PJSIP/10-000000c0", "_CALLERIDNAMEINTERNAL=Wohnzimmer") in new stack
    -- Executing [53xxx@from-internal:8] Set("PJSIP/10-000000c0", "_CALLERIDNUMINTERNAL=10") in new stack
    -- Executing [53xxx@from-internal:9] Set("PJSIP/10-000000c0", "_EMAILNOTIFICATION=FALSE") in new stack
    -- Executing [53xxx@from-internal:10] Set("PJSIP/10-000000c0", "_NODEST=") in new stack
    -- Executing [53xxx@from-internal:11] Macro("PJSIP/10-000000c0", "dialout-trunk,1,53xxx,,off") in new stack
    -- Executing [s@macro-dialout-trunk:1] Set("PJSIP/10-000000c0", "DIAL_TRUNK=1") in new stack
    -- Executing [s@macro-dialout-trunk:2] ExecIf("PJSIP/10-000000c0", "0?Set(DIAL_OPTIONS=Hhtr)") in new stack
    -- Executing [s@macro-dialout-trunk:3] ExecIf("PJSIP/10-000000c0", "0?Set(DIAL_OPTIONS=HhTr)") in new stack
    -- Executing [s@macro-dialout-trunk:4] ExecIf("PJSIP/10-000000c0", "0?Set(DIAL_OPTIONS=Hhtr)") in new stack
    -- Executing [s@macro-dialout-trunk:5] GosubIf("PJSIP/10-000000c0", "0?sub-pincheck,s,1()") in new stack
    -- Executing [s@macro-dialout-trunk:6] ExecIf("PJSIP/10-000000c0", "0?Set(CALLERID(num)=10)") in new stack
    -- Executing [s@macro-dialout-trunk:7] GotoIf("PJSIP/10-000000c0", "0?disabletrunk,1") in new stack
    -- Executing [s@macro-dialout-trunk:8] Set("PJSIP/10-000000c0", "DIAL_NUMBER=53xxx") in new stack
    -- Executing [s@macro-dialout-trunk:9] Set("PJSIP/10-000000c0", "DIAL_TRUNK_OPTIONS=HhTtr") in new stack
    -- Executing [s@macro-dialout-trunk:10] Set("PJSIP/10-000000c0", "OUTBOUND_GROUP=OUT_1") in new stack
    -- Executing [s@macro-dialout-trunk:11] Set("PJSIP/10-000000c0", "DIAL_TRUNK_OPTIONS=Ttr") in new stack
    -- Executing [s@macro-dialout-trunk:12] ExecIf("PJSIP/10-000000c0", "0?Set(DIAL_TRUNK_OPTIONS=tr)") in new stack
    -- Executing [s@macro-dialout-trunk:13] GotoIf("PJSIP/10-000000c0", "0?nomax") in new stack
    -- Executing [s@macro-dialout-trunk:14] GotoIf("PJSIP/10-000000c0", "0?chanfull") in new stack
    -- Executing [s@macro-dialout-trunk:15] GotoIf("PJSIP/10-000000c0", "0?skipoutcid") in new stack
    -- Executing [s@macro-dialout-trunk:16] Macro("PJSIP/10-000000c0", "outbound-callerid,1") in new stack
    -- Executing [s@macro-outbound-callerid:1] NoOp("PJSIP/10-000000c0", "10") in new stack
    -- Executing [s@macro-outbound-callerid:2] NoOp("PJSIP/10-000000c0", "") in new stack
    -- Executing [s@macro-outbound-callerid:3] NoOp("PJSIP/10-000000c0", "off") in new stack
    -- Executing [s@macro-outbound-callerid:4] ExecIf("PJSIP/10-000000c0", "0?Set(CALLERID(name-pres)=)") in new stack
    -- Executing [s@macro-outbound-callerid:5] ExecIf("PJSIP/10-000000c0", "0?Set(CALLERID(num-pres)=)") in new stack
    -- Executing [s@macro-outbound-callerid:6] Set("PJSIP/10-000000c0", "HOTDESCKCHAN=10-000000c0") in new stack
    -- Executing [s@macro-outbound-callerid:7] Set("PJSIP/10-000000c0", "HOTDESKEXTEN=10") in new stack
    -- Executing [s@macro-outbound-callerid:8] Set("PJSIP/10-000000c0", "HOTDESKCALL=0") in new stack
    -- Executing [s@macro-outbound-callerid:9] ExecIf("PJSIP/10-000000c0", "0?Set(HOTDESKCALL=1)") in new stack
    -- Executing [s@macro-outbound-callerid:10] ExecIf("PJSIP/10-000000c0", "0?Set(CALLERID(name)=)") in new stack
    -- Executing [s@macro-outbound-callerid:11] Set("PJSIP/10-000000c0", "ALLOWTHISROUTE=NO") in new stack
    -- Executing [s@macro-outbound-callerid:12] ExecIf("PJSIP/10-000000c0", "0?Set(ALLOWTHISROUTE=YES)") in new stack
    -- Executing [s@macro-outbound-callerid:13] ExecIf("PJSIP/10-000000c0", "0?Hangup()") in new stack
    -- Executing [s@macro-outbound-callerid:14] ExecIf("PJSIP/10-000000c0", "0?Set(REALCALLERIDNUM=10)") in new stack
    -- Executing [s@macro-outbound-callerid:15] ExecIf("PJSIP/10-000000c0", "0?Set(AMPUSER=10)") in new stack
    -- Executing [s@macro-outbound-callerid:16] GotoIf("PJSIP/10-000000c0", "1?normcid") in new stack
    -- Goto (macro-outbound-callerid,s,20)
    -- Executing [s@macro-outbound-callerid:20] Set("PJSIP/10-000000c0", "USEROUTCID=") in new stack
    -- Executing [s@macro-outbound-callerid:21] Set("PJSIP/10-000000c0", "EMERGENCYCID=") in new stack
    -- Executing [s@macro-outbound-callerid:22] ExecIf("PJSIP/10-000000c0", "0?Set(EMERGENCYCID=)") in new stack
    -- Executing [s@macro-outbound-callerid:23] Set("PJSIP/10-000000c0", "TRUNKOUTCID=<02173900xxx>") in new stack
    -- Executing [s@macro-outbound-callerid:24] GotoIf("PJSIP/10-000000c0", "1?trunkcid") in new stack
    -- Goto (macro-outbound-callerid,s,30)
    -- Executing [s@macro-outbound-callerid:30] ExecIf("PJSIP/10-000000c0", "1?Set(CALLERID(all)=<02173900xxx>)") in new stack
    -- Executing [s@macro-outbound-callerid:31] ExecIf("PJSIP/10-000000c0", "0?Set(CALLERID(all)=)") in new stack
    -- Executing [s@macro-outbound-callerid:32] ExecIf("PJSIP/10-000000c0", "0?Set(CALLERID(all)=)") in new stack
    -- Executing [s@macro-outbound-callerid:33] ExecIf("PJSIP/10-000000c0", "0?Set(CALLERID(all)=10)") in new stack
    -- Executing [s@macro-outbound-callerid:34] ExecIf("PJSIP/10-000000c0", "0?Set(CALLERID(all)=10)") in new stack
    -- Executing [s@macro-outbound-callerid:35] Set("PJSIP/10-000000c0", "TIOHIDE=no") in new stack
    -- Executing [s@macro-outbound-callerid:36] ExecIf("PJSIP/10-000000c0", "0?Set(CALLERID(name-pres)=prohib_passed_screen)") in new stack
    -- Executing [s@macro-outbound-callerid:37] ExecIf("PJSIP/10-000000c0", "0?Set(CALLERID(num-pres)=prohib_passed_screen)") in new stack
    -- Executing [s@macro-outbound-callerid:38] ExecIf("PJSIP/10-000000c0", "0?Set(CALLERID(name-pres)=prohib_passed_screen)") in new stack
    -- Executing [s@macro-outbound-callerid:39] ExecIf("PJSIP/10-000000c0", "0?Set(CALLERID(num-pres)=prohib_passed_screen)") in new stack
    -- Executing [s@macro-outbound-callerid:40] Set("PJSIP/10-000000c0", "CDR(outbound_cnum)=02173900xxx") in new stack
    -- Executing [s@macro-outbound-callerid:41] Set("PJSIP/10-000000c0", "CDR(outbound_cnam)=") in new stack
    -- Executing [s@macro-dialout-trunk:17] GosubIf("PJSIP/10-000000c0", "1?sub-flp-1,s,1()") in new stack
[2025-07-22 09:58:04] WARNING[1965763][C-00000040]: func_strings.c:1197 regex: Malformed input REGEX(): Invalid range end
[2025-07-22 09:58:04] WARNING[1965763][C-00000040]: ast_expr2.fl:468 ast_yyerror: ast_yyerror():  syntax error: syntax error, unexpected '=', expecting $end; Input:
 = 1
 ^
[2025-07-22 09:58:04] WARNING[1965763][C-00000040]: ast_expr2.fl:472 ast_yyerror: If you have questions, please refer to https://docs.asterisk.org/Configuration/Dialplan/Variables/Channel-Variables/
    -- Executing [s@sub-flp-1:1] ExecIf("PJSIP/10-000000c0", "?Set(TARGET_FLP_1=+041)") in new stack
[2025-07-22 09:58:04] WARNING[1965763][C-00000040]: func_strings.c:1197 regex: Malformed input REGEX(): Invalid range end
[2025-07-22 09:58:04] WARNING[1965763][C-00000040]: ast_expr2.fl:468 ast_yyerror: ast_yyerror():  syntax error: syntax error, unexpected '=', expecting $end; Input:
 = 1
 ^
[2025-07-22 09:58:04] WARNING[1965763][C-00000040]: ast_expr2.fl:472 ast_yyerror: If you have questions, please refer to https://docs.asterisk.org/Configuration/Dialplan/Variables/Channel-Variables/
    -- Executing [s@sub-flp-1:2] GotoIf("PJSIP/10-000000c0", "0?match") in new stack
    -- Executing [s@sub-flp-1:3] ExecIf("PJSIP/10-000000c0", "0?Return()") in new stack
    -- Executing [s@sub-flp-1:4] ExecIf("PJSIP/10-000000c0", "0?Set(TARGET_FLP_1=+493041)") in new stack
    -- Executing [s@sub-flp-1:5] GotoIf("PJSIP/10-000000c0", "0?match") in new stack
    -- Executing [s@sub-flp-1:6] ExecIf("PJSIP/10-000000c0", "0?Return()") in new stack
    -- Executing [s@sub-flp-1:7] ExecIf("PJSIP/10-000000c0", "1?Set(TARGET_FLP_1=+217353xxx)") in new stack
    -- Executing [s@sub-flp-1:8] GotoIf("PJSIP/10-000000c0", "1?match") in new stack
    -- Goto (sub-flp-1,s,10)
    -- Executing [s@sub-flp-1:10] Set("PJSIP/10-000000c0", "DIAL_NUMBER=+217353xxx") in new stack
    -- Executing [s@sub-flp-1:11] Return("PJSIP/10-000000c0", "") in new stack
    -- Executing [s@macro-dialout-trunk:18] Set("PJSIP/10-000000c0", "OUTNUM=+217353xxx") in new stack
    -- Executing [s@macro-dialout-trunk:19] Set("PJSIP/10-000000c0", "custom=PJSIP") in new stack
    -- Executing [s@macro-dialout-trunk:20] ExecIf("PJSIP/10-000000c0", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)Ttr)") in new stack
    -- Executing [s@macro-dialout-trunk:21] ExecIf("PJSIP/10-000000c0", "0?Set(DIAL_TRUNK_OPTIONS=TtrM(confirm))") in new stack
    -- Executing [s@macro-dialout-trunk:22] ExecIf("PJSIP/10-000000c0", "0?AGI(allowlist-autoadd.agi,)") in new stack
    -- Executing [s@macro-dialout-trunk:23] Macro("PJSIP/10-000000c0", "dialout-trunk-predial-hook,") in new stack
    -- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("PJSIP/10-000000c0", "") in new stack
    -- Executing [s@macro-dialout-trunk:24] GotoIf("PJSIP/10-000000c0", "0?bypass,1") in new stack
    -- Executing [s@macro-dialout-trunk:25] ExecIf("PJSIP/10-000000c0", "1?Set(CONNECTEDLINE(num,i)=+217353xxx)") in new stack
    -- Executing [s@macro-dialout-trunk:26] GotoIf("PJSIP/10-000000c0", "0?customtrunk") in new stack
    -- Executing [s@macro-dialout-trunk:27] ExecIf("PJSIP/10-000000c0", "0?Set(DIAL_TRUNK_OPTIONS=tr)") in new stack
    -- Executing [s@macro-dialout-trunk:28] Set("PJSIP/10-000000c0", "HASH(__SIPHEADERS,Alert-Info)=unset") in new stack
    -- Executing [s@macro-dialout-trunk:29] Dial("PJSIP/10-000000c0", "PJSIP/+217353xxx@telekom_02173900xxx,300,Ttrb(func-apply-sipheaders^s^1,(1))U(sub-send-obroute-email^+217353xxx^53xxx^1^1753171084^^02173900xxx)") in new stack
    -- PJSIP/telekom_02173900xxx-000000c1 Internal Gosub(func-apply-sipheaders,s,1(1)) start
    -- Executing [s@func-apply-sipheaders:1] NoOp("PJSIP/telekom_02173900xxx-000000c1", "Applying SIP Headers to channel PJSIP/telekom_02173900xxx-000000c1") in new stack
    -- Executing [s@func-apply-sipheaders:2] Set("PJSIP/telekom_02173900xxx-000000c1", "localchan=telekom_02173900xxx-000000c1") in new stack
    -- Executing [s@func-apply-sipheaders:3] Set("PJSIP/telekom_02173900xxx-000000c1", "DialMCEXT=telekom_02173900xxx") in new stack
    -- Executing [s@func-apply-sipheaders:4] Set("PJSIP/telekom_02173900xxx-000000c1", "CHANNEL(hangup_handler_push)=app-missedcall-hangup,telekom_02173900xxx,1") in new stack
    -- Executing [s@func-apply-sipheaders:5] Set("PJSIP/telekom_02173900xxx-000000c1", "TECH=PJSIP") in new stack
    -- Executing [s@func-apply-sipheaders:6] Set("PJSIP/telekom_02173900xxx-000000c1", "SIPHEADERKEYS=Alert-Info") in new stack
    -- Executing [s@func-apply-sipheaders:7] While("PJSIP/telekom_02173900xxx-000000c1", "1") in new stack
    -- Executing [s@func-apply-sipheaders:8] Set("PJSIP/telekom_02173900xxx-000000c1", "sipheader=unset") in new stack
    -- Executing [s@func-apply-sipheaders:9] ExecIf("PJSIP/telekom_02173900xxx-000000c1", "1?Set(PJSIP_HEADER(remove,Alert-Info)=)") in new stack
[2025-07-22 09:58:04] ERROR[112920]: res_pjsip_header_funcs.c:723 remove_header: No headers had been previously added to this session.
    -- Executing [s@func-apply-sipheaders:10] ExecIf("PJSIP/telekom_02173900xxx-000000c1", "0?Set(sipheader=<http://127.0.0.1>;info=unset)") in new stack
    -- Executing [s@func-apply-sipheaders:11] ExecIf("PJSIP/telekom_02173900xxx-000000c1", "0?Set(sipheader=<http://127.0.0.1>unset)") in new stack
    -- Executing [s@func-apply-sipheaders:12] ExecIf("PJSIP/telekom_02173900xxx-000000c1", "0?Set(PJSIP_HEADER(add,Alert-Info)=unset)") in new stack
    -- Executing [s@func-apply-sipheaders:13] EndWhile("PJSIP/telekom_02173900xxx-000000c1", "") in new stack
    -- Executing [s@func-apply-sipheaders:7] While("PJSIP/telekom_02173900xxx-000000c1", "0") in new stack
    -- Executing [s@func-apply-sipheaders:14] Return("PJSIP/telekom_02173900xxx-000000c1", "") in new stack
  == Spawn extension (from-pstn-pciheader, 53xxx, 1) exited non-zero on 'PJSIP/telekom_02173900xxx-000000c1'
    -- PJSIP/telekom_02173900xxx-000000c1 Internal Gosub(func-apply-sipheaders,s,1(1)) complete GOSUB_RETVAL=
    -- Called PJSIP/+217353xxx@telekom_02173900xxx
       > 0x7f1dd80351a0 -- Strict RTP learning after remote address set to: 217.0.160.43:35534
    -- PJSIP/telekom_02173900xxx-000000c1 is making progress passing it to PJSIP/10-000000c0
    -- PJSIP/telekom_02173900xxx-000000c1 Internal Gosub(app-missedcall-hangup,telekom_02173900xxx,1) start
    -- Executing [telekom_02173900xxx@app-missedcall-hangup:1] NoOp("PJSIP/telekom_02173900xxx-000000c1", "Dialed: telekom_02173900xxx") in new stack
    -- Executing [telekom_02173900xxx@app-missedcall-hangup:2] NoOp("PJSIP/telekom_02173900xxx-000000c1", "Caller: 10") in new stack
    -- Executing [telekom_02173900xxx@app-missedcall-hangup:3] GotoIf("PJSIP/telekom_02173900xxx-000000c1", "0?exit") in new stack
    -- Executing [telekom_02173900xxx@app-missedcall-hangup:4] Set("PJSIP/telekom_02173900xxx-000000c1", "EXTENNUM=telekom_02173900xxx") in new stack
    -- Executing [telekom_02173900xxx@app-missedcall-hangup:5] Set("PJSIP/telekom_02173900xxx-000000c1", "FEXTENNUM=telekom_02173900xxx") in new stack
    -- Executing [telekom_02173900xxx@app-missedcall-hangup:6] GotoIf("PJSIP/telekom_02173900xxx-000000c1", "0?exit") in new stack
    -- Executing [telekom_02173900xxx@app-missedcall-hangup:7] AGI("PJSIP/telekom_02173900xxx-000000c1", "agi://127.0.0.1/missedcallnotify.php,telekom_02173900xxx,,telekom_02173900xxx,0,,PJSIP/telekom_02173900xxx-000000c1,,,,") in new stack
    -- <PJSIP/telekom_02173900xxx-000000c1>AGI Script agi://127.0.0.1/missedcallnotify.php completed, returning 0
    -- Executing [telekom_02173900xxx@app-missedcall-hangup:8] Return("PJSIP/telekom_02173900xxx-000000c1", "") in new stack
  == Spawn extension (from-pstn-pciheader, 53xxx, 1) exited non-zero on 'PJSIP/telekom_02173900xxx-000000c1'
    -- PJSIP/telekom_02173900xxx-000000c1 Internal Gosub(app-missedcall-hangup,telekom_02173900xxx,1) complete GOSUB_RETVAL=
  == Everyone is busy/congested at this time (1:0/0/1)
    -- Executing [s@macro-dialout-trunk:30] NoOp("PJSIP/10-000000c0", "Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 21") in new stack
    -- Executing [s@macro-dialout-trunk:31] GotoIf("PJSIP/10-000000c0", "0?continue,1:s-CHANUNAVAIL,1") in new stack
    -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
    -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] Set("PJSIP/10-000000c0", "RC=21") in new stack
    -- Executing [s-CHANUNAVAIL@macro-dialout-trunk:2] Goto("PJSIP/10-000000c0", "21,1") in new stack
    -- Goto (macro-dialout-trunk,21,1)
    -- Executing [21@macro-dialout-trunk:1] Goto("PJSIP/10-000000c0", "continue,1") in new stack
    -- Goto (macro-dialout-trunk,continue,1)
    -- Executing [continue@macro-dialout-trunk:1] NoOp("PJSIP/10-000000c0", "TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 21 - failing through to other trunks") in new stack
    -- Executing [continue@macro-dialout-trunk:2] ExecIf("PJSIP/10-000000c0", "1?Set(CALLERID(number)=10)") in new stack
    -- Executing [53xxx@from-internal:12] Macro("PJSIP/10-000000c0", "outisbusy,") in new stack
    -- Executing [s@macro-outisbusy:1] Progress("PJSIP/10-000000c0", "") in new stack
    -- Executing [s@macro-outisbusy:2] GotoIf("PJSIP/10-000000c0", "0?emergency,1") in new stack
    -- Executing [s@macro-outisbusy:3] GotoIf("PJSIP/10-000000c0", "0?intracompany,1") in new stack
    -- Executing [s@macro-outisbusy:4] Playback("PJSIP/10-000000c0", "all-circuits-busy-now&please-try-call-later, noanswer") in new stack
       > 0x7f1da808a9e0 -- Strict RTP learning after remote address set to: 192.168.140.30:30060
    -- <PJSIP/10-000000c0> Playing 'all-circuits-busy-now.g722' (language 'de_custom')
       > 0x7f1da808a9e0 -- Strict RTP switching to RTP target address 192.168.140.30:30060 as source
    -- <PJSIP/10-000000c0> Playing 'please-try-call-later.g722' (language 'de_custom')
  == Spawn extension (macro-outisbusy, s, 4) exited non-zero on 'PJSIP/10-000000c0' in macro 'outisbusy'
  == Spawn extension (from-internal, 53xxx, 12) exited non-zero on 'PJSIP/10-000000c0'
    -- Executing [h@from-internal:1] Macro("PJSIP/10-000000c0", "hangupcall") in new stack
    -- Executing [s@macro-hangupcall:1] Set("PJSIP/10-000000c0", "__MCVMSTATUS=") in new stack
    -- Executing [s@macro-hangupcall:2] Gosub("PJSIP/10-000000c0", "app-missedcall-hangup,s,1()") in new stack
    -- Executing [s@app-missedcall-hangup:1] NoOp("PJSIP/10-000000c0", "Dialed: s") in new stack
    -- Executing [s@app-missedcall-hangup:2] NoOp("PJSIP/10-000000c0", "Caller: 10") in new stack
    -- Executing [s@app-missedcall-hangup:3] GotoIf("PJSIP/10-000000c0", "0?exit") in new stack
    -- Executing [s@app-missedcall-hangup:4] Set("PJSIP/10-000000c0", "EXTENNUM=s") in new stack
    -- Executing [s@app-missedcall-hangup:5] Set("PJSIP/10-000000c0", "FEXTENNUM=s") in new stack
    -- Executing [s@app-missedcall-hangup:6] GotoIf("PJSIP/10-000000c0", "0?exit") in new stack
    -- Executing [s@app-missedcall-hangup:7] AGI("PJSIP/10-000000c0", "agi://127.0.0.1/missedcallnotify.php,s,,s,0,,PJSIP/10-000000c0,CHANUNAVAIL,,,") in new stack
    -- <PJSIP/10-000000c0>AGI Script agi://127.0.0.1/missedcallnotify.php completed, returning 0
    -- Executing [s@app-missedcall-hangup:8] Return("PJSIP/10-000000c0", "") in new stack
    -- Executing [s@macro-hangupcall:3] GotoIf("PJSIP/10-000000c0", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,5)
    -- Executing [s@macro-hangupcall:5] ExecIf("PJSIP/10-000000c0", "0?Set(CDR(recordingfile)=)") in new stack
    -- Executing [s@macro-hangupcall:6] Hangup("PJSIP/10-000000c0", "") in new stack
  == Spawn extension (macro-hangupcall, s, 6) exited non-zero on 'PJSIP/10-000000c0' in macro 'hangupcall'
  == Spawn extension (from-internal, h, 1) exited non-zero on 'PJSIP/10-000000c0'
Der folgende Eintrag kommt mir im Asterisk CLI komisch vor:
Code:
- Executing [s@sub-flp-1:4] ExecIf("PJSIP/10-000000c0", "0?Set(TARGET_FLP_1=+493041)") in new stack
Nach dem "+49" die Nummern dahinter stimmen nicht mit der Nummer die ich angerufen habe überein. Es fehlt die Vorwahl und die Rufnummer ist nicht vollständig. Zwei Zahlen fehlen. Heißt der Eintrag das die Wahl der Nummern nicht erlaubt ist?

Gruß von Stefan Harbich
 
Mein Tipp: Das aus Protokoll-Ebene mitschneiden, also per Wireshark und dann dessen VoIP/SIP-Tools zur Darstellung nutzen. Wenn die Gegenseite klingelt, dann ist ja erstmal alles richtig. Vielleicht schickt der Telefonie-Anbieter irgendein Update bzw. PRACK. Welcher ist es überhaupt?
 
Kostenlos!

Statistik des Forums

Themen
248,906
Beiträge
2,304,668
Mitglieder
378,613
Neuestes Mitglied
RaiKra