[cisco-voip] how to mask internal extension !
ccieid1ot
ccieid1ot at gmail.com
Tue Apr 19 15:12:46 EDT 2011
Change the config below
voice translation-profile Called-number
translate calling 2 <---------translate called 2
Try with num-exp
On Sun, Apr 17, 2011 at 8:48 AM, Cisco Voip <cisco_newbie at yahoo.com> wrote:
>
> Hi all experts.
>
>
>
> 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.
>
>
>
> Following is my diagram
>
>
>
> (ext
> 1001)CIPC----------------R1---------------------------R2--------------------CIPC(ext
> 2001)
>
>
>
> 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
>
>
>
> R1
> dail-peer voice 2001 voip
> destination-pattern 2...
> session target ipv4:172.16.1.2 (R2's IP)
>
>
>
> R2
> dail-peer voice 1001 voip
> destination-pattern 1...
> session target ipv4:172.16.1.1 (R1's IP)
>
>
>
> Now i made the call from 1001 (and vice versa) and call was successful. Now
> what i wanted to do
>
>
>
> 1) When the call is made from 1001 to 2001, calling-number should translate
> to 0213561000. For this i configured
>
>
>
> On R1:
>
>
>
> voice translation-rule 1
> rule 1 /1001/ /0213561000/
>
>
>
> voice translation-profile Calling-number
> translate calling 1
>
>
>
> dial-peer v 1001
> translation-profile outgoing Calling-number
>
>
>
> Now when i made the call from 1001 to 2001, i can see on 2001 that the call
> is coming from 0213561000. Again successful !
>
>
>
> 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
>
>
>
> on R2:
>
>
>
> dial-peer voice 1 voip
> destination-pattern 0213561000
> session-target ipv4:172.16.1.1
>
>
>
> on R1
>
>
>
> voice translation-rule 2
> rule 1 /0213561000/ /1001/
>
>
>
> voice translation-profile Called-number
> translate calling 2
>
>
>
> dial-peer voice 1 voip
> incoming called-number 0213561000
> translation-profile incoming Called-number
>
>
>
> Now when i dial 0213561000 from 2001, it makes the call and suddenly on
> display it changes to 1001 !!! Why is this so ?
>
>
>
> 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 ?
>
>
>
> 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.
>
>
>
> Pls guys, take out some time to help me out.
>
> _______________________________________________
> cisco-voip mailing list
> cisco-voip at puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-voip
>
>
--
duy
CCIE #27737 Voice
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20110419/005f0225/attachment.html>
More information about the cisco-voip
mailing list