Hi Guys,
I have a problem with my Outbound Route.
I use FreePBX with Asterisk.
So let’s go to the problem.
Here in my country Brazil, to make calls in the same city we just use the pattern xxxx-xxxx, if we make a call that is in another city or state we have to use the DDD code, so the pattern is something like 0yy-xxxx-xxxx.
In my FreePbx/Asterisk config, we have an Outbound route to make calls to other cities:
So when I make a call with DDD 24 I disk the number 24xxxxxxxx in my fone and then the number fits in the last line 0ZXNXXXXXXX but I received the message Everyone is busy now.
But if I call from my cellphone with the same pattern it works.
So my full asterisk log is below:
-- Executing [24xxxxxxxx@from-internal:1] Macro("PJSIP/223-000026e0", "user-callerid,LIMIT,EXTERNAL,") in new stack
-- Executing [s@macro-user-callerid:1] Set("PJSIP/223-000026e0", "TOUCH_MONITOR=1722357721.11910") in new stack
-- Executing [s@macro-user-callerid:2] Set("PJSIP/223-000026e0", "CHANCONTEXT=") in new stack
-- Executing [s@macro-user-callerid:3] Set("PJSIP/223-000026e0", "CHANCONTEXT=") in new stack
-- Executing [s@macro-user-callerid:4] Set("PJSIP/223-000026e0", "CHANEXTENCONTEXT=223-000026e0") in new stack
-- Executing [s@macro-user-callerid:5] Set("PJSIP/223-000026e0", "CHANEXTEN=223-000026e0") in new stack
-- Executing [s@macro-user-callerid:6] Set("PJSIP/223-000026e0", "CALLERID(number)=223") in new stack
-- Executing [s@macro-user-callerid:7] Set("PJSIP/223-000026e0", "AMPUSER=223") in new stack
-- Executing [s@macro-user-callerid:8] Set("PJSIP/223-000026e0", "HOTDESCKCHAN=223-000026e0") in new stack
-- Executing [s@macro-user-callerid:9] Set("PJSIP/223-000026e0", "HOTDESKEXTEN=223") in new stack
-- Executing [s@macro-user-callerid:10] Set("PJSIP/223-000026e0", "HOTDESKCALL=0") in new stack
-- Executing [s@macro-user-callerid:11] ExecIf("PJSIP/223-000026e0", "0?Set(HOTDESKCALL=1)") in new stack
-- Executing [s@macro-user-callerid:12] ExecIf("PJSIP/223-000026e0", "0?Set(CALLERID(name)=)") in new stack
-- Executing [s@macro-user-callerid:13] GotoIf("PJSIP/223-000026e0", "0?report") in new stack
-- Executing [s@macro-user-callerid:14] ExecIf("PJSIP/223-000026e0", "1?Set(REALCALLERIDNUM=223)") in new stack
-- Executing [s@macro-user-callerid:15] Set("PJSIP/223-000026e0", "AMPUSER=223") in new stack
-- Executing [s@macro-user-callerid:16] GotoIf("PJSIP/223-000026e0", "0?limit") in new stack
-- Executing [s@macro-user-callerid:17] Set("PJSIP/223-000026e0", "AMPUSERCIDNAME=Anderson") in new stack
-- Executing [s@macro-user-callerid:18] ExecIf("PJSIP/223-000026e0", "0?Set(__CIDMASQUERADING=TRUE)") in new stack
-- Executing [s@macro-user-callerid:19] GotoIf("PJSIP/223-000026e0", "0?report") in new stack
-- Executing [s@macro-user-callerid:20] Set("PJSIP/223-000026e0", "AMPUSERCID=223") in new stack
-- Executing [s@macro-user-callerid:21] Set("PJSIP/223-000026e0", "__DIAL_OPTIONS=HhTtr") in new stack
-- Executing [s@macro-user-callerid:22] Set("PJSIP/223-000026e0", "CALLERID(all)="Anderson" <223>") in new stack
-- Executing [s@macro-user-callerid:23] ExecIf("PJSIP/223-000026e0", "0?Set(CUSDIAL=)") in new stack
-- Executing [s@macro-user-callerid:24] ExecIf("PJSIP/223-000026e0", "0?Set(CALLERID(all)="Anderson" <223>)") in new stack
-- Executing [s@macro-user-callerid:25] GotoIf("PJSIP/223-000026e0", "0?limit") in new stack
-- Executing [s@macro-user-callerid:26] ExecIf("PJSIP/223-000026e0", "1?Set(GROUP(concurrency_limit)=223)") in new stack
-- Executing [s@macro-user-callerid:27] ExecIf("PJSIP/223-000026e0", "0?Set(CHANNEL(language)=)") in new stack
-- Executing [s@macro-user-callerid:28] NoOp("PJSIP/223-000026e0", "Macro Depth is 1") in new stack
-- Executing [s@macro-user-callerid:29] GotoIf("PJSIP/223-000026e0", "1?report2:macroerror") in new stack
-- Goto (macro-user-callerid,s,30)
-- Executing [s@macro-user-callerid:30] GotoIf("PJSIP/223-000026e0", "1?continue") in new stack
-- Goto (macro-user-callerid,s,49)
-- Executing [s@macro-user-callerid:49] Set("PJSIP/223-000026e0", "CALLERID(number)=223") in new stack
-- Executing [s@macro-user-callerid:50] Set("PJSIP/223-000026e0", "CALLERID(name)=Anderson") in new stack
-- Executing [s@macro-user-callerid:51] GotoIf("PJSIP/223-000026e0", "0?cnum") in new stack
-- Executing [s@macro-user-callerid:52] Set("PJSIP/223-000026e0", "CDR(cnam)=Anderson") in new stack
-- Executing [s@macro-user-callerid:53] Set("PJSIP/223-000026e0", "CDR(cnum)=223") in new stack
-- Executing [s@macro-user-callerid:54] Set("PJSIP/223-000026e0", "CHANNEL(language)=en") in new stack
-- Executing [24xxxxxxxx@from-internal:2] Gosub("PJSIP/223-000026e0", "sub-record-check,s,1(out,24xxxxxxxx,dontcare)") in new stack
-- Executing [s@sub-record-check:1] GotoIf("PJSIP/223-000026e0", "0?initialized") in new stack
-- Executing [s@sub-record-check:2] Set("PJSIP/223-000026e0", "__REC_STATUS=INITIALIZED") in new stack
-- Executing [s@sub-record-check:3] Set("PJSIP/223-000026e0", "NOW=1722357721") in new stack
-- Executing [s@sub-record-check:4] Set("PJSIP/223-000026e0", "__DAY=30") in new stack
-- Executing [s@sub-record-check:5] Set("PJSIP/223-000026e0", "__MONTH=07") in new stack
-- Executing [s@sub-record-check:6] Set("PJSIP/223-000026e0", "__YEAR=2024") in new stack
-- Executing [s@sub-record-check:7] Set("PJSIP/223-000026e0", "__TIMESTR=20240730-134201") in new stack
-- Executing [s@sub-record-check:8] Set("PJSIP/223-000026e0", "__FROMEXTEN=223") in new stack
-- Executing [s@sub-record-check:9] Set("PJSIP/223-000026e0", "__MON_FMT=wav") in new stack
-- Executing [s@sub-record-check:10] NoOp("PJSIP/223-000026e0", "Recordings initialized") in new stack
-- Executing [s@sub-record-check:11] ExecIf("PJSIP/223-000026e0", "0?Set(ARG3=dontcare)") in new stack
-- Executing [s@sub-record-check:12] Set("PJSIP/223-000026e0", "REC_POLICY_MODE_SAVE=") in new stack
-- Executing [s@sub-record-check:13] ExecIf("PJSIP/223-000026e0", "0?Set(REC_STATUS=NO)") in new stack
-- Executing [s@sub-record-check:14] GotoIf("PJSIP/223-000026e0", "3?checkaction") in new stack
-- Goto (sub-record-check,s,17)
-- Executing [s@sub-record-check:17] GotoIf("PJSIP/223-000026e0", "1?sub-record-check,out,1") in new stack
-- Goto (sub-record-check,out,1)
-- Executing [out@sub-record-check:1] NoOp("PJSIP/223-000026e0", "Outbound Recording Check from 223 to 24xxxxxxxx") in new stack
-- Executing [out@sub-record-check:2] Set("PJSIP/223-000026e0", "RECMODE=dontcare") in new stack
-- Executing [out@sub-record-check:3] ExecIf("PJSIP/223-000026e0", "1?Goto(routewins)") in new stack
-- Goto (sub-record-check,out,7)
-- Executing [out@sub-record-check:7] Gosub("PJSIP/223-000026e0", "recordcheck,1(dontcare,out,24xxxxxxxx)") in new stack
-- Executing [recordcheck@sub-record-check:1] NoOp("PJSIP/223-000026e0", "Starting recording check against dontcare") in new stack
-- Executing [recordcheck@sub-record-check:2] Goto("PJSIP/223-000026e0", "dontcare") in new stack
-- Goto (sub-record-check,recordcheck,3)
-- Executing [recordcheck@sub-record-check:3] Return("PJSIP/223-000026e0", "") in new stack
-- Executing [out@sub-record-check:8] Return("PJSIP/223-000026e0", "") in new stack
-- Executing [24xxxxxxxx@from-internal:3] ExecIf("PJSIP/223-000026e0", "0 ?Set(CDR(accountcode)=)") in new stack
-- Executing [24xxxxxxxx@from-internal:4] Set("PJSIP/223-000026e0", "_ROUTEID=2") in new stack
-- Executing [24xxxxxxxx@from-internal:5] Set("PJSIP/223-000026e0", "_ROUTENAME=Interurbano") in new stack
-- Executing [24xxxxxxxx@from-internal:6] Set("PJSIP/223-000026e0", "MOHCLASS=default") in new stack
-- Executing [24xxxxxxxx@from-internal:7] Set("PJSIP/223-000026e0", "_CALLERIDNAMEINTERNAL=Anderson") in new stack
-- Executing [24xxxxxxxx@from-internal:8] Set("PJSIP/223-000026e0", "_CALLERIDNUMINTERNAL=223") in new stack
-- Executing [24xxxxxxxx@from-internal:9] Set("PJSIP/223-000026e0", "_EMAILNOTIFICATION=FALSE") in new stack
-- Executing [24xxxxxxxx@from-internal:10] Set("PJSIP/223-000026e0", "_NODEST=") in new stack
-- Executing [24xxxxxxxx@from-internal:11] Macro("PJSIP/223-000026e0", "dialout-trunk,1,024xxxxxxxx,,off") in new stack
-- Executing [s@macro-dialout-trunk:1] Set("PJSIP/223-000026e0", "DIAL_TRUNK=1") in new stack
-- Executing [s@macro-dialout-trunk:2] ExecIf("PJSIP/223-000026e0", "0?Set(DIAL_OPTIONS=Hhtr)") in new stack
-- Executing [s@macro-dialout-trunk:3] GosubIf("PJSIP/223-000026e0", "0?sub-pincheck,s,1()") in new stack
-- Executing [s@macro-dialout-trunk:4] ExecIf("PJSIP/223-000026e0", "0?Set(CALLERID(num)=223)") in new stack
-- Executing [s@macro-dialout-trunk:5] GotoIf("PJSIP/223-000026e0", "0?disabletrunk,1") in new stack
-- Executing [s@macro-dialout-trunk:6] Set("PJSIP/223-000026e0", "DIAL_NUMBER=024xxxxxxxx") in new stack
-- Executing [s@macro-dialout-trunk:7] Set("PJSIP/223-000026e0", "DIAL_TRUNK_OPTIONS=HhTtr") in new stack
-- Executing [s@macro-dialout-trunk:8] Set("PJSIP/223-000026e0", "OUTBOUND_GROUP=OUT_1") in new stack
-- Executing [s@macro-dialout-trunk:9] Set("PJSIP/223-000026e0", "DIAL_TRUNK_OPTIONS=T") in new stack
-- Executing [s@macro-dialout-trunk:10] GotoIf("PJSIP/223-000026e0", "1?nomax") in new stack
-- Goto (macro-dialout-trunk,s,12)
-- Executing [s@macro-dialout-trunk:12] GotoIf("PJSIP/223-000026e0", "0?skipoutcid") in new stack
-- Executing [s@macro-dialout-trunk:13] Macro("PJSIP/223-000026e0", "outbound-callerid,1") in new stack
-- Executing [s@macro-outbound-callerid:1] NoOp("PJSIP/223-000026e0", "223") in new stack
-- Executing [s@macro-outbound-callerid:2] NoOp("PJSIP/223-000026e0", "") in new stack
-- Executing [s@macro-outbound-callerid:3] NoOp("PJSIP/223-000026e0", "off") in new stack
-- Executing [s@macro-outbound-callerid:4] ExecIf("PJSIP/223-000026e0", "0?Set(CALLERPRES(name-pres)=)") in new stack
-- Executing [s@macro-outbound-callerid:5] ExecIf("PJSIP/223-000026e0", "0?Set(CALLERPRES(num-pres)=)") in new stack
-- Executing [s@macro-outbound-callerid:6] Set("PJSIP/223-000026e0", "HOTDESCKCHAN=223-000026e0") in new stack
-- Executing [s@macro-outbound-callerid:7] Set("PJSIP/223-000026e0", "HOTDESKEXTEN=223") in new stack
-- Executing [s@macro-outbound-callerid:8] Set("PJSIP/223-000026e0", "HOTDESKCALL=0") in new stack
-- Executing [s@macro-outbound-callerid:9] ExecIf("PJSIP/223-000026e0", "0?Set(HOTDESKCALL=1)") in new stack
-- Executing [s@macro-outbound-callerid:10] ExecIf("PJSIP/223-000026e0", "0?Set(CALLERID(name)=)") in new stack
-- Executing [s@macro-outbound-callerid:11] Set("PJSIP/223-000026e0", "ALLOWTHISROUTE=NO") in new stack
-- Executing [s@macro-outbound-callerid:12] ExecIf("PJSIP/223-000026e0", "0?Set(ALLOWTHISROUTE=YES)") in new stack
-- Executing [s@macro-outbound-callerid:13] ExecIf("PJSIP/223-000026e0", "0?Hangup()") in new stack
-- Executing [s@macro-outbound-callerid:14] ExecIf("PJSIP/223-000026e0", "0?Set(REALCALLERIDNUM=223)") in new stack
-- Executing [s@macro-outbound-callerid:15] ExecIf("PJSIP/223-000026e0", "0?Set(AMPUSER=223)") in new stack
-- Executing [s@macro-outbound-callerid:16] GotoIf("PJSIP/223-000026e0", "1?normcid") in new stack
-- Goto (macro-outbound-callerid,s,20)
-- Executing [s@macro-outbound-callerid:20] Set("PJSIP/223-000026e0", "USEROUTCID=") in new stack
-- Executing [s@macro-outbound-callerid:21] Set("PJSIP/223-000026e0", "EMERGENCYCID=") in new stack
-- Executing [s@macro-outbound-callerid:22] ExecIf("PJSIP/223-000026e0", "0?Set(EMERGENCYCID=)") in new stack
-- Executing [s@macro-outbound-callerid:23] Set("PJSIP/223-000026e0", "TRUNKOUTCID=5511xxxxxxxx") in new stack
-- Executing [s@macro-outbound-callerid:24] GotoIf("PJSIP/223-000026e0", "1?trunkcid") in new stack
-- Goto (macro-outbound-callerid,s,30)
-- Executing [s@macro-outbound-callerid:30] ExecIf("PJSIP/223-000026e0", "1?Set(CALLERID(all)=5511xxxxxxxx)") in new stack
-- Executing [s@macro-outbound-callerid:31] ExecIf("PJSIP/223-000026e0", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:32] ExecIf("PJSIP/223-000026e0", "0?Set(CALLERID(all)=)") in new stack
-- Executing [s@macro-outbound-callerid:33] ExecIf("PJSIP/223-000026e0", "0?Set(CALLERID(all)=223)") in new stack
-- Executing [s@macro-outbound-callerid:34] ExecIf("PJSIP/223-000026e0", "0?Set(CALLERID(all)=223)") in new stack
-- Executing [s@macro-outbound-callerid:35] Set("PJSIP/223-000026e0", "TIOHIDE=no") in new stack
-- Executing [s@macro-outbound-callerid:36] ExecIf("PJSIP/223-000026e0", "0?Set(CALLERPRES(name-pres)=prohib_passed_screen)") in new stack
-- Executing [s@macro-outbound-callerid:37] ExecIf("PJSIP/223-000026e0", "0?Set(CALLERPRES(num-pres)=prohib_passed_screen)") in new stack
-- Executing [s@macro-outbound-callerid:38] ExecIf("PJSIP/223-000026e0", "0?Set(CALLERPRES(name-pres)=prohib_passed_screen)") in new stack
-- Executing [s@macro-outbound-callerid:39] ExecIf("PJSIP/223-000026e0", "0?Set(CALLERPRES(num-pres)=prohib_passed_screen)") in new stack
-- Executing [s@macro-outbound-callerid:40] Set("PJSIP/223-000026e0", "CDR(outbound_cnum)=5511xxxxxxxx") in new stack
-- Executing [s@macro-outbound-callerid:41] Set("PJSIP/223-000026e0", "CDR(outbound_cnam)=") in new stack
-- Executing [s@macro-dialout-trunk:14] GosubIf("PJSIP/223-000026e0", "1?sub-flp-1,s,1()") in new stack
-- Executing [s@sub-flp-1:1] ExecIf("PJSIP/223-000026e0", "0?Set(TARGET_FLP_1=011024xxxxxxxx)") in new stack
-- Executing [s@sub-flp-1:2] GotoIf("PJSIP/223-000026e0", "0?match") in new stack
-- Executing [s@sub-flp-1:3] ExecIf("PJSIP/223-000026e0", "0?Set(TARGET_FLP_1=0024xxxxxxxx)") in new stack
-- Executing [s@sub-flp-1:4] GotoIf("PJSIP/223-000026e0", "0?match") in new stack
-- Executing [s@sub-flp-1:5] ExecIf("PJSIP/223-000026e0", "0?Set(TARGET_FLP_1=0024xxxxxxxx)") in new stack
-- Executing [s@sub-flp-1:6] GotoIf("PJSIP/223-000026e0", "0?match") in new stack
-- Executing [s@sub-flp-1:7] ExecIf("PJSIP/223-000026e0", "0?Set(TARGET_FLP_1=0024xxxxxxxx)") in new stack
-- Executing [s@sub-flp-1:8] GotoIf("PJSIP/223-000026e0", "0?match") in new stack
-- Executing [s@sub-flp-1:9] Return("PJSIP/223-000026e0", "") in new stack
-- Executing [s@macro-dialout-trunk:15] Set("PJSIP/223-000026e0", "OUTNUM=024xxxxxxxx") in new stack
-- Executing [s@macro-dialout-trunk:16] Set("PJSIP/223-000026e0", "custom=PJSIP") in new stack
-- Executing [s@macro-dialout-trunk:17] ExecIf("PJSIP/223-000026e0", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)T)") in new stack
-- Executing [s@macro-dialout-trunk:18] ExecIf("PJSIP/223-000026e0", "0?Set(DIAL_TRUNK_OPTIONS=TM(confirm))") in new stack
-- Executing [s@macro-dialout-trunk:19] ExecIf("PJSIP/223-000026e0", "0?AGI(allowlist-autoadd.agi,)") in new stack
-- Executing [s@macro-dialout-trunk:20] Macro("PJSIP/223-000026e0", "dialout-trunk-predial-hook,") in new stack
-- Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("PJSIP/223-000026e0", "") in new stack
-- Executing [s@macro-dialout-trunk:21] GotoIf("PJSIP/223-000026e0", "0?bypass,1") in new stack
-- Executing [s@macro-dialout-trunk:22] ExecIf("PJSIP/223-000026e0", "1?Set(CONNECTEDLINE(num,i)=024xxxxxxxx)") in new stack
-- Executing [s@macro-dialout-trunk:23] ExecIf("PJSIP/223-000026e0", "1?Set(CONNECTEDLINE(name,i)=CID:5511xxxxxxxx)") in new stack
-- Executing [s@macro-dialout-trunk:24] ExecIf("PJSIP/223-000026e0", "0?Set(CONNECTEDLINE(name,i)=CID:(Hidden)5511xxxxxxxx)") in new stack
-- Executing [s@macro-dialout-trunk:25] GotoIf("PJSIP/223-000026e0", "0?customtrunk") in new stack
-- Executing [s@macro-dialout-trunk:26] ExecIf("PJSIP/223-000026e0", "0?Set(DIAL_TRUNK_OPTIONS=)") in new stack
-- Executing [s@macro-dialout-trunk:27] Set("PJSIP/223-000026e0", "HASH(__SIPHEADERS,Alert-Info)=unset") in new stack
-- Executing [s@macro-dialout-trunk:28] Dial("PJSIP/223-000026e0", "PJSIP/024xxxxxxxx@MyCompany,300,Tb(func-apply-sipheaders^s^1,(1))U(sub-send-obroute-email^024xxxxxxxx^24xxxxxxxx^1^1722357721^^5511xxxxxxxx)") in new stack
-- PJSIP/MyCompany-000026e1 Internal Gosub(func-apply-sipheaders,s,1(1)) start
-- Executing [s@func-apply-sipheaders:1] NoOp("PJSIP/MyCompany-000026e1", "Applying SIP Headers to channel PJSIP/MyCompany-000026e1") in new stack
-- Executing [s@func-apply-sipheaders:2] Set("PJSIP/MyCompany-000026e1", "TECH=PJSIP") in new stack
-- Executing [s@func-apply-sipheaders:3] Set("PJSIP/MyCompany-000026e1", "SIPHEADERKEYS=Alert-Info") in new stack
-- Executing [s@func-apply-sipheaders:4] While("PJSIP/MyCompany-000026e1", "1") in new stack
-- Executing [s@func-apply-sipheaders:5] Set("PJSIP/MyCompany-000026e1", "sipheader=unset") in new stack
-- Executing [s@func-apply-sipheaders:6] ExecIf("PJSIP/MyCompany-000026e1", "1?Set(PJSIP_HEADER(remove,Alert-Info)=)") in new stack
[2024-07-30 13:42:01] ERROR[1628]: res_pjsip_header_funcs.c:547 remove_header: No headers had been previously added to this session.
-- Executing [s@func-apply-sipheaders:7] ExecIf("PJSIP/MyCompany-000026e1", "0?Set(sipheader=<http://127.0.0.1>;info=unset)") in new stack
-- Executing [s@func-apply-sipheaders:8] ExecIf("PJSIP/MyCompany-000026e1", "0?Set(sipheader=<http://127.0.0.1>unset)") in new stack
-- Executing [s@func-apply-sipheaders:9] ExecIf("PJSIP/MyCompany-000026e1", "0?Set(PJSIP_HEADER(add,Alert-Info)=unset)") in new stack
-- Executing [s@func-apply-sipheaders:10] EndWhile("PJSIP/MyCompany-000026e1", "") in new stack
-- Executing [s@func-apply-sipheaders:4] While("PJSIP/MyCompany-000026e1", "0") in new stack
-- Executing [s@func-apply-sipheaders:11] Return("PJSIP/MyCompany-000026e1", "") in new stack
== Spawn extension (from-pstn, 24xxxxxxxx, 1) exited non-zero on 'PJSIP/MyCompany-000026e1'
-- PJSIP/MyCompany-000026e1 Internal Gosub(func-apply-sipheaders,s,1(1)) complete GOSUB_RETVAL=
-- Called PJSIP/024xxxxxxxx@MyCompany
> 0x7f34a40264a0 -- Strict RTP qualifying stream type: audio
> 0x7f34a40264a0 -- Strict RTP switching source address to 179.xxx.xxx.xxx:1462
== Everyone is busy/congested at this time (1:0/0/1)
-- Executing [s@macro-dialout-trunk:29] NoOp("PJSIP/223-000026e0", "Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 1") in new stack
-- Executing [s@macro-dialout-trunk:30] GotoIf("PJSIP/223-000026e0", "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/223-000026e0", "RC=1") in new stack
-- Executing [s-CHANUNAVAIL@macro-dialout-trunk:2] Goto("PJSIP/223-000026e0", "1,1") in new stack
-- Goto (macro-dialout-trunk,1,1)
-- Executing [1@macro-dialout-trunk:1] Goto("PJSIP/223-000026e0", "s-INVALIDNMBR,1") in new stack
-- Goto (macro-dialout-trunk,s-INVALIDNMBR,1)
-- Executing [s-INVALIDNMBR@macro-dialout-trunk:1] NoOp("PJSIP/223-000026e0", "Dial failed due to trunk reporting Address Incomplete - giving up") in new stack
-- Executing [s-INVALIDNMBR@macro-dialout-trunk:2] Progress("PJSIP/223-000026e0", "") in new stack
-- Executing [s-INVALIDNMBR@macro-dialout-trunk:3] Playback("PJSIP/223-000026e0", "ss-noservice,noanswer") in new stack
-- <PJSIP/223-000026e0> Playing 'ss-noservice.ulaw' (language 'en')
> 0x7f34a816bb00 -- Strict RTP learning after remote address set to: 179.xxx.xxx.xxx:2236
> 0x7f34a816bb00 -- Strict RTP qualifying stream type: audio
> 0x7f34a816bb00 -- Strict RTP switching source address to 179.xxx.xxx.xxx:1462
> 0x7f34a40264a0 -- Strict RTP learning complete - Locking on source address 179.xxx.xxx.xxx:1462
-- Executing [s-INVALIDNMBR@macro-dialout-trunk:4] Busy("PJSIP/223-000026e0", "20") in new stack
== Spawn extension (macro-dialout-trunk, s-INVALIDNMBR, 4) exited non-zero on 'PJSIP/223-000026e0' in macro 'dialout-trunk'
== Spawn extension (from-internal, 24xxxxxxxx, 11) exited non-zero on 'PJSIP/223-000026e0'
-- Executing [h@from-internal:1] Macro("PJSIP/223-000026e0", "hangupcall") in new stack
-- Executing [s@macro-hangupcall:1] GotoIf("PJSIP/223-000026e0", "1?theend") in new stack
-- Goto (macro-hangupcall,s,3)
[2024-07-30 13:42:10] ERROR[2726]: cdr.c:3374 ast_cdr_getvar: Unable to find CDR for channel PJSIP/223-000026e0
-- Executing [s@macro-hangupcall:3] ExecIf("PJSIP/223-000026e0", "0?Set(CDR(recordingfile)=)") in new stack
[2024-07-30 13:42:10] ERROR[2726]: cdr.c:3374 ast_cdr_getvar: Unable to find CDR for channel PJSIP/223-000026e0
-- Executing [s@macro-hangupcall:4] Hangup("PJSIP/223-000026e0", "") in new stack
== Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'PJSIP/223-000026e0' in macro 'hangupcall'
== Spawn extension (from-internal, h, 1) exited non-zero on 'PJSIP/223-000026e0'
The number enters in the right outbound route, but I don’t know why the call doesn’t get complete. I’m doing something wrong?
Sorry if I didn’t make myself clear, but I’m here to explain everything that I can.