Hello Flo,
Yes, you can do that with a translation rule on your outgoing dial-peer. You would need a seperate dial-peer with the "9" access code, pointing to a different transalation-rule
Example:
dial-peer voice 60 pots
trunkgroup PRI_T1E1
translation-profile outgoing NORMAL
destination-pattern 05.......
forward-digits all
no sip-register
dial-peer voice 61 pots
trunkgroup PRI_T1E1
translation-profile outgoing ALTERNATE
destination-pattern 905.......
forward-digits all
no sip-register
voice translation-profile NORMAL
translate calling 1000
voice translation-profile ALTERNATE
translate calling 1001
voice translation-rule 1000
rule 15 /^....$/ /0011123456/
voice translation-rule 1001
rule 15 /^....$/ /0022123450/
This just an example, I am not sure what you are using for your outside lines. (BRI, PRI, SIP...)
To be more specific, I would need to see your current configuration.
Thank you,
Darren