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

voice translation-rule issue

I have the following voice translation rule to strip a leading 9:

voice translation-rule 1

rule 1 /^9/ //

!

!

voice translation-profile strip

translate called 1

!

It is applied to my dial-peer:

dial-peer voice 800 voip

description Outbound Toll Free to GC

translation-profile outgoing strip

destination-pattern 918[0,4-8][0,4-8]T

voice-class codec 1

session protocol sipv2

session target ipv4:146.82.24.37:5060

dtmf-relay rtp-nte

no vad

!

No matter what I try, it continues to send the leading 9:

Sent:

INVITE sip:918002278289@146.82.24.37:5060 SIP/2.0

Via: SIP/2.0/UDP 10.1.50.10:5060;branch=z9hG4bKE2250

From: <sip:10.1.50.10>;tag=1ED4CC-A2D

To: <sip:918002278289@146.82.24.37>

What am I missing? This seems so easy and I've done it a million times.

Thanx,

-Tim

7 REPLIES

Re: voice translation-rule issue

It appears that you are not forwarding digits and you are certainly stripping digits on the VoIP DP, so the thing to try is initiate a 'debug vpm signal' to see what digits are actually being forwarded when you dial the number and take it from there.

Regards

Allan.

New Member

Re: voice translation-rule issue

Not sure I understand. You can see in the invite that the digits are being forwarded to the SIP gateway. It's just not stripping the leading 9.

-Tim

Hall of Fame Super Gold

Re: voice translation-rule issue

Which exact IOS is this ?

New Member

Re: voice translation-rule issue

This is 12.4.3e IPVOICE. I also tried it on another router with 12.4(11)T. Same results.

-Tim

Hall of Fame Super Gold

Re: voice translation-rule issue

This is strange indeed, as you said, done a million times.

What "test voice translation-rule 1 918005551234" shows ?

Any chance you have another DP to the same peer ?

New Member

Re: voice translation-rule issue

The translation rule seems to work great:

STA2811#test voice translation-rule 1 918005551234

Matched with rule 1

Original number: 918005551234 Translated number: 18005551234

Original number type: none Translated number type: none

Original number plan: none Translated number plan: none

There are only a couple of dial-peers on this system, and only one to my SIP gateway, so I know it's hitting the right one (I also debugged the dial-peers to make sure).

Hmmm

-Tim

Hall of Fame Super Gold

Re: voice translation-rule issue

Literally, I cannot think of anything causing that. Matter for the TAC I suppose.

147
Views
0
Helpful
7
Replies
CreatePlease to create content