cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
260
Views
0
Helpful
2
Replies

VoIP digit/number translation

b.mason
Level 1
Level 1

I have 2 router talking voip to each other.

I want to make a voip call from router 1 by dialing 001006613900000 which matches the outbound voip dial-peer with a destination-pattern 00100661

On router 2 I want to inbound voip dial-peer with incoming called-number 61396900000 to be matched, so when this dial-peer runs its application the application sees the inbound number only as 613900000. So the number needs to be translated before hitting the inbound voip dial-peer.

I have read the Cisco doc's on number translation but still need some assistance or an example.

thanks,

Brett

2 Replies 2

thusain
Level 4
Level 4

What yopu need to do is create a translation rule on router 1, which would look something like this :

translation-rule 1

rule 1 ^0010066 6

This will replace the string 0010066 with 6 and not touch anything that follows that. SO when you dial 001006613900000 u will get 613900000 as a result. Then you apply this rule to your dial-peer :

translate-outgoing called 1

gshonting
Level 1
Level 1

check out the num-exp command I have use that to change incoming and outgoing numbers.