11-15-2007 12:07 PM - last edited on 03-25-2019 07:38 PM by ciscomoderator
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
11-15-2007 02:37 PM
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.
11-15-2007 02:44 PM
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
11-15-2007 02:40 PM
Which exact IOS is this ?
11-15-2007 02:43 PM
This is 12.4.3e IPVOICE. I also tried it on another router with 12.4(11)T. Same results.
-Tim
11-15-2007 02:48 PM
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 ?
11-15-2007 02:54 PM
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
11-15-2007 03:07 PM
Literally, I cannot think of anything causing that. Matter for the TAC I suppose.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide