Outbound route cid stopped working

I have been running a few freepbx boxes with version 14.0.13.23. Recently 2 of them got updated to version 14.0.16.4 and after that the outbound route CID has stopped working. My provider says I’m not sending any CID at all anymore from these 2 so calls don’t go through the SIP Trunk with the Provider. There is no CID defined on the Trunk itself. Depending on the route, I define different CIDs. Nothing has changed in SIP settings and the Peer configuration for the Trunk.
Has something changed between these versions to affect this ?

Below logs from each a 14.0.16.4 (CID not working) and a 14.0.13.23 (CID working).

FreePBX 14.0.13.23

-- Executing [[email protected]:1] Goto("PJSIP/8000-000a650e", "from-internal,XXXXX025,1") in new stack
-- Executing [[email protected]:1] NoOp("PJSIP/8000-000a650e", " Executing from-internal-stores ") in new stack
-- Executing [[email protected]:2] Gosub("PJSIP/8000-000a650e", "sub-record-check,s,1(out,XXXXX025,dontcare)") in new stack
-- Executing [[email protected]:1] GotoIf("PJSIP/8000-000a650e", "0?initialized") in new stack
-- Executing [[email protected]:2] Set("PJSIP/8000-000a650e", "__REC_STATUS=INITIALIZED") in new stack
-- Executing [[email protected]:3] Set("PJSIP/8000-000a650e", "NOW=1620278132") in new stack
-- Executing [[email protected]:4] Set("PJSIP/8000-000a650e", "__DAY=06") in new stack
-- Executing [[email protected]:5] Set("PJSIP/8000-000a650e", "__MONTH=05") in new stack
-- Executing [[email protected]:6] Set("PJSIP/8000-000a650e", "__YEAR=2021") in new stack
-- Executing [[email protected]:7] Set("PJSIP/8000-000a650e", "__TIMESTR=20210506-081532") in new stack
-- Executing [[email protected]:8] Set("PJSIP/8000-000a650e", "__FROMEXTEN=unknown") in new stack
-- Executing [[email protected]:9] Set("PJSIP/8000-000a650e", "__MON_FMT=wav") in new stack
-- Executing [[email protected]:10] NoOp("PJSIP/8000-000a650e", "Recordings initialized") in new stack
-- Executing [[email protected]:11] ExecIf("PJSIP/8000-000a650e", "0?Set(ARG3=dontcare)") in new stack
-- Executing [[email protected]:12] Set("PJSIP/8000-000a650e", "REC_POLICY_MODE_SAVE=") in new stack
-- Executing [[email protected]:13] ExecIf("PJSIP/8000-000a650e", "0?Set(REC_STATUS=NO)") in new stack
-- Executing [[email protected]:14] GotoIf("PJSIP/8000-000a650e", "3?checkaction") in new stack
-- Executing [[email protected]:17] GotoIf("PJSIP/8000-000a650e", "1?sub-record-check,out,1") in new stack
-- Executing [[email protected]:1] NoOp("PJSIP/8000-000a650e", "Outbound Recording Check from unknown to XXXXX025") in new stack
-- Executing [[email protected]:2] Set("PJSIP/8000-000a650e", "RECMODE=") in new stack
-- Executing [[email protected]:3] ExecIf("PJSIP/8000-000a650e", "1?Goto(routewins)") in new stack
-- Executing [[email protected]:7] Gosub("PJSIP/8000-000a650e", "recordcheck,1(dontcare,out,XXXXX025)") in new stack
-- Executing [[email protected]:1] NoOp("PJSIP/8000-000a650e", "Starting recording check against dontcare") in new stack
-- Executing [[email protected]:2] Goto("PJSIP/8000-000a650e", "dontcare") in new stack
-- Executing [[email protected]:3] Return("PJSIP/8000-000a650e", "") in new stack
-- Executing [[email protected]:8] Return("PJSIP/8000-000a650e", "") in new stack
-- Executing [[email protected]:3] ExecIf("PJSIP/8000-000a650e", "0 ?Set(CDR(accountcode)=)") in new stack
-- Executing [[email protected]:4] Set("PJSIP/8000-000a650e", "MOHCLASS=default") in new stack
-- Executing [[email protected]:5] ExecIf("PJSIP/8000-000a650e", "1?Set(TRUNKCIDOVERRIDE=XXXXX888)") in new stack
-- Executing [[email protected]:6] Set("PJSIP/8000-000a650e", "_NODEST=") in new stack
-- Executing [[email protected]:7] Macro("PJSIP/8000-000a650e", "dialout-trunk,5,XXXXX025,,off") in new stack
-- Executing [[email protected]:1] Set("PJSIP/8000-000a650e", "DIAL_TRUNK=5") in new stack
-- Executing [[email protected]:2] ExecIf("PJSIP/8000-000a650e", "0?Set(DIAL_OPTIONS=Hhtr)") in new stack
-- Executing [[email protected]:3] GosubIf("PJSIP/8000-000a650e", "0?sub-pincheck,s,1()") in new stack
-- Executing [[email protected]:4] ExecIf("PJSIP/8000-000a650e", "0?Set(CALLERID(num)=)") in new stack
-- Executing [[email protected]:5] GotoIf("PJSIP/8000-000a650e", "0?disabletrunk,1") in new stack
-- Executing [[email protected]trunk:6] Set("PJSIP/8000-000a650e", "DIAL_NUMBER=XXXXX025") in new stack
-- Executing [[email protected]:7] Set("PJSIP/8000-000a650e", "DIAL_TRUNK_OPTIONS=HhTtr") in new stack
-- Executing [[email protected]:8] Set("PJSIP/8000-000a650e", "OUTBOUND_GROUP=OUT_5") in new stack
-- Executing [[email protected]:9] Set("PJSIP/8000-000a650e", "DIAL_TRUNK_OPTIONS=T") in new stack
-- Executing [[email protected]:10] GotoIf("PJSIP/8000-000a650e", "1?nomax") in new stack
-- Executing [[email protected]:12] GotoIf("PJSIP/8000-000a650e", "0?skipoutcid") in new stack
-- Executing [[email protected]:13] Macro("PJSIP/8000-000a650e", "outbound-callerid,5") in new stack
-- Executing [[email protected]:1] NoOp("PJSIP/8000-000a650e", "") in new stack
-- Executing [[email protected]:2] NoOp("PJSIP/8000-000a650e", "") in new stack
-- Executing [[email protected]:3] NoOp("PJSIP/8000-000a650e", "off") in new stack
-- Executing [[email protected]:4] ExecIf("PJSIP/8000-000a650e", "0?Set(CALLERPRES(name-pres)=)") in new stack
-- Executing [[email protected]:5] ExecIf("PJSIP/8000-000a650e", "0?Set(CALLERPRES(num-pres)=)") in new stack
-- Executing [[email protected]:6] ExecIf("PJSIP/8000-000a650e", "1?Set(REALCALLERIDNUM=8000)") in new stack
-- Executing [[email protected]:7] ExecIf("PJSIP/8000-000a650e", "0?Set(AMPUSER=unknown)") in new stack
-- Executing [[email protected]:8] GotoIf("PJSIP/8000-000a650e", "1?normcid") in new stack
-- Executing [[email protected]:12] Set("PJSIP/8000-000a650e", "USEROUTCID=") in new stack
-- Executing [[email protected]:13] Set("PJSIP/8000-000a650e", "EMERGENCYCID=") in new stack
-- Executing [[email protected]:14] Set("PJSIP/8000-000a650e", "TRUNKOUTCID=") in new stack
-- Executing [[email protected]:15] GotoIf("PJSIP/8000-000a650e", "1?trunkcid") in new stack
-- Executing [[email protected]:21] ExecIf("PJSIP/8000-000a650e", "0?Set(CALLERID(all)=)") in new stack
-- Executing [[email protected]:22] ExecIf("PJSIP/8000-000a650e", "0?Set(CALLERID(all)=)") in new stack
-- Executing [[email protected]:23] ExecIf("PJSIP/8000-000a650e", "1?Set(CALLERID(all)=XXXXX888)") in new stack
-- Executing [[email protected]:24] ExecIf("PJSIP/8000-000a650e", "0?Set(CALLERPRES(name-pres)=prohib_passed_screen)") in new stack
-- Executing [[email protected]:25] ExecIf("PJSIP/8000-000a650e", "0?Set(CALLERPRES(num-pres)=prohib_passed_screen)") in new stack
-- Executing [[email protected]:26] Set("PJSIP/8000-000a650e", "CDR(outbound_cnum)=XXXXX888") in new stack
-- Executing [[email protected]:27] Set("PJSIP/8000-000a650e", "CDR(outbound_cnam)=") in new stack
-- Executing [[email protected]:14] GosubIf("PJSIP/8000-000a650e", "0?sub-flp-5,s,1()") in new stack
-- Executing [[email protected]:15] Set("PJSIP/8000-000a650e", "OUTNUM=XXXXX025") in new stack
-- Executing [[email protected]:16] Set("PJSIP/8000-000a650e", "custom=SIP/trk-cyta") in new stack
-- Executing [[email protected]:17] ExecIf("PJSIP/8000-000a650e", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)T)") in new stack
-- Executing [[email protected]:18] ExecIf("PJSIP/8000-000a650e", "0?Set(DIAL_TRUNK_OPTIONS=TM(confirm))") in new stack
-- Executing [[email protected]:19] Macro("PJSIP/8000-000a650e", "dialout-trunk-predial-hook,") in new stack
-- Executing [[email protected]:1] MacroExit("PJSIP/8000-000a650e", "") in new stack
-- Executing [[email protected]:20] GotoIf("PJSIP/8000-000a650e", "0?skipcrm") in new stack
-- Executing [[email protected]:21] Set("PJSIP/8000-000a650e", "__CRM_DIRECTION=OUTBOUND") in new stack
-- Executing [[email protected]:22] Set("PJSIP/8000-000a650e", "__CRM_DESTINATION=XXXXX025") in new stack
-- Executing [[email protected]:23] Set("PJSIP/8000-000a650e", "__CRM_SOURCE=") in new stack
-- Executing [[email protected]:24] AGI("PJSIP/8000-000a650e", "sangomacrm.agi") in new stack
-- <PJSIP/8000-000a650e>AGI Script sangomacrm.agi completed, returning 0
-- Executing [[email protected]:25] Set("PJSIP/8000-000a650e", "CHANNEL(hangup_handler_push)=crm-hangup,s,1") in new stack
-- Executing [[email protected]:26] NoOp("PJSIP/8000-000a650e", "CRM Finished") in new stack
-- Executing [[email protected]:27] GotoIf("PJSIP/8000-000a650e", "0?bypass,1") in new stack
-- Executing [[email protected]:28] ExecIf("PJSIP/8000-000a650e", "0?Set(CONNECTEDLINE(num,i)=XXXXX025)") in new stack
-- Executing [[email protected]:29] ExecIf("PJSIP/8000-000a650e", "0?Set(CONNECTEDLINE(name,i)=CID:XXXXX888)") in new stack
-- Executing [[email protected]:30] ExecIf("PJSIP/8000-000a650e", "0?Set(CONNECTEDLINE(name,i)=CID:(Hidden)XXXXX888)") in new stack
-- Executing [[email protected]:31] GotoIf("PJSIP/8000-000a650e", "0?customtrunk") in new stack
-- Executing [[email protected]:32] Dial("PJSIP/8000-000a650e", "SIP/trk-cyta/XXXXX025,300,Tb(func-apply-sipheaders^s^1,(5))") in new stack
-- SIP/trk-cyta-000102dd is making progress passing it to PJSIP/8000-000a650e
-- SIP/trk-cyta-000102dd answered PJSIP/8000-000a650e
-- Channel PJSIP/8000-000a650e joined 'simple_bridge' basic-bridge <e13615ef-7dd1-44fd-8bb1-9dca62101ecb>
-- Channel PJSIP/8000-000a650e left 'simple_bridge' basic-bridge <e13615ef-7dd1-44fd-8bb1-9dca62101ecb>

