From-pstn / from-trunk context

Where can I modify the from-pstn dialplan process?

I would like to override the CALLERID(name)

when I receive an inbound call I see a line like:

Executing [##########@from-internal:4] ExecIf(“SIP/VOIP19_LINK-0002dedd”, “0 ?Set(CALLERID(name)=##########)”) in new stack

where the CALLERID(name) get’s set to the number. I would like to set a name and or override this value / how it get’s set.

I see 2 possibilities 1) edit the from-pstn inner workings (dialplan) where do I find it defined?
2) Find some way to tell from-pstn to not set this field as I have already pre set it correctly in an earlier call in the dial plan (e.g. Set(CALLERID(name)=jane Smith))

You have options, commonly, either write a context that suits (custom-from-pstn) in /etc/asterisk/extension_custom.conf and send your inbound calls there, or copy the context [from-pstn] from extensions.conf into extensions_override_freepbx.conf and edit it there.

Wouldn’t the module for setting a caller id work?
I use that to prepend the chosen language to the caller ID so the users know which language to speak on pickup…