You could try this:
voice translation-rule 10
rule 1 /^1234/ //
!
voice translation-profile strip1234
translate called 10
!
dial-peer voice 111 voip
destination-pattern 1234....
translation-profile outgoing strip1234
session target-ipv4:1.1.1.1
!
translation rule 10 will strip 1234 from the beginning of the called number.
HTH.
Regards,
Bill
Please remember to rate helpful posts.