Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

IOS h323 gateway - voice translation rule

Hi,

If i have an incoming call from the US into a router's h323 gateway in a certain country and I need to add on 00 to the calling display, how do I go about doing it with voice translation rules ?

For the sake of discussion, say a call from the US ,+12123945XXX goes into the gateway and the called party is 85224023XXX.

How do I go about displaying the calling party as +0012123945XXX , which is adding the 2 '00' to the calling party.

I need to do this using IOS voice translation rules.

Appreciate your help.

Thanks,

Paul

2 ACCEPTED SOLUTIONS

Accepted Solutions

Re: IOS h323 gateway - voice translation rule

Hi Paul,

If it's only for certain international numbers, you can match on the ISDN plan/type. Do a 'debug isdn q931' to see the type and plan and use something like this:

voice translation-rule 1

rule 1 // /00/ type international international

voice translation-profile 1

translate calling 1

That would translate only the calling number for international calls.

-nick

Re: IOS h323 gateway - voice translation rule

Yes, if you want to do it for certain patterns. Check Nick's example for more generic.

+5 Nick from me.

6 REPLIES

Re: IOS h323 gateway - voice translation rule

What about:

voice translation-rule 1

rule 1 /^1233945/ /001233945/

and add translation to correct dial-peer then match calling party number.

Community Member

Re: IOS h323 gateway - voice translation rule

Hi Konrad ,

Is this how I should do it ?

voice translation-profile 1

translate calling 1

dial peer voice 1 voip

dest-pattern 2404.....

translation profile outgoing 1

session target ipv4:x.x.x.x

Thanks and regards.

Re: IOS h323 gateway - voice translation rule

Yes, if you want to do it for certain patterns. Check Nick's example for more generic.

+5 Nick from me.

Re: IOS h323 gateway - voice translation rule

Hi Paul,

If it's only for certain international numbers, you can match on the ISDN plan/type. Do a 'debug isdn q931' to see the type and plan and use something like this:

voice translation-rule 1

rule 1 // /00/ type international international

voice translation-profile 1

translate calling 1

That would translate only the calling number for international calls.

-nick

Community Member

Re: IOS h323 gateway - voice translation rule

Hi Nick,

I got it to work but I could not using the translation profile on the dial-peer.

I placed the translation profile on the voice-port x/x/x

translation profile incoming xxx

and that worked.

Do you know why it did not work on the dial-peer ? I tried incoming and outgoing on the dial-peer.

Thanks again,

Paul

Re: IOS h323 gateway - voice translation rule

Hi Paul,

Depending on the call flow, you may need it on the voice port. Certain FXS calls flows work slightly different in terms of translation. Otherwise - you may have used different dial peers than you expected.

hth,

nick

879
Views
10
Helpful
6
Replies
CreatePlease to create content