Outbound - calls cannot be completed as dialed

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 [[email protected]:1] Macro("PJSIP/5102-000000ce", "user-callerid,LIMIT,EXTERNAL,") in new stack
    -- Executing [[email protected]:1] Set("PJSIP/5102-000000ce", "TOUCH_MONITOR=1668892406.206") in new stack
    -- Executing [[email protected]:2] Set("PJSIP/5102-000000ce", "CHANCONTEXT=") in new stack
    -- Executing [[email protected]:3] Set("PJSIP/5102-000000ce", "CHANCONTEXT=") in new stack
    -- Executing [[email protected]:4] Set("PJSIP/5102-000000ce", "CHANEXTENCONTEXT=5102-000000ce") in new stack
    -- Executing [[email protected]:5] Set("PJSIP/5102-000000ce", "CHANEXTEN=5102-000000ce") in new stack
    -- Executing [[email protected]:6] Set("PJSIP/5102-000000ce", "CALLERID(number)=5102") in new stack
    -- Executing [[email protected]:7] Set("PJSIP/5102-000000ce", "AMPUSER=5102") in new stack
    -- Executing [[email protected]:8] Set("PJSIP/5102-000000ce", "HOTDESCKCHAN=5102-000000ce") in new stack
    -- Executing [[email protected]:9] Set("PJSIP/5102-000000ce", "HOTDESKEXTEN=5102") in new stack
    -- Executing [[email protected]:10] Set("PJSIP/5102-000000ce", "HOTDESKCALL=0") in new stack
    -- Executing [[email protected]:11] ExecIf("PJSIP/5102-000000ce", "0?Set(HOTDESKCALL=1)") in new stack
    -- Executing [[email protected]:12] ExecIf("PJSIP/5102-000000ce", "0?Set(CALLERID(name)=)") in new stack
    -- Executing [[email protected]:13] GotoIf("PJSIP/5102-000000ce", "0?report") in new stack
    -- Executing [[email protected]:14] ExecIf("PJSIP/5102-000000ce", "1?Set(REALCALLERIDNUM=5102)") in new stack
    -- Executing [[email protected]:15] Set("PJSIP/5102-000000ce", "AMPUSER=5102") in new stack
    -- Executing [[email protected]:16] GotoIf("PJSIP/5102-000000ce", "0?limit") in new stack
    -- Executing [[email protected]:17] Set("PJSIP/5102-000000ce", "AMPUSERCIDNAME=5102") in new stack
    -- Executing [[email protected]:18] ExecIf("PJSIP/5102-000000ce", "0?Set(__CIDMASQUERADING=TRUE)") in new stack
    -- Executing [[email protected]:19] GotoIf("PJSIP/5102-000000ce", "0?report") in new stack
    -- Executing [[email protected]:20] Set("PJSIP/5102-000000ce", "AMPUSERCID=5102") in new stack
    -- Executing [[email protected]:21] Set("PJSIP/5102-000000ce", "__DIAL_OPTIONS=HhTtr") in new stack
    -- Executing [[email protected]:22] Set("PJSIP/5102-000000ce", "CALLERID(all)="5102" <5102>") in new stack
    -- Executing [[email protected]:23] ExecIf("PJSIP/5102-000000ce", "0?Set(CUSDIAL=)") in new stack
    -- Executing [[email protected]:24] ExecIf("PJSIP/5102-000000ce", "0?Set(CALLERID(all)="5102" <5102>)") in new stack
    -- Executing [[email protected]:25] GotoIf("PJSIP/5102-000000ce", "0?limit") in new stack
    -- Executing [[email protected]:26] ExecIf("PJSIP/5102-000000ce", "1?Set(GROUP(concurrency_limit)=5102)") in new stack
    -- Executing [[email protected]:27] ExecIf("PJSIP/5102-000000ce", "0?Set(CHANNEL(language)=)") in new stack
    -- Executing [[email protected]:28] NoOp("PJSIP/5102-000000ce", "Macro Depth is 1") in new stack
    -- Executing [[email protected]:29] GotoIf("PJSIP/5102-000000ce", "1?report2:macroerror") in new stack
    -- Goto (macro-user-callerid,s,30)
    -- Executing [[email protected]:30] GotoIf("PJSIP/5102-000000ce", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,49)
    -- Executing [[email protected]:49] Set("PJSIP/5102-000000ce", "CALLERID(number)=5102") in new stack
    -- Executing [[email protected]:50] Set("PJSIP/5102-000000ce", "CALLERID(name)=5102") in new stack
    -- Executing [[email protected]:51] GotoIf("PJSIP/5102-000000ce", "0?cnum") in new stack
    -- Executing [[email protected]:52] Set("PJSIP/5102-000000ce", "CDR(cnam)=5102") in new stack
    -- Executing [[email protected]:53] Set("PJSIP/5102-000000ce", "CDR(cnum)=5102") in new stack
    -- Executing [[email protected]:54] Set("PJSIP/5102-000000ce", "CHANNEL(language)=en") in new stack
    -- Executing [[email protected]:2] Gosub("PJSIP/5102-000000ce", "sub-record-check,s,1(out,3476574306,dontcare)") in new stack
    -- Executing [[email protected]:1] GotoIf("PJSIP/5102-000000ce", "0?initialized") in new stack
    -- Executing [[email protected]:2] Set("PJSIP/5102-000000ce", "__REC_STATUS=INITIALIZED") in new stack
    -- Executing [[email protected]:3] Set("PJSIP/5102-000000ce", "NOW=1668892406") in new stack
    -- Executing [[email protected]:4] Set("PJSIP/5102-000000ce", "__DAY=19") in new stack
    -- Executing [[email protected]:5] Set("PJSIP/5102-000000ce", "__MONTH=11") in new stack
    -- Executing [[email protected]:6] Set("PJSIP/5102-000000ce", "__YEAR=2022") in new stack
    -- Executing [[email protected]:7] Set("PJSIP/5102-000000ce", "__TIMESTR=20221119-211326") in new stack
    -- Executing [[email protected]:8] Set("PJSIP/5102-000000ce", "__FROMEXTEN=5102") in new stack
    -- Executing [[email protected]:9] Set("PJSIP/5102-000000ce", "__MON_FMT=wav") in new stack
    -- Executing [[email protected]:10] NoOp("PJSIP/5102-000000ce", "Recordings initialized") in new stack
    -- Executing [[email protected]:11] ExecIf("PJSIP/5102-000000ce", "0?Set(ARG3=dontcare)") in new stack
    -- Executing [[email protected]:12] Set("PJSIP/5102-000000ce", "REC_POLICY_MODE_SAVE=") in new stack
    -- Executing [[email protected]:13] ExecIf("PJSIP/5102-000000ce", "0?Set(REC_STATUS=NO)") in new stack
    -- Executing [[email protected]:14] GotoIf("PJSIP/5102-000000ce", "3?checkaction") in new stack
    -- Goto (sub-record-check,s,17)
    -- Executing [[email protected]:17] GotoIf("PJSIP/5102-000000ce", "1?sub-record-check,out,1") in new stack
    -- Goto (sub-record-check,out,1)
    -- Executing [[email protected]:1] NoOp("PJSIP/5102-000000ce", "Outbound Recording Check from 5102 to 3476574306") in new stack
    -- Executing [[email protected]:2] Set("PJSIP/5102-000000ce", "RECMODE=dontcare") in new stack
    -- Executing [[email protected]:3] ExecIf("PJSIP/5102-000000ce", "1?Goto(routewins)") in new stack
    -- Goto (sub-record-check,out,7)
    -- Executing [[email protected]:7] Gosub("PJSIP/5102-000000ce", "recordcheck,1(dontcare,out,3476574306)") in new stack
    -- Executing [[email protected]:1] NoOp("PJSIP/5102-000000ce", "Starting recording check against dontcare") in new stack
    -- Executing [[email protected]:2] Goto("PJSIP/5102-000000ce", "dontcare") in new stack
    -- Goto (sub-record-check,recordcheck,3)
    -- Executing [[email protected]:3] Return("PJSIP/5102-000000ce", "") in new stack
    -- Executing [[email protected]:8] Return("PJSIP/5102-000000ce", "") in new stack
    -- Executing [[email protected]:3] ExecIf("PJSIP/5102-000000ce", "0 ?Set(CDR(accountcode)=)") in new stack
    -- Executing [[email protected]:4] Set("PJSIP/5102-000000ce", "_ROUTEID=3") in new stack
    -- Executing [[email protected]:5] Set("PJSIP/5102-000000ce", "_ROUTENAME=OUT2") in new stack
    -- Executing [[email protected]:6] Set("PJSIP/5102-000000ce", "MOHCLASS=default") in new stack
    -- Executing [[email protected]:7] ExecIf("PJSIP/5102-000000ce", "0?Set(TRUNKCIDOVERRIDE=<9294995454>)") in new stack
    -- Executing [[email protected]:8] Set("PJSIP/5102-000000ce", "_CALLERIDNAMEINTERNAL=5102") in new stack
    -- Executing [[email protected]:9] Set("PJSIP/5102-000000ce", "_CALLERIDNUMINTERNAL=5102") in new stack
    -- Executing [[email protected]:10] Set("PJSIP/5102-000000ce", "_EMAILNOTIFICATION=FALSE") in new stack
    -- Executing [[email protected]:11] Set("PJSIP/5102-000000ce", "_NODEST=") in new stack
    -- Executing [[email protected]:12] Macro("PJSIP/5102-000000ce", "dialout-trunk,1,3476574306,,off") in new stack
    -- Executing [[email protected]:1] Set("PJSIP/5102-000000ce", "DIAL_TRUNK=1") in new stack
    -- Executing [[email protected]:2] ExecIf("PJSIP/5102-000000ce", "0?Set(DIAL_OPTIONS=Hhtr)") in new stack
    -- Executing [[email protected]:3] GosubIf("PJSIP/5102-000000ce", "0?sub-pincheck,s,1()") in new stack
    -- Executing [[email protected]:4] ExecIf("PJSIP/5102-000000ce", "0?Set(CALLERID(num)=5102)") in new stack
    -- Executing [[email protected]:5] GotoIf("PJSIP/5102-000000ce", "0?disabletrunk,1") in new stack
    -- Executing [[email protected]:6] Set("PJSIP/5102-000000ce", "DIAL_NUMBER=3476574306") in new stack
    -- Executing [[email protected]:7] Set("PJSIP/5102-000000ce", "DIAL_TRUNK_OPTIONS=HhTtr") in new stack
    -- Executing [[email protected]:8] Set("PJSIP/5102-000000ce", "OUTBOUND_GROUP=OUT_1") in new stack
    -- Executing [[email protected]:9] Set("PJSIP/5102-000000ce", "DIAL_TRUNK_OPTIONS=T") in new stack
    -- Executing [[email protected]:10] GotoIf("PJSIP/5102-000000ce", "0?nomax") in new stack
    -- Executing [[email protected]:11] GotoIf("PJSIP/5102-000000ce", "0?chanfull") in new stack
    -- Executing [[email protected]:12] GotoIf("PJSIP/5102-000000ce", "0?skipoutcid") in new stack
    -- Executing [[email protected]:13] Macro("PJSIP/5102-000000ce", "outbound-callerid,1") in new stack
    -- Executing [[email protected]:1] NoOp("PJSIP/5102-000000ce", "5102") in new stack
    -- Executing [[email protected]:2] NoOp("PJSIP/5102-000000ce", "") in new stack
    -- Executing [[email protected]:3] NoOp("PJSIP/5102-000000ce", "off") in new stack
    -- Executing [[email protected]:4] ExecIf("PJSIP/5102-000000ce", "0?Set(CALLERID(name-pres)=)") in new stack
    -- Executing [[email protected]:5] ExecIf("PJSIP/5102-000000ce", "0?Set(CALLERID(num-pres)=)") in new stack
    -- Executing [[email protected]:6] Set("PJSIP/5102-000000ce", "HOTDESCKCHAN=5102-000000ce") in new stack
    -- Executing [[email protected]:7] Set("PJSIP/5102-000000ce", "HOTDESKEXTEN=5102") in new stack
    -- Executing [[email protected]:8] Set("PJSIP/5102-000000ce", "HOTDESKCALL=0") in new stack
    -- Executing [[email protected]:9] ExecIf("PJSIP/5102-000000ce", "0?Set(HOTDESKCALL=1)") in new stack
    -- Executing [[email protected]:10] ExecIf("PJSIP/5102-000000ce", "0?Set(CALLERID(name)=)") in new stack
    -- Executing [[email protected]:11] Set("PJSIP/5102-000000ce", "ALLOWTHISROUTE=NO") in new stack
    -- Executing [[email protected]:12] ExecIf("PJSIP/5102-000000ce", "0?Set(ALLOWTHISROUTE=YES)") in new stack
    -- Executing [[email protected]:13] ExecIf("PJSIP/5102-000000ce", "0?Hangup()") in new stack
    -- Executing [[email protected]:14] ExecIf("PJSIP/5102-000000ce", "0?Set(REALCALLERIDNUM=5102)") in new stack
    -- Executing [[email protected]:15] ExecIf("PJSIP/5102-000000ce", "0?Set(AMPUSER=5102)") in new stack
    -- Executing [[email protected]:16] GotoIf("PJSIP/5102-000000ce", "1?normcid") in new stack
    -- Goto (macro-outbound-callerid,s,20)
    -- Executing [[email protected]:20] Set("PJSIP/5102-000000ce", "USEROUTCID=<5102>") in new stack
    -- Executing [[email protected]:21] Set("PJSIP/5102-000000ce", "EMERGENCYCID=") in new stack
    -- Executing [[email protected]:22] ExecIf("PJSIP/5102-000000ce", "0?Set(SCDEXT=YES)") in new stack
    -- Executing [[email protected]:23] ExecIf("PJSIP/5102-000000ce", "0?Set(EMERGENCYCID=)") in new stack
    -- Executing [[email protected]:24] ExecIf("PJSIP/5102-000000ce", "0?Set(CALLERID(name)=)") in new stack
    -- Executing [[email protected]:25] ExecIf("PJSIP/5102-000000ce", "0?Set(EMERGENCYCID=)") in new stack
    -- Executing [[email protected]:26] Set("PJSIP/5102-000000ce", "TRUNKOUTCID=9294995454") in new stack
    -- Executing [[email protected]:27] GotoIf("PJSIP/5102-000000ce", "1?trunkcid") in new stack
    -- Goto (macro-outbound-callerid,s,33)
    -- Executing [[email protected]:33] ExecIf("PJSIP/5102-000000ce", "1?Set(CALLERID(all)=9294995454)") in new stack
    -- Executing [[email protected]:34] ExecIf("PJSIP/5102-000000ce", "1?Set(CALLERID(all)=<5102>)") in new stack
    -- Executing [[email protected]:35] ExecIf("PJSIP/5102-000000ce", "0?Set(CALLERID(all)=)") in new stack
    -- Executing [[email protected]:36] ExecIf("PJSIP/5102-000000ce", "0?Set(CALLERID(all)=5102)") in new stack
    -- Executing [[email protected]:37] ExecIf("PJSIP/5102-000000ce", "0?Set(CALLERID(all)=5102)") in new stack
    -- Executing [[email protected]:38] Set("PJSIP/5102-000000ce", "TIOHIDE=no") in new stack
    -- Executing [[email protected]:39] ExecIf("PJSIP/5102-000000ce", "0?Set(CALLERID(name-pres)=prohib_passed_screen)") in new stack
    -- Executing [[email protected]:40] ExecIf("PJSIP/5102-000000ce", "0?Set(CALLERID(num-pres)=prohib_passed_screen)") in new stack
    -- Executing [[email protected]:41] ExecIf("PJSIP/5102-000000ce", "0?Set(CALLERID(name-pres)=prohib_passed_screen)") in new stack
    -- Executing [[email protected]:42] ExecIf("PJSIP/5102-000000ce", "0?Set(CALLERID(num-pres)=prohib_passed_screen)") in new stack
    -- Executing [[email protected]:43] Set("PJSIP/5102-000000ce", "CDR(outbound_cnum)=5102") in new stack
    -- Executing [[email protected]:44] Set("PJSIP/5102-000000ce", "CDR(outbound_cnam)=") in new stack
    -- Executing [[email protected]:14] GosubIf("PJSIP/5102-000000ce", "1?sub-flp-1,s,1()") in new stack
    -- Executing [[email protected]:1] ExecIf("PJSIP/5102-000000ce", "1?Set(TARGET_FLP_1=13476574306)") in new stack
    -- Executing [[email protected]:2] GotoIf("PJSIP/5102-000000ce", "1?match") in new stack
    -- Goto (sub-flp-1,s,4)
    -- Executing [[email protected]:4] Set("PJSIP/5102-000000ce", "DIAL_NUMBER=13476574306") in new stack
    -- Executing [[email protected]:5] Return("PJSIP/5102-000000ce", "") in new stack
    -- Executing [[email protected]:15] Set("PJSIP/5102-000000ce", "OUTNUM=13476574306") in new stack
    -- Executing [[email protected]:16] Set("PJSIP/5102-000000ce", "custom=PJSIP") in new stack
    -- Executing [[email protected]:17] ExecIf("PJSIP/5102-000000ce", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)T)") in new stack
    -- Executing [[email protected]:18] ExecIf("PJSIP/5102-000000ce", "0?Set(DIAL_TRUNK_OPTIONS=TM(confirm))") in new stack
    -- Executing [[email protected]:19] GotoIf("PJSIP/5102-000000ce", "1?gocall") in new stack
    -- Goto (macro-dialout-trunk,s,21)
    -- Executing [[email protected]:21] Macro("PJSIP/5102-000000ce", "dialout-trunk-predial-hook,") in new stack
    -- Executing [[email protected]:1] MacroExit("PJSIP/5102-000000ce", "") in new stack
    -- Executing [[email protected]:22] GotoIf("PJSIP/5102-000000ce", "0?skipcrm") in new stack
    -- Executing [[email protected]:23] Set("PJSIP/5102-000000ce", "__CRM_DIRECTION=OUTBOUND") in new stack
    -- Executing [[email protected]out-trunk:24] Set("PJSIP/5102-000000ce", "__CRM_DESTINATION=13476574306") in new stack
    -- Executing [[email protected]:25] Set("PJSIP/5102-000000ce", "__CRM_SOURCE=5102") in new stack
    -- Executing [[email protected]: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 [[email protected]:27] Set("PJSIP/5102-000000ce", "CHANNEL(hangup_handler_push)=crm-hangup,s,1") in new stack
    -- Executing [[email protected]:28] NoOp("PJSIP/5102-000000ce", "CRM Finished") in new stack
    -- Executing [[email protected]:29] GotoIf("PJSIP/5102-000000ce", "0?bypass,1") in new stack
    -- Executing [[email protected]:30] ExecIf("PJSIP/5102-000000ce", "1?Set(CONNECTEDLINE(num,i)=13476574306)") in new stack
    -- Executing [[email protected]:31] ExecIf("PJSIP/5102-000000ce", "1?Set(CONNECTEDLINE(name,i)=CID:5102)") in new stack
    -- Executing [[email protected]:32] ExecIf("PJSIP/5102-000000ce", "0?Set(CONNECTEDLINE(name,i)=CID:(Hidden)5102)") in new stack
    -- Executing [[email protected]:33] GotoIf("PJSIP/5102-000000ce", "0?customtrunk") in new stack
    -- Executing [[email protected]:34] ExecIf("PJSIP/5102-000000ce", "0?Set(DIAL_TRUNK_OPTIONS=)") in new stack
    -- Executing [[email protected]:35] Set("PJSIP/5102-000000ce", "HASH(__SIPHEADERS,Alert-Info)=unset") in new stack
    -- Executing [[email protected]:36] Dial("PJSIP/5102-000000ce", "PJSIP/[email protected]_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 [[email protected]:1] ExecIf("PJSIP/1001410867_19294195454-000000cf", "0?Set(CHANNEL(hangup_handler_push)=crm-hangup,s,1)") in new stack
    -- Executing [[email protected]:2] NoOp("PJSIP/1001410867_19294195454-000000cf", "Applying SIP Headers to channel PJSIP/1001410867_19294195454-000000cf") in new stack
    -- Executing [[email protected]:3] Set("PJSIP/1001410867_19294195454-000000cf", "TECH=PJSIP") in new stack
    -- Executing [[email protected]:4] Set("PJSIP/1001410867_19294195454-000000cf", "SIPHEADERKEYS=Alert-Info") in new stack
    -- Executing [[email protected]:5] While("PJSIP/1001410867_19294195454-000000cf", "1") in new stack
    -- Executing [[email protected]:6] Set("PJSIP/1001410867_19294195454-000000cf", "sipheader=unset") in new stack
    -- Executing [[email protected]: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 [[email protected]:8] ExecIf("PJSIP/1001410867_19294195454-000000cf", "0?Set(sipheader=<http://127.0.0.1>;info=unset)") in new stack
    -- Executing [[email protected]:9] ExecIf("PJSIP/1001410867_19294195454-000000cf", "0?Set(sipheader=<http://127.0.0.1>unset)") in new stack
    -- Executing [[email protected]:10] ExecIf("PJSIP/1001410867_19294195454-000000cf", "0?Set(PJSIP_HEADER(add,Alert-Info)=unset)") in new stack
    -- Executing [[email protected]:11] EndWhile("PJSIP/1001410867_19294195454-000000cf", "") in new stack
    -- Executing [[email protected]:5] While("PJSIP/1001410867_19294195454-000000cf", "0") in new stack
    -- Executing [[email protected]: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/[email protected]_19294195454
  == Everyone is busy/congested at this time (1:0/0/1)
    -- Executing [[email protected]:37] NoOp("PJSIP/5102-000000ce", "Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 21") in new stack
    -- Executing [[email protected]:38] GotoIf("PJSIP/5102-000000ce", "0?continue,1:s-CHANUNAVAIL,1") in new stack
    -- Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
    -- Executing [[email protected]:1] Set("PJSIP/5102-000000ce", "RC=21") in new stack
    -- Executing [[email protected]:2] Goto("PJSIP/5102-000000ce", "21,1") in new stack
    -- Goto (macro-dialout-trunk,21,1)
    -- Executing [[email protected]:1] Goto("PJSIP/5102-000000ce", "continue,1") in new stack
    -- Goto (macro-dialout-trunk,continue,1)
    -- Executing [[email protected]:1] NoOp("PJSIP/5102-000000ce", "TRUNK Dial failed due to CHANUNAVAIL HANGUPCAUSE: 21 - failing through to other trunks") in new stack
    -- Executing [[email protected]:2] ExecIf("PJSIP/5102-000000ce", "1?Set(CALLERID(number)=5102)") in new stack
    -- Executing [[email protected]:13] Macro("PJSIP/5102-000000ce", "outisbusy,") in new stack
    -- Executing [[email protected]:1] Progress("PJSIP/5102-000000ce", "") in new stack
    -- Executing [[email protected]:2] GotoIf("PJSIP/5102-000000ce", "0?emergency,1") in new stack
    -- Executing [[email protected]:3] GotoIf("PJSIP/5102-000000ce", "0?intracompany,1") in new stack
    -- Executing [[email protected]: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 [[email protected]:1] Macro("PJSIP/5102-000000ce", "hangupcall") in new stack
    -- Executing [[email protected]:1] GotoIf("PJSIP/5102-000000ce", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,3)
    -- Executing [[email protected]:3] ExecIf("PJSIP/5102-000000ce", "0?Set(CDR(recordingfile)=)") in new stack
    -- Executing [[email protected]: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 [[email protected]:1] NoOp("PJSIP/5102-000000ce", "Sending Hangup to CRM") in new stack
    -- Executing [[email protected]:2] NoOp("PJSIP/5102-000000ce", "HANGUP CAUSE: 21") in new stack
    -- Executing [[email protected]:3] ExecIf("PJSIP/5102-000000ce", "0?Set(__CRM_VOICEMAIL=)") in new stack
    -- Executing [[email protected]:4] NoOp("PJSIP/5102-000000ce", "MASTER CHANNEL: 1668892406.206 = 1668892406.206") in new stack
    -- Executing [[email protected]:5] GotoIf("PJSIP/5102-000000ce", "0?return") in new stack
    -- Executing [[email protected]:6] Set("PJSIP/5102-000000ce", "__CRM_HANGUP=1") in new stack
    -- Executing [[email protected]: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 [[email protected]: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

anyone available to assist with config, would be appreciated thanks

The trunking provider is rejecting the call. I’m not a DIDforSale customer, so these are general comments:

The caller ID you are sending is the likely cause of rejection. It appears that the Outbound CallerID for the trunk is set to 9294995454 but this may be somehow overridden to 5102. CID Options for the trunk should be Force Trunk CID. But it also seems that your DID is 9294195454 so there is a typo in the Outbound CallerID. I am guessing that they want a leading 1 so Outbound CallerID should be
<19294195454>

If the above doesn’t help, at the Asterisk command prompt type
pjsip set logger on
make a failing test call, paste the relevant section of the Asterisk log (not the console output) at pastebin.freepbx.org and post the link here. If you are too new to post links, just post the last 8 hex characters of the URL.