The only way to change CLID is to use the CTYP prompt in DGT table of the RLB used by the call.
The possibilities to change CLID are: SPN, NPA, NXX, LOC, CDP, NCHG amd UNKW. The call is retrieving its info from CLID definition.
It's not so flexible as you may need, but have a try. The DGT table in RLB doesn't need to change the dialled number, but apply rules for CLIDs
i.e:
CLID
HNTN 123
HLCL 456
DIDN YES
LOC 789
I want to send CLID with National type, then NPA in DGT. I send 123456DID
I want to send CLID with the location code, then LOC in DGT. I send 789DID