Cisco Support Community
Community Member

dial-peer translation rule

I have a vg224 running as an h323 gateway with modems and credit card machines attached. I need to be able to prepend a 9 to whatever number is dialed from the credit card machines through a dial-peer. Is the best way through a translation rule? If so, how do I do that without replacing digits?

Community Member

Re: dial-peer translation rule

To prepend digits, assuming the dial-peer is a pots peer, then you simply need to add the command 'prefix 9' to your pots dial-peer on an outbound call that hits that peer.

Incoming calls are handled differently, and depending on the IOS version and the equipment and POTS vs VoIP peers there are a number of ways to do it including translation-rules, translation-profiles, num-exp, and in extreme scenarios TCL applications. I hope this helps, if it is not an outbound pots call, then please describe the call flow in more detail.

John Spade


Community Member

Re: dial-peer translation rule

It's actually a VoIP dial-peer, so something like this:

dial-peer voice 10 voip

destination-pattern 974....

session target ipv4:

dtmf-relay h245-alphanumeric

codec g711ulaw

no vad

so I'm assuming to prepend a 9 to this i would create a translation rule and apply it?? What would the translation rule be to prepend instead of replace?

CreatePlease to create content