According to the this document:
http://www.cisco.com/en/US/tech/tk652/tk90/technologies_configuration_example09186a00803f818a.shtml#configs you can assign inbound and outbound translation-profiles to trunk groups, but it doesn't seem to work as advertised. Here are the significant parts of my config.
trunk group PRI
translation-profile outgoing PRI-OUT
!
voice translation-rule 202
rule 1 /^8/ //
!
voice translation-profile PRI-OUT
translate called 202
!
interface Serial0/0/0:23
no ip address
encapsulation hdlc
isdn switch-type primary-ni
isdn incoming-voice voice
trunk-group PRI 1
!
When I run debug voice translation and try to make a call I see the following:
*Feb 5 22:17:18.684: //-1/80303FCC1500/RXRULE/regxrule_vp_translate: No profile found in voice port or trunk group for outgoing direction
Debug isdn q931 confirms that the call is going out the S0/0/0:23 interface, but is not getting translated.
Is there something I'm missing, Is it a bug, or is the documentation wrong?