No CLI displayed at extensions for I/C calls

I use a freePbx server at home with a Vega Gateway providing FXO capability for the incoming BT (openreach) PSTN line. The incoming CLI is never displayed on the extensions. I wonder if anyone can help.
The logfile for an incoming call is below;

[2021-07-08 13:47:19] WARNING[320] res_pjsip_registrar.c: Endpoint ‘anonymous’ has no configured AORs
[2021-07-08 13:48:37] NOTICE[2259] chan_sip.c: Peer ‘to-Vega’ is now UNREACHABLE! Last qualify: 26
[2021-07-08 13:49:01] NOTICE[2259] chan_sip.c: Peer ‘to-Vega’ is now Reachable. (37ms / 2000ms)
[2021-07-08 13:49:19] WARNING[18620] res_pjsip_registrar.c: Endpoint ‘anonymous’ has no configured AORs
[2021-07-08 13:50:57] VERBOSE[2259][C-00000013] netsock2.c: Using SIP RTP TOS bits 184
[2021-07-08 13:50:57] VERBOSE[2259][C-00000013] netsock2.c: Using SIP RTP CoS mark 5
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [01474871213@from-trunk-sip-to-Vega:1] Set(“SIP/to-Vega-00000012”, “GROUP()=OUT_1”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [01474871213@from-trunk-sip-to-Vega:2] Goto(“SIP/to-Vega-00000012”, “from-trunk,01474871213,1”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx_builtins.c: Goto (from-trunk,01474871213,1)
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [01474871213@from-trunk:1] NoOp(“SIP/to-Vega-00000012”, “Catch-All DID Match - Found 01474871213 - You probably want a DID for this.”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [01474871213@from-trunk:2] Set(“SIP/to-Vega-00000012”, “__FROM_DID=01474871213”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [01474871213@from-trunk:3] Goto(“SIP/to-Vega-00000012”, “ext-did,s,1”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx_builtins.c: Goto (ext-did,s,1)
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@ext-did:1] Set(“SIP/to-Vega-00000012”, “__DIRECTION=INBOUND”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@ext-did:2] Set(“SIP/to-Vega-00000012”, “CHANNEL(tonezone)=uk”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@ext-did:3] ExecIf(“SIP/to-Vega-00000012”, “0?Set(__FROM_DID=s)”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@ext-did:4] Set(“SIP/to-Vega-00000012”, “returnhere=1”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@ext-did:5] Gosub(“SIP/to-Vega-00000012”, “app-blacklist-check,s,1()”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@app-blacklist-check:1] GotoIf(“SIP/to-Vega-00000012”, “0?blacklisted”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@app-blacklist-check:2] Set(“SIP/to-Vega-00000012”, “CALLED_BLACKLIST=1”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@app-blacklist-check:3] Return(“SIP/to-Vega-00000012”, “”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@ext-did:6] Set(“SIP/to-Vega-00000012”, “CDR(did)=01474871213”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@ext-did:7] GotoIf(“SIP/to-Vega-00000012”, “0?”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@ext-did:8] ExecIf(“SIP/to-Vega-00000012”, “0 ?Set(CALLERID(name)=Anonymous)”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@ext-did:9] Set(“SIP/to-Vega-00000012”, “__MOHCLASS=”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@ext-did:10] Set(“SIP/to-Vega-00000012”, “__REVERSAL_REJECT=FALSE”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@ext-did:11] GotoIf(“SIP/to-Vega-00000012”, “1?post-reverse-charge”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx_builtins.c: Goto (ext-did,s,13)
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@ext-did:13] NoOp(“SIP/to-Vega-00000012”, “”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@ext-did:14] Set(“SIP/to-Vega-00000012”, “__CALLINGNAMEPRES_SV=allowed_not_screened”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@ext-did:15] Set(“SIP/to-Vega-00000012”, “__CALLINGNUMPRES_SV=allowed_not_screened”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@ext-did:16] Set(“SIP/to-Vega-00000012”, “CALLERID(name-pres)=allowed_not_screened”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@ext-did:17] Set(“SIP/to-Vega-00000012”, “CALLERID(num-pres)=allowed_not_screened”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@ext-did:18] NoOp(“SIP/to-Vega-00000012”, “CallerID Entry Point”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@ext-did:19] Goto(“SIP/to-Vega-00000012”, “ext-group,1,1”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx_builtins.c: Goto (ext-group,1,1)
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [1@ext-group:1] GotoIf(“SIP/to-Vega-00000012”, “0?cid”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [1@ext-group:2] PlayTones(“SIP/to-Vega-00000012”, “ring”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [1@ext-group:3] Progress(“SIP/to-Vega-00000012”, “”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [1@ext-group:4] Macro(“SIP/to-Vega-00000012”, “user-callerid,”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@macro-user-callerid:1] Set(“SIP/to-Vega-00000012”, “TOUCH_MONITOR=1625748657.48”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@macro-user-callerid:2] Set(“SIP/to-Vega-00000012”, “AMPUSER=Anonymous”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@macro-user-callerid:3] Set(“SIP/to-Vega-00000012”, “HOTDESCKCHAN=to-Vega-00000012”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@macro-user-callerid:4] Set(“SIP/to-Vega-00000012”, “HOTDESKEXTEN=to”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@macro-user-callerid:5] Set(“SIP/to-Vega-00000012”, “HOTDESKCALL=0”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@macro-user-callerid:6] ExecIf(“SIP/to-Vega-00000012”, “0?Set(HOTDESKCALL=1)”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@macro-user-callerid:7] ExecIf(“SIP/to-Vega-00000012”, “0?Set(CALLERID(name)=)”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@macro-user-callerid:8] GotoIf(“SIP/to-Vega-00000012”, “0?report”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@macro-user-callerid:9] ExecIf(“SIP/to-Vega-00000012”, “1?Set(REALCALLERIDNUM=Anonymous)”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@macro-user-callerid:10] Set(“SIP/to-Vega-00000012”, “AMPUSER=”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@macro-user-callerid:11] GotoIf(“SIP/to-Vega-00000012”, “0?limit”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@macro-user-callerid:12] Set(“SIP/to-Vega-00000012”, “AMPUSERCIDNAME=”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@macro-user-callerid:13] ExecIf(“SIP/to-Vega-00000012”, “0?Set(__CIDMASQUERADING=TRUE)”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@macro-user-callerid:14] GotoIf(“SIP/to-Vega-00000012”, “1?report”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx_builtins.c: Goto (macro-user-callerid,s,23)
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@macro-user-callerid:23] NoOp(“SIP/to-Vega-00000012”, “Macro Depth is 1”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@macro-user-callerid:24] GotoIf(“SIP/to-Vega-00000012”, “1?report2:macroerror”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx_builtins.c: Goto (macro-user-callerid,s,25)
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@macro-user-callerid:25] GotoIf(“SIP/to-Vega-00000012”, “0?continue”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@macro-user-callerid:26] ExecIf(“SIP/to-Vega-00000012”, “1?Set(__CALLEE_ACCOUNCODE=)”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@macro-user-callerid:27] Set(“SIP/to-Vega-00000012”, “__TTL=64”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@macro-user-callerid:28] GotoIf(“SIP/to-Vega-00000012”, “1?continue”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx_builtins.c: Goto (macro-user-callerid,s,44)
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@macro-user-callerid:44] Set(“SIP/to-Vega-00000012”, “CALLERID(number)=Anonymous”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@macro-user-callerid:45] Set(“SIP/to-Vega-00000012”, “CALLERID(name)=Anonymous”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@macro-user-callerid:46] GotoIf(“SIP/to-Vega-00000012”, “0?cnum”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@macro-user-callerid:47] Set(“SIP/to-Vega-00000012”, “CDR(cnam)=Anonymous”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@macro-user-callerid:48] Set(“SIP/to-Vega-00000012”, “CDR(cnum)=Anonymous”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@macro-user-callerid:49] Set(“SIP/to-Vega-00000012”, “CHANNEL(language)=en”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [1@ext-group:5] Macro(“SIP/to-Vega-00000012”, “blkvm-setifempty,”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@macro-blkvm-setifempty:1] GotoIf(“SIP/to-Vega-00000012”, “1?init”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx_builtins.c: Goto (macro-blkvm-setifempty,s,4)
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@macro-blkvm-setifempty:4] Set(“SIP/to-Vega-00000012”, “__BLKVM_CHANNEL=SIP/to-Vega-00000012”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@macro-blkvm-setifempty:5] Set(“SIP/to-Vega-00000012”, “SHARED(BLKVM,SIP/to-Vega-00000012)=TRUE”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@macro-blkvm-setifempty:6] Set(“SIP/to-Vega-00000012”, “GOSUB_RETVAL=TRUE”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@macro-blkvm-setifempty:7] MacroExit(“SIP/to-Vega-00000012”, “”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [1@ext-group:6] GotoIf(“SIP/to-Vega-00000012”, “1?skipov”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx_builtins.c: Goto (ext-group,1,9)
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [1@ext-group:9] Set(“SIP/to-Vega-00000012”, “RRNODEST=”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [1@ext-group:10] Set(“SIP/to-Vega-00000012”, “__NODEST=1”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [1@ext-group:11] GosubIf(“SIP/to-Vega-00000012”, “0?sub-rgsetcid,s,1()”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [1@ext-group:12] Gosub(“SIP/to-Vega-00000012”, “sub-record-check,s,1(rg,1,dontcare)”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@sub-record-check:1] GotoIf(“SIP/to-Vega-00000012”, “0?initialized”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@sub-record-check:2] Set(“SIP/to-Vega-00000012”, “__REC_STATUS=INITIALIZED”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@sub-record-check:3] Set(“SIP/to-Vega-00000012”, “NOW=1625748657”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@sub-record-check:4] Set(“SIP/to-Vega-00000012”, “__DAY=08”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@sub-record-check:5] Set(“SIP/to-Vega-00000012”, “__MONTH=07”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@sub-record-check:6] Set(“SIP/to-Vega-00000012”, “__YEAR=2021”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@sub-record-check:7] Set(“SIP/to-Vega-00000012”, “__TIMESTR=20210708-135057”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@sub-record-check:8] Set(“SIP/to-Vega-00000012”, “__FROMEXTEN=Anonymous”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@sub-record-check:9] Set(“SIP/to-Vega-00000012”, “__MON_FMT=wav”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@sub-record-check:10] NoOp(“SIP/to-Vega-00000012”, “Recordings initialized”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@sub-record-check:11] ExecIf(“SIP/to-Vega-00000012”, “0?Set(ARG3=dontcare)”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@sub-record-check:12] Set(“SIP/to-Vega-00000012”, “REC_POLICY_MODE_SAVE=”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@sub-record-check:13] ExecIf(“SIP/to-Vega-00000012”, “0?Set(REC_STATUS=NO)”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@sub-record-check:14] GotoIf(“SIP/to-Vega-00000012”, “2?checkaction”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx_builtins.c: Goto (sub-record-check,s,17)
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@sub-record-check:17] GotoIf(“SIP/to-Vega-00000012”, “0?sub-record-check,rg,1”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@sub-record-check:18] NoOp(“SIP/to-Vega-00000012”, “Generic rg Recording Check - Anonymous 1”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@sub-record-check:19] Gosub(“SIP/to-Vega-00000012”, “recordcheck,1(dontcare,rg,1)”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [recordcheck@sub-record-check:1] NoOp(“SIP/to-Vega-00000012”, “Starting recording check against dontcare”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [recordcheck@sub-record-check:2] Goto(“SIP/to-Vega-00000012”, “dontcare”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx_builtins.c: Goto (sub-record-check,recordcheck,3)
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [recordcheck@sub-record-check:3] Return(“SIP/to-Vega-00000012”, “”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@sub-record-check:20] Return(“SIP/to-Vega-00000012”, “”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [1@ext-group:13] Set(“SIP/to-Vega-00000012”, “RingGroupMethod=ringall”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [1@ext-group:14] Set(“SIP/to-Vega-00000012”, “__ALT_CONFIRM_MSG=”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [1@ext-group:15] GotoIf(“SIP/to-Vega-00000012”, “0?RGVQANNOUNCE:NORGVQANNOUNCE”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx_builtins.c: Goto (ext-group,1,18)
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [1@ext-group:18] Macro(“SIP/to-Vega-00000012”, “dial,30,HhTtrQ(NO_ANSWER),100-101-102-103-104-120-106-107-121-122-124-125”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@macro-dial:1] NoOp(“SIP/to-Vega-00000012”, "Blind Transfer: , Attended Transfer: , User: , Alert Info: ") in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@macro-dial:2] ExecIf(“SIP/to-Vega-00000012”, “0?Set(ALERT_INFO=)”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@macro-dial:3] ExecIf(“SIP/to-Vega-00000012”, “0?Set(ALERT_INFO=)”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@macro-dial:4] ExecIf(“SIP/to-Vega-00000012”, “0?Set(ALERT_INFO=)”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@macro-dial:5] ExecIf(“SIP/to-Vega-00000012”, “0?Set(CHANNEL(musicclass)=)”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@macro-dial:6] AGI(“SIP/to-Vega-00000012”, “dialparties.agi”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] res_agi.c: Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] res_agi.c: dialparties.agi: Starting New Dialparties.agi
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] res_agi.c: dialparties.agi: Caller ID name is ‘Anonymous’ number is ‘Anonymous’
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] res_agi.c: dialparties.agi: CW Ignore is:
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] res_agi.c: dialparties.agi: CF Ignore is:
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] res_agi.c: dialparties.agi: CW IN_USE/BUSY is: 1
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] res_agi.c: dialparties.agi: Ringgroup confirm is :

I use a freePbx server at home with a Vega Gateway providing FXO capability for the incoming BT (openreach) PSTN line. The incoming CLI is never displayed on the extensions. I wonder if anyone can help.
The logfile for an incoming call is below;

[2021-07-08 13:47:19] WARNING[320] res_pjsip_registrar.c: Endpoint ‘anonymous’ has no configured AORs
[2021-07-08 13:48:37] NOTICE[2259] chan_sip.c: Peer ‘to-Vega’ is now UNREACHABLE! Last qualify: 26
[2021-07-08 13:49:01] NOTICE[2259] chan_sip.c: Peer ‘to-Vega’ is now Reachable. (37ms / 2000ms)
[2021-07-08 13:49:19] WARNING[18620] res_pjsip_registrar.c: Endpoint ‘anonymous’ has no configured AORs
[2021-07-08 13:50:57] VERBOSE[2259][C-00000013] netsock2.c: Using SIP RTP TOS bits 184
[2021-07-08 13:50:57] VERBOSE[2259][C-00000013] netsock2.c: Using SIP RTP CoS mark 5
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [01474871213@from-trunk-sip-to-Vega:1] Set(“SIP/to-Vega-00000012”, “GROUP()=OUT_1”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [01474871213@from-trunk-sip-to-Vega:2] Goto(“SIP/to-Vega-00000012”, “from-trunk,01474871213,1”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx_builtins.c: Goto (from-trunk,01474871213,1)
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [01474871213@from-trunk:1] NoOp(“SIP/to-Vega-00000012”, “Catch-All DID Match - Found 01474871213 - You probably want a DID for this.”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [01474871213@from-trunk:2] Set(“SIP/to-Vega-00000012”, “__FROM_DID=01474871213”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [01474871213@from-trunk:3] Goto(“SIP/to-Vega-00000012”, “ext-did,s,1”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx_builtins.c: Goto (ext-did,s,1)
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@ext-did:1] Set(“SIP/to-Vega-00000012”, “__DIRECTION=INBOUND”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@ext-did:2] Set(“SIP/to-Vega-00000012”, “CHANNEL(tonezone)=uk”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@ext-did:3] ExecIf(“SIP/to-Vega-00000012”, “0?Set(__FROM_DID=s)”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@ext-did:4] Set(“SIP/to-Vega-00000012”, “returnhere=1”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@ext-did:5] Gosub(“SIP/to-Vega-00000012”, “app-blacklist-check,s,1()”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@app-blacklist-check:1] GotoIf(“SIP/to-Vega-00000012”, “0?blacklisted”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@app-blacklist-check:2] Set(“SIP/to-Vega-00000012”, “CALLED_BLACKLIST=1”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@app-blacklist-check:3] Return(“SIP/to-Vega-00000012”, “”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@ext-did:6] Set(“SIP/to-Vega-00000012”, “CDR(did)=01474871213”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@ext-did:7] GotoIf(“SIP/to-Vega-00000012”, “0?”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@ext-did:8] ExecIf(“SIP/to-Vega-00000012”, “0 ?Set(CALLERID(name)=Anonymous)”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@ext-did:9] Set(“SIP/to-Vega-00000012”, “__MOHCLASS=”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@ext-did:10] Set(“SIP/to-Vega-00000012”, “__REVERSAL_REJECT=FALSE”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@ext-did:11] GotoIf(“SIP/to-Vega-00000012”, “1?post-reverse-charge”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx_builtins.c: Goto (ext-did,s,13)
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@ext-did:13] NoOp(“SIP/to-Vega-00000012”, “”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@ext-did:14] Set(“SIP/to-Vega-00000012”, “__CALLINGNAMEPRES_SV=allowed_not_screened”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@ext-did:15] Set(“SIP/to-Vega-00000012”, “__CALLINGNUMPRES_SV=allowed_not_screened”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@ext-did:16] Set(“SIP/to-Vega-00000012”, “CALLERID(name-pres)=allowed_not_screened”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@ext-did:17] Set(“SIP/to-Vega-00000012”, “CALLERID(num-pres)=allowed_not_screened”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@ext-did:18] NoOp(“SIP/to-Vega-00000012”, “CallerID Entry Point”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@ext-did:19] Goto(“SIP/to-Vega-00000012”, “ext-group,1,1”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx_builtins.c: Goto (ext-group,1,1)
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [1@ext-group:1] GotoIf(“SIP/to-Vega-00000012”, “0?cid”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [1@ext-group:2] PlayTones(“SIP/to-Vega-00000012”, “ring”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [1@ext-group:3] Progress(“SIP/to-Vega-00000012”, “”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [1@ext-group:4] Macro(“SIP/to-Vega-00000012”, “user-callerid,”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@macro-user-callerid:1] Set(“SIP/to-Vega-00000012”, “TOUCH_MONITOR=1625748657.48”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@macro-user-callerid:2] Set(“SIP/to-Vega-00000012”, “AMPUSER=Anonymous”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@macro-user-callerid:3] Set(“SIP/to-Vega-00000012”, “HOTDESCKCHAN=to-Vega-00000012”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@macro-user-callerid:4] Set(“SIP/to-Vega-00000012”, “HOTDESKEXTEN=to”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@macro-user-callerid:5] Set(“SIP/to-Vega-00000012”, “HOTDESKCALL=0”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@macro-user-callerid:6] ExecIf(“SIP/to-Vega-00000012”, “0?Set(HOTDESKCALL=1)”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@macro-user-callerid:7] ExecIf(“SIP/to-Vega-00000012”, “0?Set(CALLERID(name)=)”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@macro-user-callerid:8] GotoIf(“SIP/to-Vega-00000012”, “0?report”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@macro-user-callerid:9] ExecIf(“SIP/to-Vega-00000012”, “1?Set(REALCALLERIDNUM=Anonymous)”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@macro-user-callerid:10] Set(“SIP/to-Vega-00000012”, “AMPUSER=”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@macro-user-callerid:11] GotoIf(“SIP/to-Vega-00000012”, “0?limit”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@macro-user-callerid:12] Set(“SIP/to-Vega-00000012”, “AMPUSERCIDNAME=”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@macro-user-callerid:13] ExecIf(“SIP/to-Vega-00000012”, “0?Set(__CIDMASQUERADING=TRUE)”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@macro-user-callerid:14] GotoIf(“SIP/to-Vega-00000012”, “1?report”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx_builtins.c: Goto (macro-user-callerid,s,23)
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@macro-user-callerid:23] NoOp(“SIP/to-Vega-00000012”, “Macro Depth is 1”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@macro-user-callerid:24] GotoIf(“SIP/to-Vega-00000012”, “1?report2:macroerror”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx_builtins.c: Goto (macro-user-callerid,s,25)
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@macro-user-callerid:25] GotoIf(“SIP/to-Vega-00000012”, “0?continue”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@macro-user-callerid:26] ExecIf(“SIP/to-Vega-00000012”, “1?Set(__CALLEE_ACCOUNCODE=)”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@macro-user-callerid:27] Set(“SIP/to-Vega-00000012”, “__TTL=64”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@macro-user-callerid:28] GotoIf(“SIP/to-Vega-00000012”, “1?continue”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx_builtins.c: Goto (macro-user-callerid,s,44)
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@macro-user-callerid:44] Set(“SIP/to-Vega-00000012”, “CALLERID(number)=Anonymous”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@macro-user-callerid:45] Set(“SIP/to-Vega-00000012”, “CALLERID(name)=Anonymous”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@macro-user-callerid:46] GotoIf(“SIP/to-Vega-00000012”, “0?cnum”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@macro-user-callerid:47] Set(“SIP/to-Vega-00000012”, “CDR(cnam)=Anonymous”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@macro-user-callerid:48] Set(“SIP/to-Vega-00000012”, “CDR(cnum)=Anonymous”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@macro-user-callerid:49] Set(“SIP/to-Vega-00000012”, “CHANNEL(language)=en”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [1@ext-group:5] Macro(“SIP/to-Vega-00000012”, “blkvm-setifempty,”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@macro-blkvm-setifempty:1] GotoIf(“SIP/to-Vega-00000012”, “1?init”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx_builtins.c: Goto (macro-blkvm-setifempty,s,4)
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@macro-blkvm-setifempty:4] Set(“SIP/to-Vega-00000012”, “__BLKVM_CHANNEL=SIP/to-Vega-00000012”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@macro-blkvm-setifempty:5] Set(“SIP/to-Vega-00000012”, “SHARED(BLKVM,SIP/to-Vega-00000012)=TRUE”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@macro-blkvm-setifempty:6] Set(“SIP/to-Vega-00000012”, “GOSUB_RETVAL=TRUE”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@macro-blkvm-setifempty:7] MacroExit(“SIP/to-Vega-00000012”, “”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [1@ext-group:6] GotoIf(“SIP/to-Vega-00000012”, “1?skipov”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx_builtins.c: Goto (ext-group,1,9)
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [1@ext-group:9] Set(“SIP/to-Vega-00000012”, “RRNODEST=”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [1@ext-group:10] Set(“SIP/to-Vega-00000012”, “__NODEST=1”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [1@ext-group:11] GosubIf(“SIP/to-Vega-00000012”, “0?sub-rgsetcid,s,1()”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [1@ext-group:12] Gosub(“SIP/to-Vega-00000012”, “sub-record-check,s,1(rg,1,dontcare)”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@sub-record-check:1] GotoIf(“SIP/to-Vega-00000012”, “0?initialized”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@sub-record-check:2] Set(“SIP/to-Vega-00000012”, “__REC_STATUS=INITIALIZED”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@sub-record-check:3] Set(“SIP/to-Vega-00000012”, “NOW=1625748657”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@sub-record-check:4] Set(“SIP/to-Vega-00000012”, “__DAY=08”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@sub-record-check:5] Set(“SIP/to-Vega-00000012”, “__MONTH=07”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@sub-record-check:6] Set(“SIP/to-Vega-00000012”, “__YEAR=2021”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@sub-record-check:7] Set(“SIP/to-Vega-00000012”, “__TIMESTR=20210708-135057”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@sub-record-check:8] Set(“SIP/to-Vega-00000012”, “__FROMEXTEN=Anonymous”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@sub-record-check:9] Set(“SIP/to-Vega-00000012”, “__MON_FMT=wav”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@sub-record-check:10] NoOp(“SIP/to-Vega-00000012”, “Recordings initialized”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@sub-record-check:11] ExecIf(“SIP/to-Vega-00000012”, “0?Set(ARG3=dontcare)”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@sub-record-check:12] Set(“SIP/to-Vega-00000012”, “REC_POLICY_MODE_SAVE=”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@sub-record-check:13] ExecIf(“SIP/to-Vega-00000012”, “0?Set(REC_STATUS=NO)”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@sub-record-check:14] GotoIf(“SIP/to-Vega-00000012”, “2?checkaction”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx_builtins.c: Goto (sub-record-check,s,17)
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@sub-record-check:17] GotoIf(“SIP/to-Vega-00000012”, “0?sub-record-check,rg,1”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@sub-record-check:18] NoOp(“SIP/to-Vega-00000012”, “Generic rg Recording Check - Anonymous 1”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@sub-record-check:19] Gosub(“SIP/to-Vega-00000012”, “recordcheck,1(dontcare,rg,1)”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [recordcheck@sub-record-check:1] NoOp(“SIP/to-Vega-00000012”, “Starting recording check against dontcare”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [recordcheck@sub-record-check:2] Goto(“SIP/to-Vega-00000012”, “dontcare”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx_builtins.c: Goto (sub-record-check,recordcheck,3)
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [recordcheck@sub-record-check:3] Return(“SIP/to-Vega-00000012”, “”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@sub-record-check:20] Return(“SIP/to-Vega-00000012”, “”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [1@ext-group:13] Set(“SIP/to-Vega-00000012”, “RingGroupMethod=ringall”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [1@ext-group:14] Set(“SIP/to-Vega-00000012”, “__ALT_CONFIRM_MSG=”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [1@ext-group:15] GotoIf(“SIP/to-Vega-00000012”, “0?RGVQANNOUNCE:NORGVQANNOUNCE”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx_builtins.c: Goto (ext-group,1,18)
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [1@ext-group:18] Macro(“SIP/to-Vega-00000012”, “dial,30,HhTtrQ(NO_ANSWER),100-101-102-103-104-120-106-107-121-122-124-125”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@macro-dial:1] NoOp(“SIP/to-Vega-00000012”, "Blind Transfer: , Attended Transfer: , User: , Alert Info: ") in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@macro-dial:2] ExecIf(“SIP/to-Vega-00000012”, “0?Set(ALERT_INFO=)”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@macro-dial:3] ExecIf(“SIP/to-Vega-00000012”, “0?Set(ALERT_INFO=)”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@macro-dial:4] ExecIf(“SIP/to-Vega-00000012”, “0?Set(ALERT_INFO=)”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@macro-dial:5] ExecIf(“SIP/to-Vega-00000012”, “0?Set(CHANNEL(musicclass)=)”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] pbx.c: Executing [s@macro-dial:6] AGI(“SIP/to-Vega-00000012”, “dialparties.agi”) in new stack
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] res_agi.c: Launched AGI Script /var/lib/asterisk/agi-bin/dialparties.agi
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] res_agi.c: dialparties.agi: Starting New Dialparties.agi
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] res_agi.c: dialparties.agi: Caller ID name is ‘Anonymous’ number is ‘Anonymous’
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] res_agi.c: dialparties.agi: CW Ignore is:
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] res_agi.c: dialparties.agi: CF Ignore is:
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] res_agi.c: dialparties.agi: CW IN_USE/BUSY is: 1
[2021-07-08 13:50:57] VERBOSE[15493][C-00000013] res_agi.c: dialparties.agi: Ringgroup confirm is :

One would need to see the “sip set debug on” protocol trace to see whether the gateway was providing caller ID. However, you should note that BT do not use the standard, between ringing, caller ID signalling, but rather do a handshake before the first ring. Devices made for the US market may not support this. Others may need to be configured to use it. Also the US and UK use different modem standards.

As a reference, although you are not using DAHDI, if you were, the US settings would be:

cidsignalling=bell
cidstart=ring

and the BT ones would be:

cidsignalling=v23
cidstart=polarity
1 Like

Assuming your Vega device is consistent with that described in

Vega_Admin_Guide_R85_v1.6.pdf

you would need:

[pots]
callerid_type=bt
1 Like

Just checked and callerid_type is set to bt. Thanks for trying.

Peter

Is the ID included in the INVITE, and how?

Please bear with me as I am a bit new to some of this, could you point be to where I can check this. Thanks Peter

At the Asterisk command prompt, type
sip set debug on
and make a test call in. The SIP trace will appear in the Asterisk log, along with the regular entries.

If the INVITE does not show the caller ID at all, you have a configuration problem in the Vega, as @david55 indicated. If it appears, but not in the From header, there may be a setting in the Vega to correct that, or you can use a custom context to extract the Caller ID from the other header.

I turned on sip debug an made an incoming call; this is the log file;

<— SIP read from UDP:192.168.1.84:5060 —>

8611CANCEL sip:[email protected]:5160 SIP/2.0

8612Via: SIP/2.0/UDP 192.168.1.84:5060;rport;branch=z9hG4bK-vega1-B8BD8F117336-000A-0001-599C-198B293E

8613From: “Anonymous” <sip:[email protected]>;tag=00F6-2DFF-57B3AE6A

8614To: <sip:[email protected]>

8615Max-Forwards: 70

8616Call-ID: 00F0-4007-71880892-00000063@936D8D841E9E0FF4C

8617Reason: Q.850 ;cause=16

8618CSeq: 40738451 CANCEL

8619Contact: <sip:[email protected]:5060>

8620User-Agent: VEGAARM/16.02.11.1xS018

8621Content-Length: 0

8622

8623<------------->

8624[2021-07-10 22:23:30] VERBOSE[2259] chan_sip.c: — (11 headers 0 lines) —

8625[2021-07-10 22:23:30] VERBOSE[2259][C-00000039] chan_sip.c: Sending to 192.168.1.84:5060 (NAT)

8626[2021-07-10 22:23:30] VERBOSE[2259][C-00000039] chan_sip.c:

8627<— Reliably Transmitting (NAT) to 192.168.1.84:5060 —>

8628SIP/2.0 487 Request Terminated

8629Via: SIP/2.0/UDP 192.168.1.84:5060;branch=z9hG4bK-vega1-B8BD8F117336-000A-0001-599C-198B293E;received=192.168.1.84;rport=5060

8630From: “Anonymous” <sip:[email protected]>;tag=00F6-2DFF-57B3AE6A

8631To: <sip:[email protected]>;tag=as68d57c8b

8632Call-ID: 00F0-4007-71880892-00000063@936D8D841E9E0FF4C

8633CSeq: 40738451 INVITE

8634Server: FPBX-15.0.17.43(13.38.1)

8635Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE

8636Supported: replaces, timer

8637Content-Length: 0

8638

What you have provided is the caller abandoning the call, not the INVITE that starts the call. However, one can clearly see that it did not provide Caller ID in the From header.

You will need to capture the INVITE request to be able to if it provided it elsewhere. It might actually be in P-Asserted-Identity or Remote-Party-ID, in which case there is built in code, that can be enabled in Asterisk, to obtain it.

However I wouldn’t hold up much hope of its providing caller ID elsewhere, as “Anonymous” in From: is invariably a refusal, or inability, to provide it.

It was a setting on the FXO port of the Vega Gateway. Many thanks for all your help, all working OK now. Peter

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