On-Net Masking Using Ephone-DN Translation in CME
It may be desirable in certain circumstances to mask on-net callers with another number. In CUCM this is achieved using a combination of translation patterns and calling search spaces; in CME, the implementation of on-net masking is actually a little simpler to achieve.
Let's take a scenario: IP Phone A with DN 7001, wants to contact IP Phone B. IP Phone A is a member of a hunt-group with pilot 7002, and wants the pilot to be displayed whenever an on-net call is made. By configuring outgoing translation for the calling party under the ephone-dn, this is possible and, in fact, simple to achieve.
Observe the following rule:
translation-rule 2
聽Rule 0 ^7001 7002
This translation rule is then applied to the ephone-dn:
ephone-dn 1 octo-line
聽translate calling 2
The output of debug ephone state is telling; ephone 2 (i.e. the Hunt Group member) indicates the original number, whereas ephone 6 simply indicates that the translated number is attempting the call. The destination IP phone has no knowledge of the actual originating calling number.
Feb 23 11:09:24.355: ephone-6[5/2]:Call Info DN 1 line 1 ref 26 call state 1 called 7003 calling 7001 origcalled
Feb 23 11:09:24.355: ephone-6[5/2]:Call Info DN 1 line 1 ref 26 called 7003 calling 7001 origcalled 7003 calltype 2
Feb 23 11:09:24.367: ephone-2[1/3]:Call Info DN 3 line 3 ref 27 call state 7 called 7003 calling 7002 origcalled
Feb 23 11:09:24.367: ephone-2[1/3]:Call Info DN 3 line 3 ref 27 called 7003 calling 7002 origcalled 7003 calltype 1