@miro_igov Please read the Wiki and the Tooltips available in the GUI.
From Tooltip in GUI:
So far there have been multiple people saying what you are trying to do is unnecessary and they are right. When a call hits the Inbound Routes, they are tagged as coming from the PSTN already. There is also a variable set ${KEEPCID} that is set in anything that could forward the call out to the PSTN (CF, FM, etc). All of that is looked at already.
Have you read up on any of this and actually tried it?

