×

Warning message

  • Cisco Support Forums is in Read Only mode while the site is being migrated.
  • Cisco Support Forums is in Read Only mode while the site is being migrated.

Global Translation using SOURCE IP of incoming calls

Unanswered Question
Oct 7th, 2010
User Badges:

My goal is to translate (strip off 3 digits) all calls coming FROM a SPECIFIC GATEWAY (in this example, rtr 1720) leaving 7 digits.  I have the following on the 3945 RTR:


voice source-group V1

access-list 50

translation-profile incoming verso-in

!

voice translation-rule 1

rule 1 /^020/ //

voice translation-profile verso-in
translate called 1
!
dial-peer voice 173 voip
description FROM 1720-Router
session protocol sipv2
incoming called-number .......
dtmf-relay rtp-nte digit-drop
!
Test setup:
1700 Router --> SIP INVITE (dialing 020 2850306) --> 3945 Router --> (Cloud of GK/H323 GWY)
My translation pattern works fine but its not being applied.  PID0 (default peer) is answering the call and giving a codec mismatch when dial-peer 173 should be answering it.
000038: *Oct  7 17:23:53.151: %VOICE_IEC-3-GW: SIP: Internal Error (INVITE, codec mismatch)C=1.1.278.7.110.0 on callID 2
Access-list 50 is very basic and matches the IP of the 1720 RTR.
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
globecomm-tle Thu, 10/07/2010 - 13:20
User Badges:


I found my answer ... though mystified!


dial-peer voice 173 voip

incoming called-number [0-9]......


Having 7 "." did not match a 7 digit string.  Having the above does!  Explanation anyone!??

Actions

This Discussion