Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Masking the DN of the IP phone.....Require Suggestions

we have multiple agents when they dial outbound there DN is masked to the same number...Since the number of agents increase to 15 so the translation rule is fully occupied...so i tried to add a new translation rule with a new dial peer similar to the one working ealier but i could not figure out which port to use for that dial peer and it failed....

Secondly i tried to mask the DN using Call manager 7 when i tried to mask the DN from the line of IP phone it didnt worked and the agent extension was still displayed as before ......so Under the Route Pattern on CUCM ,under the Calling Party Transformations ,check the box that says use calling Party`s External Phone number Mask , as i checked that box ...i was not able to dial outside and it gives me busy tone any idea why....

Below is the Gateway config.... and i just need to add three more rules .... Any help would be appreciated...

sh run
Building configuration...

Current configuration : 6708 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!
!

no aaa new-model
errdisable recovery cause udld
errdisable recovery cause bpduguard
errdisable recovery cause rootguard
errdisable recovery cause pagp-flap
errdisable recovery cause dtp-flap
errdisable recovery cause link-flap
--More--                           errdisable recovery interval 30
no network-clock-participate slot 1
network-clock-participate wic 1
network-clock-select 1 E1 0/1/0
dot11 syslog
!
!
ip cef
!
!
no ip domain lookup
multilink bundle-name authenticated
!
!
voice-card 0
no dspfarm
!
voice-card 1
no dspfarm
!
!
!
voice service voip
--More--                            fax protocol t38 ls-redundancy 2 hs-redundancy 0 fallback none
h323
  session transport udp
sip
!
!
!
!
voice class h323 1
  call start fast
!
!
!
!
!
!
!
!
!
!
voice translation-rule 1
rule 1 /^5\([012345689].......\)/ /905\1/
rule 2 /^1\(.......\)/ /9\1/
--More--                            rule 3 /^2\(.......\)/ /902\1/
rule 4 /^3\(.......\)/ /903\1/
rule 5 /^7\(.......\)/ /907\1/
rule 6 /^4\(.......\)/ /904\1/
rule 7 /^6\(.......\)/ /906\1/
!
voice translation-rule 2
rule 1 /\(^.*\)8760\(.*\)/ /\18703\2/
rule 2 /\(^.*\)8705\(.*\)/ /\18703\2/
rule 3 /\(^.*\)8731\(.*\)/ /\18703\2/
rule 4 /\(^.*\)8730\(.*\)/ /\18703\2/
rule 5 /\(^.*\)8719\(.*\)/ /\18703\2/
rule 6 /\(^.*\)8735\(.*\)/ /\18703\2/
rule 7 /\(^.*\)8734\(.*\)/ /\18703\2/
rule 8 /\(^.*\)8728\(.*\)/ /\18703\2/
rule 9 /\(^.*\)8708\(.*\)/ /\18703\2/
rule 10 /\(^.*\)8736\(.*\)/ /\18703\2/
rule 11 /\(^.*\)8786\(.*\)/ /\18703\2/
rule 12 /\(^.*\)8738\(.*\)/ /\18703\2/
rule 13 /\(^.*\)8759\(.*\)/ /\18703\2/
rule 14 /\(^.*\)8735\(.*\)/ /\18703\2/
rule 15 /\(^.*\)8716\(.*\)/ /\18703\2/
!
voice translation-rule 3
rule 1 /\(^.*\)8763\(.*\)/ /\18703\2/
rule 2 /\(^.*\)8764\(.*\)/ /\18703\2/
!
!
voice translation-profile 1
translate called 1
!
voice translation-profile 2
translate calling 2
!
voice translation-profile incoming-did-tp
translate calling 1
!
voice translation-profile outgoing-dod-mask-tp
translate calling 2
!
!
!
!
!
!
vtp mode transparent
--More--                           archive
log config
  hidekeys
!
!
controller E1 0/1/0
framing NO-CRC4
ds0-group 0 timeslots 1-15 type r2-digital r2-compelled ani
ds0-group 1 timeslots 17-29 type r2-digital r2-compelled ani
cas-custom 0
  country saudiarabia use-defaults
!
controller E1 0/1/1
framing NO-CRC4
ds0-group 0 timeslots 1-15,17-31 type r2-digital r2-compelled ani
cas-custom 0
  country saudiarabia use-defaults
!
!
translation-rule 2
!
!
!
--More--                           !
!
interface GigabitEthernet0/0
ip address 10.0.106.6 255.255.255.0
duplex auto
speed auto
!
interface GigabitEthernet0/1
description $ES_LAN$
no ip address
shutdown
duplex auto
speed auto
!
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 10.0.106.254
!
!
ip http server
no ip http secure-server
!
!
control-plane
!
!
!
voice-port 0/0/0
connection plar 1111
!
voice-port 0/0/1
connection plar 1111
!
voice-port 0/0/2
connection plar 1111
!
voice-port 0/0/3
connection plar 1111
!
voice-port 0/1/0:0
!
voice-port 0/1/0:1
translation-profile outgoing outgoing-dod-mask-tp
!
  voice-port 0/1/1:0
connection plar 1111
!
voice-port 0/2/0
connection plar 1111
!
voice-port 0/2/1
connection plar 1111
!
voice-port 0/2/2
connection plar 1111
!
voice-port 0/2/3
connection plar 1111
!
voice-port 0/3/0
connection plar 1111
!
voice-port 0/3/1
connection plar 1111
!
voice-port 0/3/2
connection plar 1111
--More--                           !
voice-port 0/3/3
connection plar 1111
!
voice-port 1/0/0
connection plar 1111
!
voice-port 1/0/1
connection plar 1111
!
voice-port 1/0/2
connection plar 2791371
!
voice-port 1/0/3
connection plar 2791371
!
voice-port 1/1/0
connection plar 1111
!
voice-port 1/1/1
connection plar 1111
!
voice-port 1/1/2
--More--                            connection plar 1111
!
voice-port 1/1/3
connection plar 1111
!
!
!
!
!
dial-peer voice 1 voip
destination-pattern 1...
session target ipv4:10.0.106.15
dtmf-relay h245-alphanumeric
codec g711ulaw
no vad
!
dial-peer voice 8 voip
preference 4
destination-pattern 8...
session target ipv4:10.0.106.15
dtmf-relay h245-alphanumeric
codec g711ulaw
no vad
--More--                           !
dial-peer voice 81 voip
preference 5
destination-pattern 8...
session target ipv4:10.0.106.14
dtmf-relay h245-alphanumeric
codec g711ulaw
no vad
!
dial-peer voice 11 voip
preference 1
destination-pattern 1...
session target ipv4:10.0.106.14
dtmf-relay h245-alphanumeric
codec g711ulaw
no vad
!
dial-peer voice 8787 voip
description General Fax Number 8787 dial-peer
destination-pattern 8787
voice-class h323 1
session target ipv4:10.0.106.11
session transport udp
--More--                            incoming called-number .
codec g711ulaw
fax-relay ecm disable
fax-relay sg3-to-g3
fax rate 14400
fax protocol t38 ls-redundancy 2 hs-redundancy 0 fallback none
!
dial-peer voice 8000 pots
description Dial Peer for DID function
translation-profile incoming incoming-did-tp
incoming called-number 87..
direct-inward-dial
port 0/1/0:0
!
dial-peer voice 9000 pots
description Dial Peer for DOD function and ougoing faxes
translation-profile outgoing outgoing-dod-mask-tp
destination-pattern 9.T
fax rate voice
port 0/1/0:1
!
dial-peer voice 8757 voip
description Contact Center Fax Number 8757 dial-peer - will be sent to conta
--More--                            destination-pattern 8757
voice-class h323 1
session target ipv4:10.0.106.11
session transport udp
incoming called-number .
codec g711ulaw
fax-relay ecm disable
fax-relay sg3-to-g3
fax rate 14400
fax protocol t38 ls-redundancy 2 hs-redundancy 0 fallback none
!
dial-peer voice 6 voip
destination-pattern 2791371
session target ipv4:10.0.106.15
dtmf-relay h245-alphanumeric
codec g711ulaw
no vad
!
dial-peer voice 6000 pots
description Dial Peer for 2791371
destination-pattern 6.T
port 1/0/2
!
--More--                           dial-peer voice 8797 voip
description IT Fax Number 8757 dial-peer - will be sent to IT
destination-pattern 8797
voice-class h323 1
session target ipv4:10.0.106.11
session transport udp
incoming called-number .
codec g711ulaw
fax-relay ecm disable
fax-relay sg3-to-g3
fax rate 14400
fax protocol t38 ls-redundancy 2 hs-redundancy 0 fallback none
!
dial-peer voice 8758 voip
description General Fax Number 8758 dial-peer
destination-pattern 8758
voice-class h323 1
session target ipv4:10.0.106.11
session transport udp
incoming called-number .
codec g711ulaw
fax-relay ecm disable
fax-relay sg3-to-g3
--More--                            fax rate 14400
fax protocol t38 ls-redundancy 2 hs-redundancy 0 fallback none
!
!
!
line con 0
line aux 0
line vty 0 4
password 7 13161E1F0A040D3A2827173A26364356
login
!
scheduler allocate 20000 1000
!
end

2 REPLIES
Hall of Fame Super Silver

Re: Masking the DN of the IP phone.....Require Suggestions

Are you using Callmanager?

Why not perform the translations in CUCM rather than GW?  It will give you alot more flexibility.

Chris

New Member

Re: Masking the DN of the IP phone.....Require Suggestions

I have already tried it using CUCM ......

Secondly i tried to mask the DN using Call manager 7 when i tried to mask the DN from the line of IP phone it didnt worked and the agent extension was still displayed as before ......so Under the Route Pattern on CUCM ,under the Calling Party Transformations ,check the box that says use calling Party`s External Phone number Mask , as i checked that box ...i was not able to dial outside and it gives me busy tone any idea why....

I have to do the following translation tell me exactly what can i do...

voice translation-rule 3
rule 1 /\(^.*\)8763\(.*\)/ /\18703\2/
rule 2 /\(^.*\)8764\(.*\)/ /\18703\2/
!

463
Views
0
Helpful
2
Replies