Change the config below<br><br>voice translation-profile Called-number<br> translate calling 2 <---------translate called 2<br><br>Try with num-exp <br><br><div class="gmail_quote">On Sun, Apr 17, 2011 at 8:48 AM, Cisco Voip <span dir="ltr"><<a href="mailto:cisco_newbie@yahoo.com">cisco_newbie@yahoo.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><span><span><br></span></span><div><div>
<p>Hi all experts.</p><p style="min-height:8pt;min-height:8pt;padding:0px"> </p><p>I will be thankful if some one can guide me whats going on in my scenario. Pls dont be scared with such a long post.</p><p style="min-height:8pt;min-height:8pt;padding:0px">
</p><p>Following is my diagram</p><p style="min-height:8pt;min-height:8pt;padding:0px"> </p><p>(ext 1001)CIPC----------------R1---------------------------R2--------------------CIPC(ext 2001)</p><p style="min-height:8pt;min-height:8pt;padding:0px">
</p><p>I am running CME on both R1 and R2 with just one CIPC registered to each. Now i made the following dial-peers on R1 and R2</p><p style="min-height:8pt;min-height:8pt;padding:0px"> </p><p>R1<br>dail-peer voice 2001 voip<br>
destination-pattern 2...<br> session target ipv4:172.16.1.2 (R2's IP)</p><p style="min-height:8pt;min-height:8pt;padding:0px"> </p><p>R2<br>dail-peer voice 1001 voip<br> destination-pattern 1...<br> session target ipv4:172.16.1.1 (R1's IP)</p>
<p style="min-height:8pt;min-height:8pt;padding:0px"> </p><p>Now i made the call from 1001 (and vice versa) and call was successful. Now what i wanted to do</p><p style="min-height:8pt;min-height:8pt;padding:0px"> </p><p>
1) When the call is made from 1001 to 2001, calling-number should translate to 0213561000. For this i configured</p><p style="min-height:8pt;min-height:8pt;padding:0px"> </p><p>On R1:</p><p style="min-height:8pt;min-height:8pt;padding:0px">
</p><p>voice translation-rule 1<br> rule 1 /1001/ /0213561000/</p><p style="min-height:8pt;min-height:8pt;padding:0px"> </p><p>voice
translation-profile Calling-number<br> translate calling 1</p><p style="min-height:8pt;min-height:8pt;padding:0px"> </p><p>dial-peer v 1001<br> translation-profile outgoing Calling-number</p><p style="min-height:8pt;min-height:8pt;padding:0px">
</p><p>Now when i made the call from 1001 to 2001, i can see on 2001 that the call is coming from 0213561000. Again successful !</p><p style="min-height:8pt;min-height:8pt;padding:0px"> </p><p>Now
this is the problem part. I want to dial 0213561000 from 2001, and in
background it should be translated to 1001. I configured the following</p><p style="min-height:8pt;min-height:8pt;padding:0px"> </p><p>on R2:</p><p style="min-height:8pt;min-height:8pt;padding:0px"> </p><p>dial-peer voice 1 voip<br>
destination-pattern 0213561000<br> session-target ipv4:172.16.1.1</p><p style="min-height:8pt;min-height:8pt;padding:0px"> </p><p>on R1</p><p style="min-height:8pt;min-height:8pt;padding:0px"> </p><p>voice translation-rule 2<br>
rule 1 /0213561000/ /1001/</p><p style="min-height:8pt;min-height:8pt;padding:0px"> </p><p>voice translation-profile Called-number<br> translate calling 2</p><p style="min-height:8pt;min-height:8pt;padding:0px"> </p><p>dial-peer voice 1 voip<br>
incoming called-number 0213561000<br> translation-profile incoming Called-number</p><p style="min-height:8pt;min-height:8pt;padding:0px"> </p><p>Now when i dial 0213561000 from 2001, it makes the call and
suddenly on display it changes to 1001 !!! Why is this so ?</p><p style="min-height:8pt;min-height:8pt;padding:0px"> </p><p>I
did some research and changed the protocol to sip. Now using wireshark,
i was clearly able to see that 1001 was send as remote-party-id. But
how to solve it in H323 environment ?</p><p style="min-height:8pt;min-height:8pt;padding:0px"> </p><p>To
put it simple, i want to mask my internal extensions, so that when the
call is made from 2001 to 0213561000. the display should also show
0213561000 and not 1001.</p><p style="min-height:8pt;min-height:8pt;padding:0px"> </p><p>Pls guys, take out some time to help me out.</p></div></div>
</div></div><br>_______________________________________________<br>
cisco-voip mailing list<br>
<a href="mailto:cisco-voip@puck.nether.net">cisco-voip@puck.nether.net</a><br>
<a href="https://puck.nether.net/mailman/listinfo/cisco-voip" target="_blank">https://puck.nether.net/mailman/listinfo/cisco-voip</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>duy<br>CCIE #27737 Voice<br><br>