Does anyone know if it is possible to modify the calling number type based on a match on the called number?
Calling number: 46701234567 (Type: International)
Called number: 98089512345 (Type: Unknown)
The calling number type should be changed to 'Unknown' if the called number matches with the regular expression ^980895.*
No, that is not possible with a translation-rule.
However, you can use an incoming DP to prefix the called number with somethign in order to route the call out to a designated outgoing DP, where the correct type is applied.
Hope this helps, please rate post if it does!