cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
131
Views
0
Helpful
1
Replies

Cisco 2911

emontes
Level 1
Level 1

Hello, I would like help to modify one DID of my current configuration,  I'm not familiar with IOS and I'm not sure what are the commands to do this.

How can change the number 14401234567 for Any number?

sh run.....
....................................
session transport udp
voice-class codec 1
voice-class sip session refresh
voice-class sip bind media source-interface GigabitEthernet0/2
dtmf-relay rtp-nte digit-drop
fax rate 9600
--More--   no vad
!
dial-peer voice 103 voip
!
!
num-exp 14401234567 4000

!
!
gatekeeper
shutdown
!
!
!
line con 0
login local
line aux 0
line 2
no activation-character

1 Reply 1

Aseem Anand
Cisco Employee
Cisco Employee

Hi,

You can create a translation profile and define it under the voice-port or on the incoming dial-peer. For example if you want to translate 14401234567to 4000 for an incoming call from PSTN you can configure the below rule:

Voice translation-rule 1

rule 1 /14401234567/ /4000/

Voice translation-profile Incoming

translate called 1

Specify it under dial-peer or Voice-port and make sure you specify the correct direction as well. For example specify incoming if its for an incoming call.

dial-peer voice 1 pots

port 0/0/0:23

translation-profile incoming  incoming

You can go through the link below to understand more about translation rules:

http://www.cisco.com/c/en/us/support/docs/voice/call-routing-dial-plans/61083-voice-transla-rules.html

Aseem