Talking about logs …
… in which logs could I see the changes of the number?
The console, set to verbose 9, shows the wrongly manipulated number in the first lines (number changed for privacy).
raspbx*CLI> core set verbose 9
Console verbose was OFF and is now 9.
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
-- Executing [620@from-trunk-international:1] Set("SIP/outUnity-00000002", "CALLERID(num)=+49621015251234567") in new stack
-- Executing [620@from-trunk-international:2] Goto("SIP/outUnity-00000002", "from-trunk,620,1") in new stack
-- Goto (from-trunk,620,1)
-- Executing [620@from-trunk:1] NoOp("SIP/outUnity-00000002", "Catch-All DID Match - Found 620 - You probably want a DID for this.") in new stack
-- Executing [620@from-trunk:2] Log("SIP/outUnity-00000002", "WARNING,Friendly Scanner from 192.168.20.1") in new stack
[2019-04-06 08:26:45] WARNING[10347][C-00000001]: Ext. 620:2 @ from-trunk: Friendly Scanner from 192.168.20.1
-- Executing [620@from-trunk:3] Set("SIP/outUnity-00000002", "__FROM_DID=620") in new stack
-- Executing [620@from-trunk:4] Goto("SIP/outUnity-00000002", "ext-did,s,1") in new stack
-- Goto (ext-did,s,1)
-- Executing [s@ext-did:1] Set("SIP/outUnity-00000002", "__DIRECTION=INBOUND") in new stack
-- Executing [s@ext-did:2] Gosub("SIP/outUnity-00000002", "sub-record-check,s,1(in,s,dontcare)") in new stack
-- Executing [s@sub-record-check:1] GotoIf("SIP/outUnity-00000002", "0?initialized") in new stack
-- Executing [s@sub-record-check:2] Set("SIP/outUnity-00000002", "__REC_STATUS=INITIALIZED") in new stack
-- Executing [s@sub-record-check:3] Set("SIP/outUnity-00000002", "NOW=1554539205") in new stack
-- Executing [s@sub-record-check:4] Set("SIP/outUnity-00000002", "__DAY=06") in new stack
-- Executing [s@sub-record-check:5] Set("SIP/outUnity-00000002", "__MONTH=04") in new stack
-- Executing [s@sub-record-check:6] Set("SIP/outUnity-00000002", "__YEAR=2019") in new stack
-- Executing [s@sub-record-check:7] Set("SIP/outUnity-00000002", "__TIMESTR=20190406-082645") in new stack
-- Executing [s@sub-record-check:8] Set("SIP/outUnity-00000002", "__FROMEXTEN=unknown") in new stack
-- Executing [s@sub-record-check:9] Set("SIP/outUnity-00000002", "__MON_FMT=wav") in new stack
-- Executing [s@sub-record-check:10] NoOp("SIP/outUnity-00000002", "Recordings initialized") in new stack
-- Executing [s@sub-record-check:11] ExecIf("SIP/outUnity-00000002", "0?Set(ARG3=dontcare)") in new stack
-- Executing [s@sub-record-check:12] Set("SIP/outUnity-00000002", "REC_POLICY_MODE_SAVE=") in new stack
-- Executing [s@sub-record-check:13] ExecIf("SIP/outUnity-00000002", "0?Set(REC_STATUS=NO)") in new stack
-- Executing [s@sub-record-check:14] GotoIf("SIP/outUnity-00000002", "2?checkaction") in new stack
-- Goto (sub-record-check,s,17)