08-14-2002 11:14 PM - edited 03-12-2019 08:21 PM
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
08-15-2002 09:56 AM
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
08-18-2002 10:04 AM
check out the num-exp command I have use that to change incoming and outgoing numbers.
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