There are two possible issues: the HT getting the caller ID from the PSTN line, and sending it to Asterisk in the correct format.
For the first issue:
At the Asterisk command prompt (not a shell prompt), type
pjsip set logger on
sip set debug on
(according to trunk type)
make a test call in and see what appears in the P-Asserted-Identity header. If the caller ID is present, the first issue is solved. Otherwise, try different values of Caller ID Scheme until the caller ID shows up. Alternatives to just guessing the Scheme include documentation from your carrier, documentation for a phone that shows caller ID when connected to your line, or finding the format for Portugal on the web (I failed). Or, if you have a way to listen on the line to caller ID being sent (butt set, capacitor in series with non-electronic phone, etc.), post the audio file and we can figure it out. There is some general information here:
Once P-Asserted-Identity has the correct info, try changing Caller ID Transport Type to Relay via SIP From. With luck, it will work and you are done. If calls now fail altogether, there may be a trunk settings change to fix that; post details of your trunk configuration. Alternatively, you can use a custom context to get the caller ID from the PAI header.