cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
640
Views
0
Helpful
4
Replies

How to mask internal extensions !

Jonn cos
Level 4
Level 4

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.

1 Accepted Solution

Accepted Solutions

htluo
Level 9
Level 9

Try this:

voice service voip
no supplementary-service h225-notify cid-update

Michael

http://htluo.blogspot.com

View solution in original post

4 Replies 4

htluo
Level 9
Level 9

Try this:

voice service voip
no supplementary-service h225-notify cid-update

Michael

http://htluo.blogspot.com

Simply Classic !!!

Thanks alot Sir.


Sir, if possible, can you refer me any document that explains the purpose of this command in detail ? i want to learn more about it

I have to dig up the documents.  But you may search Cisco.com with keywords "command reference" and "supplementary-service h225-notify cid-update".

Here's what happens in the background:

1) When you dial the destination number, IP phone will display the number you entered (which is expected).

2) If the call has to go through a H.323 gatway, there will be some H.323 communications between the gateway and CME.

3) Once the far end sends ring-back, it'll also send the destination end point number.  By default H.323 gateway will update this to CME.

If your eyes are good enough, you'll see the IP phone displays  0213561000 first.  Then within a second, it changes to 1001.

The command was to disable the H225 NOTIFY so it won't update the CID.

Michael

http://htluo.blogspot.com

Yes i saw it !!

I just didnt mention it to keep my post simple and free of any ambiguity :-)

Thanks alot for explanation :-)