The Identity Trunk settings are for Outbound calls only.
You can change the inbound ANI in PureCloud Architect using the Update Data tool-step. ANI (Call.Ani) is a string value.
Using Update Data you can set a string variable (e.g., Task.strPhoneLookupValue) to something like this expression:
FindString(Call.Ani,"tel:+9")==0?Append("+56",Right(Call.Ani,Length(Call.ANI)-6)):Call.AniWhere, if the first characters in Call.Ani are "tel:+9", then set the varialbe to "+56" plus everything but "tel:+9" of Call.Ani.
If Call.Ani does not start with "tel:+9", then set the variable to Call.Ani (which is probably not useful, but just to give you an idea...).
So, for example, if Call.Ani is "tel:+92297920000" the lookup variable will be set to "+562297920000".
You will want to verify what the inbound Call.Ani starts with. I am guessing that it may start with "tel:+9".
In my PureCloud instance, the Call.Ani usually starts with "tel:+1".
A quick way to check the value of Call.Ani and if the Expression above is working is to use a Play Audio tool in your flow to spell out Call.Ani or the set variable by selecting "say each character".
------------------------------
Dan Fontaine
Altivon
------------------------------