I have a setup of main site and remote site,remote site phones register to main site over the WAN. One PRI is terminated on the remote Voice gateway. Remote users should use the local PRI to make outgoing call.The remote site phones have extn range of 8XXX. Telco expects the calling party shoud be 28988XXX. The Route Pattern is 9XXXXXXXXX. I have SRST enabled on the Voice gateway.It is an H323 gateway. I need to do all the translation on the gateway rathe than on the Call Manager. I am unable to do the calling party translation on the VG. Please help me with the config.
The gateway config you posted is MGCP. I hope this is the correct gateway..
Anyways, this is what you need to do.
voice translation-rule 3
rule 1 /^\(8.../)$ /28988\1/
The create the translation profile....see below
voice translation-profile CLI-OUT
translate calling 3
Next apply the translation profile to your out going dial-peers..This needs to be applied to all your H.323 out going dial-peers
dial-peer voice 1000 pots
description International Operator
translation-profile outgoing CLI-OUT
progress_ind setup enable 3
progress_ind alert enable 8