FreePBX 14.0.16.4

-- Executing [[email protected]:1] Goto("PJSIP/800-00019f19", "from-internal,XXXXX025,1") in new stack
-- Executing [[email protected]:1] NoOp("PJSIP/800-00019f19", " Executing from-internal-custom ") in new stack
-- Executing [[email protected]:2] Gosub("PJSIP/800-00019f19", "sub-record-check,s,1(out,XXXXX025,dontcare)") in new stack
-- Executing [[email protected]:1] GotoIf("PJSIP/800-00019f19", "0?initialized") in new stack
-- Executing [[email protected]:2] Set("PJSIP/800-00019f19", "__REC_STATUS=INITIALIZED") in new stack
-- Executing [[email protected]:3] Set("PJSIP/800-00019f19", "NOW=1620277982") in new stack
-- Executing [[email protected]:4] Set("PJSIP/800-00019f19", "__DAY=06") in new stack
-- Executing [[email protected]:5] Set("PJSIP/800-00019f19", "__MONTH=05") in new stack
-- Executing [[email protected]:6] Set("PJSIP/800-00019f19", "__YEAR=2021") in new stack
-- Executing [[email protected]:7] Set("PJSIP/800-00019f19", "__TIMESTR=20210506-081302") in new stack
-- Executing [[email protected]:8] Set("PJSIP/800-00019f19", "__FROMEXTEN=unknown") in new stack
-- Executing [[email protected]:9] Set("PJSIP/800-00019f19", "__MON_FMT=wav") in new stack
-- Executing [[email protected]:10] NoOp("PJSIP/800-00019f19", "Recordings initialized") in new stack
-- Executing [[email protected]:11] ExecIf("PJSIP/800-00019f19", "0?Set(ARG3=dontcare)") in new stack
-- Executing [[email protected]:12] Set("PJSIP/800-00019f19", "REC_POLICY_MODE_SAVE=") in new stack
-- Executing [[email protected]:13] ExecIf("PJSIP/800-00019f19", "0?Set(REC_STATUS=NO)") in new stack
-- Executing [[email protected]:14] GotoIf("PJSIP/800-00019f19", "3?checkaction") in new stack
-- Executing [[email protected]:17] GotoIf("PJSIP/800-00019f19", "1?sub-record-check,out,1") in new stack
-- Executing [[email protected]:1] NoOp("PJSIP/800-00019f19", "Outbound Recording Check from unknown to XXXXX025") in new stack
-- Executing [[email protected]:2] Set("PJSIP/800-00019f19", "RECMODE=") in new stack
-- Executing [[email protected]:3] ExecIf("PJSIP/800-00019f19", "1?Goto(routewins)") in new stack
-- Executing [[email protected]:7] Gosub("PJSIP/800-00019f19", "recordcheck,1(dontcare,out,XXXXX025)") in new stack
-- Executing [[email protected]:1] NoOp("PJSIP/800-00019f19", "Starting recording check against dontcare") in new stack
-- Executing [[email protected]:2] Goto("PJSIP/800-00019f19", "dontcare") in new stack
-- Executing [[email protected]:3] Return("PJSIP/800-00019f19", "") in new stack
-- Executing [[email protected]:8] Return("PJSIP/800-00019f19", "") in new stack
-- Executing [[email protected]:3] ExecIf("PJSIP/800-00019f19", "0 ?Set(CDR(accountcode)=)") in new stack
-- Executing [[email protected]:4] Set("PJSIP/800-00019f19", "_ROUTEID=2") in new stack
-- Executing [[email protected]:5] Set("PJSIP/800-00019f19", "_ROUTENAME=Outbound Calls") in new stack
-- Executing [[email protected]:6] Set("PJSIP/800-00019f19", "MOHCLASS=default") in new stack
-- Executing [[email protected]:7] ExecIf("PJSIP/800-00019f19", "1?Set(TRUNKCIDOVERRIDE=XXXXX030)") in new stack
-- Executing [[email protected]:8] Set("PJSIP/800-00019f19", "_CALLERIDNAMEINTERNAL=test phone") in new stack
-- Executing [[email protected]:9] Set("PJSIP/800-00019f19", "_CALLERIDNUMINTERNAL=800") in new stack
-- Executing [[email protected]:10] Set("PJSIP/800-00019f19", "_EMAILNOTIFICATION=FALSE") in new stack
-- Executing [[email protected]:11] Set("PJSIP/800-00019f19", "_NODEST=") in new stack
-- Executing [[email protected]:12] Macro("PJSIP/800-00019f19", "dialout-trunk,3,XXXXX025,,off") in new stack
-- Executing [[email protected]:1] Set("PJSIP/800-00019f19", "DIAL_TRUNK=3") in new stack
-- Executing [[email protected]:2] ExecIf("PJSIP/800-00019f19", "0?Set(DIAL_OPTIONS=Hhtr)") in new stack
-- Executing [[email protected]:3] GosubIf("PJSIP/800-00019f19", "0?sub-pincheck,s,1()") in new stack
-- Executing [[email protected]:4] ExecIf("PJSIP/800-00019f19", "0?Set(CALLERID(num)=)") in new stack
-- Executing [[email protected]:5] GotoIf("PJSIP/800-00019f19", "0?disabletrunk,1") in new stack
-- Executing [[email protected]:6] Set("PJSIP/800-00019f19", "DIAL_NUMBER=XXXXX025") in new stack
-- Executing [[email protected]:7] Set("PJSIP/800-00019f19", "DIAL_TRUNK_OPTIONS=HhTtr") in new stack
-- Executing [[email protected]:8] Set("PJSIP/800-00019f19", "OUTBOUND_GROUP=OUT_3") in new stack
-- Executing [[email protected]:9] Set("PJSIP/800-00019f19", "DIAL_TRUNK_OPTIONS=T") in new stack
-- Executing [[email protected]:10] GotoIf("PJSIP/800-00019f19", "1?nomax") in new stack
-- Executing [[email protected]:12] GotoIf("PJSIP/800-00019f19", "0?skipoutcid") in new stack
-- Executing [[email protected]:13] Macro("PJSIP/800-00019f19", "outbound-callerid,3") in new stack
-- Executing [[email protected]:1] NoOp("PJSIP/800-00019f19", "") in new stack
-- Executing [[email protected]:2] NoOp("PJSIP/800-00019f19", "") in new stack
-- Executing [[email protected]:3] NoOp("PJSIP/800-00019f19", "off") in new stack
-- Executing [[email protected]:4] ExecIf("PJSIP/800-00019f19", "0?Set(CALLERPRES(name-pres)=)") in new stack
-- Executing [[email protected]:5] ExecIf("PJSIP/800-00019f19", "0?Set(CALLERPRES(num-pres)=)") in new stack
-- Executing [[email protected]:6] Set("PJSIP/800-00019f19", "HOTDESCKCHAN=800-00019f19") in new stack
-- Executing [[email protected]:7] Set("PJSIP/800-00019f19", "HOTDESKEXTEN=800") in new stack
-- Executing [[email protected]:8] Set("PJSIP/800-00019f19", "HOTDESKCALL=0") in new stack
-- Executing [[email protected]:9] ExecIf("PJSIP/800-00019f19", "0?Set(HOTDESKCALL=1)") in new stack
-- Executing [[email protected]:10] ExecIf("PJSIP/800-00019f19", "0?Set(CALLERID(name)=)") in new stack
-- Executing [[email protected]:11] Set("PJSIP/800-00019f19", "ALLOWTHISROUTE=NO") in new stack
-- Executing [[email protected]:12] ExecIf("PJSIP/800-00019f19", "0?Set(ALLOWTHISROUTE=YES)") in new stack
-- Executing [[email protected]:13] ExecIf("PJSIP/800-00019f19", "0?Hangup()") in new stack
-- Executing [[email protected]:14] ExecIf("PJSIP/800-00019f19", "1?Set(REALCALLERIDNUM=800)") in new stack
-- Executing [[email protected]:15] ExecIf("PJSIP/800-00019f19", "0?Set(AMPUSER=unknown)") in new stack
-- Executing [[email protected]:16] GotoIf("PJSIP/800-00019f19", "1?normcid") in new stack
-- Executing [[email protected]:20] Set("PJSIP/800-00019f19", "USEROUTCID=") in new stack
-- Executing [[email protected]:21] Set("PJSIP/800-00019f19", "EMERGENCYCID=") in new stack
-- Executing [[email protected]:22] ExecIf("PJSIP/800-00019f19", "0?Set(EMERGENCYCID=)") in new stack
-- Executing [[email protected]:23] Set("PJSIP/800-00019f19", "TRUNKOUTCID=") in new stack
-- Executing [[email protected]:24] GotoIf("PJSIP/800-00019f19", "1?trunkcid") in new stack
-- Executing [[email protected]:30] ExecIf("PJSIP/800-00019f19", "0?Set(CALLERID(all)=)") in new stack
-- Executing [[email protected]:31] ExecIf("PJSIP/800-00019f19", "0?Set(CALLERID(all)=)") in new stack
-- Executing [[email protected]:32] ExecIf("PJSIP/800-00019f19", "1?Set(CALLERID(all)=XXXXX030)") in new stack
-- Executing [[email protected]:33] ExecIf("PJSIP/800-00019f19", "0?Set(CALLERID(all)=800)") in new stack
-- Executing [[email protected]:34] ExecIf("PJSIP/800-00019f19", "1?Set(CALLERID(all)=800)") in new stack
-- Executing [[email protected]:35] Set("PJSIP/800-00019f19", "TIOHIDE=no") in new stack
-- Executing [[email protected]:36] ExecIf("PJSIP/800-00019f19", "0?Set(CALLERPRES(name-pres)=prohib_passed_screen)") in new stack
-- Executing [[email protected]:37] ExecIf("PJSIP/800-00019f19", "0?Set(CALLERPRES(num-pres)=prohib_passed_screen)") in new stack
-- Executing [[email protected]:38] ExecIf("PJSIP/800-00019f19", "0?Set(CALLERPRES(name-pres)=prohib_passed_screen)") in new stack
-- Executing [[email protected]:39] ExecIf("PJSIP/800-00019f19", "0?Set(CALLERPRES(num-pres)=prohib_passed_screen)") in new stack
-- Executing [[email protected]:40] Set("PJSIP/800-00019f19", "CDR(outbound_cnum)=800") in new stack
-- Executing [[email protected]:41] Set("PJSIP/800-00019f19", "CDR(outbound_cnam)=") in new stack
-- Executing [[email protected]:14] GosubIf("PJSIP/800-00019f19", "0?sub-flp-3,s,1()") in new stack
-- Executing [[email protected]:15] Set("PJSIP/800-00019f19", "OUTNUM=XXXXX025") in new stack
-- Executing [[email protected]:16] Set("PJSIP/800-00019f19", "custom=SIP/trk-cyta") in new stack
-- Executing [[email protected]:17] ExecIf("PJSIP/800-00019f19", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)T)") in new stack
-- Executing [[email protected]:18] ExecIf("PJSIP/800-00019f19", "0?Set(DIAL_TRUNK_OPTIONS=TM(confirm))") in new stack
-- Executing [[email protected]:19] Macro("PJSIP/800-00019f19", "dialout-trunk-predial-hook,") in new stack
-- Executing [[email protected]:1] MacroExit("PJSIP/800-00019f19", "") in new stack
-- Executing [[email protected]:20] GotoIf("PJSIP/800-00019f19", "0?skipcrm") in new stack
-- Executing [[email protected]:21] Set("PJSIP/800-00019f19", "__CRM_DIRECTION=OUTBOUND") in new stack
-- Executing [[email protected]:22] Set("PJSIP/800-00019f19", "__CRM_DESTINATION=XXXXX025") in new stack
-- Executing [[email protected]:23] Set("PJSIP/800-00019f19", "__CRM_SOURCE=") in new stack
-- Executing [[email protected]:24] AGI("PJSIP/800-00019f19", "sangomacrm.agi") in new stack
-- <PJSIP/800-00019f19>AGI Script sangomacrm.agi completed, returning 0
-- Executing [[email protected]:25] Set("PJSIP/800-00019f19", "CHANNEL(hangup_handler_push)=crm-hangup,s,1") in new stack
-- Executing [[email protected]:26] NoOp("PJSIP/800-00019f19", "CRM Finished") in new stack
-- Executing [[email protected]:27] GotoIf("PJSIP/800-00019f19", "0?bypass,1") in new stack
-- Executing [[email protected]:28] ExecIf("PJSIP/800-00019f19", "0?Set(CONNECTEDLINE(num,i)=XXXXX025)") in new stack
-- Executing [[email protected]:29] ExecIf("PJSIP/800-00019f19", "0?Set(CONNECTEDLINE(name,i)=CID:800)") in new stack
-- Executing [[email protected]:30] ExecIf("PJSIP/800-00019f19", "0?Set(CONNECTEDLINE(name,i)=CID:(Hidden)800)") in new stack
-- Executing [[email protected]:31] GotoIf("PJSIP/800-00019f19", "0?customtrunk") in new stack
-- Executing [[email protected]:32] ExecIf("PJSIP/800-00019f19", "0?Set(DIAL_TRUNK_OPTIONS=)") in new stack
-- Executing [[email protected]:33] Set("PJSIP/800-00019f19", "HASH(__SIPHEADERS,Alert-Info)=unset") in new stack
-- Executing [[email protected]:34] Dial("PJSIP/800-00019f19", "SIP/trk-cyta/XXXXX025,300,Tb(func-apply-sipheaders^s^1,(3))U(sub-send-obroute-email^XXXXX025^XXXXX025^3^1620277982^^800)") in new stack
-- SIP/trk-cyta-00004c9e is making progress passing it to PJSIP/800-00019f19

It seems that “CDR(outbound_cnum)=800”) is set to the extension number instread of the route CID. Is this a bug or something changed ?

Answer, then request:

  • It looks like someone has set the outbound route as an Intracompany Route, which does this automatically.
  • Please use pastebin.freepbx.org for posting logs.

Hi cynjut,

thanks for reply.
no change has been made to the route config, keep in mind this was working before the upgrade.
Neither Emergency nor Intra-Company are selected.

p.s will use pastebin next time

Can you please give us more context about this call? Who dialed this number?

There is a knows bug in FreePBX, when you call an extension with followme and you don’t have an outbound CID specified on the caller extension AND you don’t force a CID on your outbound route or trunk, FreePBX will send the extension number as the CID.

Call is made from internal extension (8000 or 800) to an external number XXXXX025. These 2 numbers are actually test numbers on each respective PBX, so there is no followme enabled on the extension.
Also, CIDs are defined only on outbound routes, not on any extension.
Normal setup I don’t force the CID on the outbound route, but for testing purposes I did try enabling it without any change in behavior.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.