i am having an issue tracking down the error … outbound route / inbound route / trunks are config with didforsale
my cli kicks back the following when i attempt a outbound call – just can’t figure out where something is missing in the config … any help would be great
Blockquote
terisk 18.13.0, Copyright (C) 1999 - 2021, Sangoma Technologies Corporation an d others.
Created by Mark Spencer <[email protected]>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for detail s.
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.
=========================================================================
Connected to Asterisk 18.13.0 currently running on freepbx (pid = 2402)
-- Remote UNIX connection
== Using SIP RTP Audio TOS bits 184
== Using SIP RTP Audio TOS bits 184 in TCLASS field.
== Using SIP RTP Audio CoS mark 5
-- Executing [5552124306@from-internal:1] Macro("PJSIP/5102-000000ce", "user-callerid,LIMIT,EXTERNAL,") in new stack
-- Executing [s@macro-user-callerid:1] Set("PJSIP/5102-000000ce", "TOUCH_MONITOR=1668892406.206") in new stack
-- Executing [s@macro-user-callerid:2] Set("PJSIP/5102-000000ce", "CHANCONTEXT=") in new stack
-- Executing [s@macro-user-callerid:3] Set("PJSIP/5102-000000ce", "CHANCONTEXT=") in new stack
-- Executing [s@macro-user-callerid:4] Set("PJSIP/5102-000000ce", "CHANEXTENCONTEXT=5102-000000ce") in new stack
-- Executing [s@macro-user-callerid:5] Set("PJSIP/5102-000000ce", "CHANEXTEN=5102-000000ce") in new stack
-- Executing [s@macro-user-callerid:6] Set("PJSIP/5102-000000ce", "CALLERID(number)=5102") in new stack
-- Executing [s@macro-user-callerid:7] Set("PJSIP/5102-000000ce", "AMPUSER=5102") in new stack
-- Executing [s@macro-user-callerid:8] Set("PJSIP/5102-000000ce", "HOTDESCKCHAN=5102-000000ce") in new stack
-- Executing [s@macro-user-callerid:9] Set("PJSIP/5102-000000ce", "HOTDESKEXTEN=5102") in new stack
-- Executing [s@macro-user-callerid:10] Set("PJSIP/5102-000000ce", "HOTDESKCALL=0") in new stack
-- Executing [s@macro-user-callerid:11] ExecIf("PJSIP/5102-000000ce", "0?Set(HOTDESKCALL=1)") in new stack
-- Executing [s@macro-user-callerid:12] ExecIf("PJSIP/5102-000000ce", "0?Set(CALLERID(name)=)") in new stack
-- Executing [s@macro-user-callerid:13] GotoIf("PJSIP/5102-000000ce", "0?report") in new stack
-- Executing [s@macro-user-callerid:14] ExecIf("PJSIP/5102-000000ce", "1?Set(REALCALLERIDNUM=5102)") in new stack
-- Executing [s@macro-user-callerid:15] Set("PJSIP/5102-000000ce", "AMPUSER=5102") in new stack
-- Executing [s@macro-user-callerid:16] GotoIf("PJSIP/5102-000000ce", "0?limit") in new stack
-- Executing [s@macro-user-callerid:17] Set("PJSIP/5102-000000ce", "AMPUSERCIDNAME=5102") in new stack
-- Executing [s@macro-user-callerid:18] ExecIf("PJSIP/5102-000000ce", "0?Set(__CIDMASQUERADING=TRUE)") in new stack
-- Executing [s@macro-user-callerid:19] GotoIf("PJSIP/5102-000000ce", "0?report") in new stack
-- Executing [s@macro-user-callerid:20] Set("PJSIP/5102-000000ce", "AMPUSERCID=5102") in new stack
-- Executing [s@macro-user-callerid:21] Set("PJSIP/5102-000000ce", "__DIAL_OPTIONS=HhTtr") in new stack
-- Executing [s@macro-user-callerid:22] Set("PJSIP/5102-000000ce", "CALLERID(all)="5102" <5102>") in new stack
-- Executing [s@macro-user-callerid:23] ExecIf("PJSIP/5102-000000ce", "0?Set(CUSDIAL=)") in new stack
-- Executing [s@macro-user-callerid:24] ExecIf("PJSIP/5102-000000ce", "0?Set(CALLERID(all)="5102" <5102>)") in new stack
-- Executing [s@macro-user-callerid:25] GotoIf("PJSIP/5102-000000ce", "0?limit") in new stack
-- Executing [s@macro-user-callerid:26] ExecIf("PJSIP/5102-000000ce", "1?Set(GROUP(concurrency_limit)=5102)") in new stack
-- Executing [s@macro-user-callerid:27] ExecIf("PJSIP/5102-000000ce", "0?Set(CHANNEL(language)=)") in new stack
-- Executing [s@macro-user-callerid:28] NoOp("PJSIP/5102-000000ce", "Macro Depth is 1") in new stack
-- Executing [s@macro-user-callerid:29] GotoIf("PJSIP/5102-000000ce", "1?report2:macroerror") in new stack
-- Goto (macro-user-callerid,s,30)
-- Executing [s@macro-user-callerid:30] GotoIf("PJSIP/5102-000000ce", "1?continue") in new stack
-- Goto (macro-user-callerid,s,49)
-- Executing [s@macro-user-callerid:49] Set("PJSIP/5102-000000ce", "CALLERID(number)=5102") in new stack
-- Executing [s@macro-user-callerid:50] Set("PJSIP/5102-000000ce", "CALLERID(name)=5102") in new stack
-- Executing [s@macro-user-callerid:51] GotoIf("PJSIP/5102-000000ce", "0?cnum") in new stack
-- Executing [s@macro-user-callerid:52] Set("PJSIP/5102-000000ce", "CDR(cnam)=5102") in new stack
-- Executing [s@macro-user-callerid:53] Set("PJSIP/5102-000000ce", "CDR(cnum)=5102") in new stack
-- Executing [s@macro-user-callerid:54] Set("PJSIP/5102-000000ce", "CHANNEL(language)=en") in new stack
-- Executing [3476574306@from-internal:2] Gosub("PJSIP/5102-000000ce", "sub-record-check,s,1(out,3476574306,dontcare)") in new stack
-- Executing [s@sub-record-check:1] GotoIf("PJSIP/5102-000000ce", "0?initialized") in new stack
-- Executing [s@sub-record-check:2] Set("PJSIP/5102-000000ce", "__REC_STATUS=INITIALIZED") in new stack
-- Executing [s@sub-record-check:3] Set("PJSIP/5102-000000ce", "NOW=1668892406") in new stack
-- Executing [s@sub-record-check:4] Set("PJSIP/5102-000000ce", "__DAY=19") in new stack
-- Executing [s@sub-record-check:5] Set("PJSIP/5102-000000ce", "__MONTH=11") in new stack
-- Executing [s@sub-record-check:6] Set("PJSIP/5102-000000ce", "__YEAR=2022") in new stack
-- Executing [s@sub-record-check:7] Set("PJSIP/5102-000000ce", "__TIMESTR=20221119-211326") in new stack
-- Executing [s@sub-record-check:8] Set("PJSIP/5102-000000ce", "__FROMEXTEN=5102") in new stack
-- Executing [s@sub-record-check:9] Set("PJSIP/5102-000000ce", "__MON_FMT=wav") in new stack
-- Executing [s@sub-record-check:10] NoOp("PJSIP/5102-000000ce", "Recordings initialized") in new stack
-- Executing [s@sub-record-check:11] ExecIf("PJSIP/5102-000000ce", "0?Set(ARG3=dontcare)") in new stack
-- Executing [s@sub-record-check:12] Set("PJSIP/5102-000000ce", "REC_POLICY_MODE_SAVE=") in new stack
-- Executing [s@sub-record-check:13] ExecIf("PJSIP/5102-000000ce", "0?Set(REC_STATUS=NO)") in new stack
-- Executing [s@sub-record-check:14] GotoIf("PJSIP/5102-000000ce", "3?checkaction") in new stack
-- Goto (sub-record-check,s,17)
-- Executing [s@sub-record-check:17] GotoIf("PJSIP/5102-000000ce", "1?sub-record-check,out,1") in new stack
-- Goto (sub-record-check,out,1)
-- Executing [out@sub-record-check:1] NoOp("PJSIP/5102-000000ce", "Outbound Recording Check from 5102 to 3476574306") in new stack
-- Executing [out@sub-record-check:2] Set("PJSIP/5102-000000ce", "RECMODE=dontcare") in new stack
-- Executing [out@sub-record-check:3] ExecIf("PJSIP/5102-000000ce", "1?Goto(routewins)") in new stack
-- Goto (sub-record-check,out,7)
-- Executing [out@sub-record-check:7] Gosub("PJSIP/5102-000000ce", "recordcheck,1(dontcare,out,3476574306)") in new stack
-- Executing [recordcheck@sub-record-check:1] NoOp("PJSIP/5102-000000ce", "Starting recording check against dontcare") in new stack
-- Executing [recordcheck@sub-record-check:2] Goto("PJSIP/5102-000000ce", "dontcare") in new stack
-- Goto (sub-record-check,recordcheck,3)
-- Executing [recordcheck@sub-record-check:3] Return("PJSIP/5102-000000ce", "") in new stack
-- Executing [out@sub-record-check:8] Return("PJSIP/5102-000000ce", "") in new stack
-- Executing [3476574306@from-internal:3] ExecIf("PJSIP/5102-000000ce", "0 ?Set(CDR(accountcode)=)") in new stack
-- Executing [3476574306@from-internal:4] Set("PJSIP/5102-000000ce", "_ROUTEID=3") in new stack
-- Executing [3476574306@from-internal:5] Set("PJSIP/5102-000000ce", "_ROUTENAME=OUT2") in new stack
-- Executing [3476574306@from-internal:6] Set("PJSIP/5102-000000ce", "MOHCLASS=default") in new stack
-- Executing [3476574306@from-internal:7] ExecIf("PJSIP/5102-000000ce", "0?Set(TRUNKCIDOVERRIDE=<9294995454>)") in new stack
-- Executing [3476574306@from-internal:8] Set("PJSIP/5102-000000ce", "_CALLERIDNAMEINTERNAL=5102") in new stack
-- Executing [3476574306@from-internal:9] Set("PJSIP/5102-000000ce", "_CALLERIDNUMINTERNAL=5102") in new stack
-- Executing [3476574306@from-internal:10] Set("PJSIP/5102-000000ce", "_EMAILNOTIFICATION=FALSE") in new stack
-- Executing [3476574306@from-internal:11] Set("PJSIP/5102-000000ce", "_NODEST=") in new stack
-- Executing [3476574306@from-internal:12] Macro("PJSIP/5102-000000ce", "dialout-trunk,1,3476574306,,off") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("PJSIP/5102-000000ce", "DIAL_TRUNK=1") in new stack
-- Executing [s@macro-dialout-trunk:2] ExecIf("PJSIP/5102-000000ce", "0?Set(DIAL_OPTIONS=Hhtr)") in new stack
-- Executing [s@macro-dialout-trunk:3] GosubIf("PJSIP/5102-000000ce", "0?sub-pincheck,s,1()") in new stack
-- Executing [s@macro-dialout-trunk:4] ExecIf("PJSIP/5102-000000ce", "0?Set(CALLERID(num)=5102)") in new stack
-- Executing [s@macro-dialout-trunk:5] GotoIf("PJSIP/5102-000000ce", "0?disabletrunk,1") in new stack
-- Executing [s@macro-dialout-trunk:6] Set("PJSIP/5102-000000ce", "DIAL_NUMBER=3476574306") in new stack
-- Executing [s@macro-dialout-trunk:7] Set("PJSIP/5102-000000ce", "DIAL_TRUNK_OPTIONS=HhTtr") in new stack
-- Executing [s@macro-dialout-trunk:8] Set("PJSIP/5102-000000ce", "OUTBOUND_GROUP=OUT_1") in new stack
-- Executing [s@macro-dialout-trunk:9] Set("PJSIP/5102-000000ce", "DIAL_TRUNK_OPTIONS=T") in new stack
-- Executing [s@macro-dialout-trunk:10] GotoIf("PJSIP/5102-000000ce", "0?nomax") in new stack
-- Executing [s@macro-dialout-trunk:11] GotoIf("PJSIP/5102-000000ce", "0?chanfull") in new stack
-- Executing [s@macro-dialout-trunk:12] GotoIf("PJSIP/5102-000000ce", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:13] Macro("PJSIP/5102-000000ce", "outbound-callerid,1") in new stack
-- Executing [s@macro-outbound-callerid:1] NoOp("PJSIP/5102-000000ce", "5102") in new stack
-- Executing [s@macro-outbound-callerid:2] NoOp("PJSIP/5102-000000ce", "") in new stack
-- Executing [s@macro-outbound-callerid:3] NoOp("PJSIP/5102-000000ce", "off") in new stack
-- Executing [s@macro-outbound-callerid:4] ExecIf("PJSIP/5102-000000ce", "0?Set(CALLERID(name-pres)=)") in new stack
-- Executing [s@macro-outbound-callerid:5] ExecIf("PJSIP/5102-000000ce", "0?Set(CALLERID(num-pres)=)") in new stack
-- Executing [s@macro-outbound-callerid:6] Set("PJSIP/5102-000000ce", "HOTDESCKCHAN=5102-000000ce") in new stack
-- Executing [s@macro-outbound-callerid:7] Set("PJSIP/5102-000000ce", "HOTDESKEXTEN=5102") in new stack
-- Executing [s@macro-outbound-callerid:8] Set("PJSIP/5102-000000ce", "HOTDESKCALL=0") in new stack
-- Executing [s@macro-outbound-callerid:9] ExecIf("PJSIP/5102-000000ce", "0?Set(HOTDESKCALL=1)") in new stack
-- Executing [s@macro-outbound-callerid:10] ExecIf("PJSIP/5102-000000ce", "0?Set(CALLERID(name)=)") in new stack
-- Executing [s@macro-outbound-callerid:11] Set("PJSIP/5102-000000ce", "ALLOWTHISROUTE=NO") in new stack
-- Executing [s@macro-outbound-callerid:12] ExecIf("PJSIP/5102-000000ce", "0?Set(ALLOWTHISROUTE=YES)") in new stack
-- Executing [s@macro-outbound-callerid:13] ExecIf("PJSIP/5102-000000ce", "0?Hangup()") in new stack
-- Executing [s@macro-outbound-callerid:14] ExecIf("PJSIP/5102-000000ce", "0?Set(REALCALLERIDNUM=5102)") in new stack
-- Executing [s@macro-outbound-callerid:15] ExecIf("PJSIP/5102-000000ce", "0?Set(AMPUSER=5102)") in new stack
-- Executing [s@macro-outbound-callerid:16] GotoIf("PJSIP/5102-000000ce", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,20)
-- Executing [s@macro-outbound-callerid:20] Set("PJSIP/5102-000000ce", "USEROUTCID=<5102>") in new stack
-- Executing [s@macro-outbound-callerid:21] Set("PJSIP/5102-000000ce", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:22] ExecIf("PJSIP/5102-000000ce", "0?Set(SCDEXT=YES)") in new stack
-- Executing [s@macro-outbound-callerid:23] ExecIf("PJSIP/5102-000000ce", "0?Set(EMERGENCYCID=)") in new stack
-- Executing [s@macro-outbound-callerid:24] ExecIf("PJSIP/5102-000000ce", "0?Set(CALLERID(name)=)") in new stack
-- Executing [s@macro-outbound-callerid:25] ExecIf("PJSIP/5102-000000ce", "0?Set(EMERGENCYCID=)") in new stack
-- Executing [s@macro-outbound-callerid:26] Set("PJSIP/5102-000000ce", "TRUNKOUTCID=9294995454") in new stack
-- Executing [s@macro-outbound-callerid:27] GotoIf("PJSIP/5102-000000ce", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,33)
-- Executing [s@macro-outbound-callerid:33] ExecIf("PJSIP/5102-000000ce", "1?Set(CALLERID(all)=9294995454)") in new stack
-- Executing [s@macro-outbound-callerid:34] ExecIf("PJSIP/5102-000000ce", "1?Set(CALLERID(all)=<5102>)") in new stack
-- Executing [s@macro-outbound-callerid:35] ExecIf("PJSIP/5102-000000ce", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:36] ExecIf("PJSIP/5102-000000ce", "0?Set(CALLERID(all)=5102)") in new stack
-- Executing [s@macro-outbound-callerid:37] ExecIf("PJSIP/5102-000000ce", "0?Set(CALLERID(all)=5102)") in new stack
-- Executing [s@macro-outbound-callerid:38] Set("PJSIP/5102-000000ce", "TIOHIDE=no") in new stack
-- Executing [s@macro-outbound-callerid:39] ExecIf("PJSIP/5102-000000ce", "0?Set(CALLERID(name-pres)=prohib_passed_screen)") in new stack
-- Executing [s@macro-outbound-callerid:40] ExecIf("PJSIP/5102-000000ce", "0?Set(CALLERID(num-pres)=prohib_passed_screen)") in new stack
-- Executing [s@macro-outbound-callerid:41] ExecIf("PJSIP/5102-000000ce", "0?Set(CALLERID(name-pres)=prohib_passed_screen)") in new stack
-- Executing [s@macro-outbound-callerid:42] ExecIf("PJSIP/5102-000000ce", "0?Set(CALLERID(num-pres)=prohib_passed_screen)") in new stack
-- Executing [s@macro-outbound-callerid:43] Set("PJSIP/5102-000000ce", "CDR(outbound_cnum)=5102") in new stack
-- Executing [s@macro-outbound-callerid:44] Set("PJSIP/5102-000000ce", "CDR(outbound_cnam)=") in new stack
-- Executing [s@macro-dialout-trunk:14] GosubIf("PJSIP/5102-000000ce", "1?sub-flp-1,s,1()") in new stack
-- Executing [s@sub-flp-1:1] ExecIf("PJSIP/5102-000000ce", "1?Set(TARGET_FLP_1=13476574306)") in new stack
-- Executing [s@sub-flp-1:2] GotoIf("PJSIP/5102-000000ce", "1?match") in new stack
-- Goto (sub-flp-1,s,4)
-- Executing [s@sub-flp-1:4] Set("PJSIP/5102-000000ce", "DIAL_NUMBER=13476574306") in new stack
-- Executing [s@sub-flp-1:5] Return("PJSIP/5102-000000ce", "") in new stack
-- Executing [s@macro-dialout-trunk:15] Set("PJSIP/5102-000000ce", "OUTNUM=13476574306") in new stack
-- Executing [s@macro-dialout-trunk:16] Set("PJSIP/5102-000000ce", "custom=PJSIP") in new stack
-- Executing [s@macro-dialout-trunk:17] ExecIf("PJSIP/5102-000000ce", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)T)") in new stack
-- Executing [s@macro-dialout-trunk:18] ExecIf("PJSIP/5102-000000ce", "0?Set(DIAL_TRUNK_OPTIONS=TM(confirm))") in new stack
-- Executing [s@macro-dialout-trunk:19] GotoIf("PJSIP/5102-000000ce", "1?gocall") in new stack
-- Goto (macro-dialout-trunk,s,21)
-- Executing [s@macro-dialout-trunk:21] Macro("PJSIP/5102-000000ce", "dialout-trunk-predial-hook,") in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("PJSIP/5102-000000ce", "") in new stack
-- Executing [s@macro-dialout-trunk:22] GotoIf("PJSIP/5102-000000ce", "0?skipcrm") in new stack
-- Executing [s@macro-dialout-trunk:23] Set("PJSIP/5102-000000ce", "__CRM_DIRECTION=OUTBOUND") in new stack
-- Executing [s@macro-dialout-trunk:24] Set("PJSIP/5102-000000ce", "__CRM_DESTINATION=13476574306") in new stack
-- Executing [s@macro-dialout-trunk:25] Set("PJSIP/5102-000000ce", "__CRM_SOURCE=5102") in new stack
-- Executing [s@macro-dialout-trunk:26] AGI("PJSIP/5102-000000ce", "agi://127.0.0.1/sangomacrm.agi") in new stack
-- <PJSIP/5102-000000ce>AGI Script agi://127.0.0.1/sangomacrm.agi completed, returning 0
-- Executing [s@macro-dialout-trunk:27] Set("PJSIP/5102-000000ce", "CHANNEL(hangup_handler_push)=crm-hangup,s,1") in new stack
-- Executing [s@macro-dialout-trunk:28] NoOp("PJSIP/5102-000000ce", "CRM Finished") in new stack
-- Executing [s@macro-dialout-trunk:29] GotoIf("PJSIP/5102-000000ce", "0?bypass,1") in new stack
-- Executing [s@macro-dialout-trunk:30] ExecIf("PJSIP/5102-000000ce", "1?Set(CONNECTEDLINE(num,i)=13476574306)") in new stack
-- Executing [s@macro-dialout-trunk:31] ExecIf("PJSIP/5102-000000ce", "1?Set(CONNECTEDLINE(name,i)=CID:5102)") in new stack
-- Executing [s@macro-dialout-trunk:32] ExecIf("PJSIP/5102-000000ce", "0?Set(CONNECTEDLINE(name,i)=CID:(Hidden)5102)") in new stack
-- Executing [s@macro-dialout-trunk:33] GotoIf("PJSIP/5102-000000ce", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:34] ExecIf("PJSIP/5102-000000ce", "0?Set(DIAL_TRUNK_OPTIONS=)") in new stack
-- Executing [s@macro-dialout-trunk:35] Set("PJSIP/5102-000000ce", "HASH(__SIPHEADERS,Alert-Info)=unset") in new stack
-- Executing [s@macro-dialout-trunk:36] Dial("PJSIP/5102-000000ce", "PJSIP/13476574306@1001410867_19294195454,300,Tb(func-apply-sipheaders^s^1,(1))U(sub-send-obroute-email^13476574306^3476574306^1^1668892406^^5102)") in new stack
-- PJSIP/1001410867_19294195454-000000cf Internal Gosub(func-apply-sipheaders,s,1(1)) start
-- Executing [s@func-apply-sipheaders:1] ExecIf("PJSIP/1001410867_19294195454-000000cf", "0?Set(CHANNEL(hangup_handler_push)=crm-hangup,s,1)") in new stack
-- Executing [s@func-apply-sipheaders:2] NoOp("PJSIP/1001410867_19294195454-000000cf", "Applying SIP Headers to channel PJSIP/1001410867_19294195454-000000cf") in new stack
-- Executing [s@func-apply-sipheaders:3] Set("PJSIP/1001410867_19294195454-000000cf", "TECH=PJSIP") in new stack
-- Executing [s@func-apply-sipheaders:4] Set("PJSIP/1001410867_19294195454-000000cf", "SIPHEADERKEYS=Alert-Info") in new stack
-- Executing [s@func-apply-sipheaders:5] While("PJSIP/1001410867_19294195454-000000cf", "1") in new stack
-- Executing [s@func-apply-sipheaders:6] Set("PJSIP/1001410867_19294195454-000000cf", "sipheader=unset") in new stack
-- Executing [s@func-apply-sipheaders:7] ExecIf("PJSIP/1001410867_19294195454-000000cf", "1?Set(PJSIP_HEADER(remove,Alert-Info)=)") in new stack
[2022-11-19 21:13:26] ERROR[13201]: res_pjsip_header_funcs.c:546 remove_header: No headers had been previously added to this session.
-- Executing [s@func-apply-sipheaders:8] ExecIf("PJSIP/1001410867_19294195454-000000cf", "0?Set(sipheader=<http://127.0.0.1>;info=unset)") in new stack
-- Executing [s@func-apply-sipheaders:9] ExecIf("PJSIP/1001410867_19294195454-000000cf", "0?Set(sipheader=<http://127.0.0.1>unset)") in new stack
-- Executing [s@func-apply-sipheaders:10] ExecIf("PJSIP/1001410867_19294195454-000000cf", "0?Set(PJSIP_HEADER(add,Alert-Info)=unset)") in new stack
-- Executing [s@func-apply-sipheaders:11] EndWhile("PJSIP/1001410867_19294195454-000000cf", "") in new stack
-- Executing [s@func-apply-sipheaders:5] While("PJSIP/1001410867_19294195454-000000cf", "0") in new stack
-- Executing [s@func-apply-sipheaders:12] Return("PJSIP/1001410867_19294195454-000000cf", "") in new stack
== Spawn extension (from-pstn, 3476574306, 1) exited non-zero on 'PJSIP/1001410867_19294195454-000000cf'
-- PJSIP/1001410867_19294195454-000000cf Internal Gosub(func-apply-sipheaders,s,1(1)) complete GOSUB_RETVAL=
-- Called PJSIP/13476574306@1001410867_19294195454
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [s@macro-dialout-trunk:37] NoOp("PJSIP/5102-000000ce", "Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 21") in new stack
-- Executing [s@macro-dialout-trunk:38] GotoIf("PJSIP/5102-000000ce", "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/5102-000000ce", "RC=21") in new stack
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk:2] Goto("PJSIP/5102-000000ce", "21,1") in new stack
-- Goto (macro-dialout-trunk,21,1)
-- Executing [21@macro-dialout-trunk:1] Goto("PJSIP/5102-000000ce", "continue,1") in new stack
-- Goto (macro-dialout-trunk,continue,1)
-- Executing [continue@macro-dialout-trunk:1] NoOp("PJSIP/5102-000000ce", "TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 21 - failing through to other trunks") in new stack
-- Executing [continue@macro-dialout-trunk:2] ExecIf("PJSIP/5102-000000ce", "1?Set(CALLERID(number)=5102)") in new stack
-- Executing [3476574306@from-internal:13] Macro("PJSIP/5102-000000ce", "outisbusy,") in new stack
-- Executing [s@macro-outisbusy:1] Progress("PJSIP/5102-000000ce", "") in new stack
-- Executing [s@macro-outisbusy:2] GotoIf("PJSIP/5102-000000ce", "0?emergency,1") in new stack
-- Executing [s@macro-outisbusy:3] GotoIf("PJSIP/5102-000000ce", "0?intracompany,1") in new stack
-- Executing [s@macro-outisbusy:4] Playback("PJSIP/5102-000000ce", "all-circuits-busy-now&please-try-call-later, noanswer") in new stack
> 0x7f83c0030360 -- Strict RTP learning after remote address set to: 10.100.10.230:53738
-- <PJSIP/5102-000000ce> Playing 'all-circuits-busy-now.g722' (language 'en')
> 0x7f83c0030360 -- Strict RTP switching to RTP target address 10.100.10.230:53738 as source
-- <PJSIP/5102-000000ce> Playing 'please-try-call-later.ulaw' (language 'en')
-- Executing [h@from-internal:1] Macro("PJSIP/5102-000000ce", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("PJSIP/5102-000000ce", "1?theend") in new stack
-- Goto (macro-hangupcall,s,3)
-- Executing [s@macro-hangupcall:3] ExecIf("PJSIP/5102-000000ce", "0?Set(CDR(recordingfile)=)") in new stack
-- Executing [s@macro-hangupcall:4] Hangup("PJSIP/5102-000000ce", "") in new stack
== Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'PJSIP/5102-000000ce' in macro 'hangupcall'
== Spawn extension (from-internal, h, 1) exited non-zero on 'PJSIP/5102-000000ce'
-- PJSIP/5102-000000ce Internal Gosub(crm-hangup,s,1) start
-- Executing [s@crm-hangup:1] NoOp("PJSIP/5102-000000ce", "Sending Hangup to CRM") in new stack
-- Executing [s@crm-hangup:2] NoOp("PJSIP/5102-000000ce", "HANGUP CAUSE: 21") in new stack
-- Executing [s@crm-hangup:3] ExecIf("PJSIP/5102-000000ce", "0?Set(__CRM_VOICEMAIL=)") in new stack
-- Executing [s@crm-hangup:4] NoOp("PJSIP/5102-000000ce", "MASTER CHANNEL: 1668892406.206 = 1668892406.206") in new stack
-- Executing [s@crm-hangup:5] GotoIf("PJSIP/5102-000000ce", "0?return") in new stack
-- Executing [s@crm-hangup:6] Set("PJSIP/5102-000000ce", "__CRM_HANGUP=1") in new stack
-- Executing [s@crm-hangup:7] AGI("PJSIP/5102-000000ce", "agi://127.0.0.1/sangomacrm.agi") in new stack
-- <PJSIP/5102-000000ce>AGI Script agi://127.0.0.1/sangomacrm.agi completed, returning 0
-- Executing [s@crm-hangup:8] Return("PJSIP/5102-000000ce", "") in new stack
== Spawn extension (from-internal, h, 1) exited non-zero on 'PJSIP/5102-000000ce'
-- PJSIP/5102-000000ce Internal Gosub(crm-hangup,s,1) complete GOSUB_RETVAL=
freepbx*CLI>
Blockquote