cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1143
Views
0
Helpful
8
Replies

Translation rule 15 max rules supported..

IPCC.Gulf
Level 1
Level 1

I have 2 translation rules one for inbound and the other for outbound, the outbound has got 15 rules defined in it, now we have the requirement to add three more rules to it, but thats not supported, so the only way is to add a new rule, but how can i add two profiles to one dial peer.

Any help would be appreciated.

Thanks

8 Replies 8

Hi,

It's more justified to create two dial-peers with different explicit matches and apply different profile.

Thanks,

Mijanur Rahman

Thank you for your response.... I dont have any issue doing what you suggested but ther is only one confusion in my mind

I believe below is the outbound dial peer..so i need to create exactly the same one with a different profile?.... I am only concernec about the port in it...will that be the same or i have to specify a different one...I dont know any thing about it ..so how can i know which port is to be provided will make it work..

dial-peer voice 9000 pots
description Dial Peer for outbound
translation-profile outbound
destination-pattern 9.T
fax rate voice
port 0/1/0:1

Secondly will that be possible to call two rules in one profile which is assigned to the dial peer in the below way..

voice translation-profile outbound
translate calling 2
translate calling 3

Will be thankfull if you can clarify the two points..

Hey Mohammad,

You can create two dial-peers with same destination-pattern but it will work as redundant fashion.

And also, you cannot assign two rules both in calling or called section, you have to assign single rule!

My reccommendation was to create two seperate dial-peer with two seperate destination-pattern, i.e., if you are using 9.T now plan to divide it into two with more specific match. You can learn the dial-peer configs from here:

http://www.cisco.com/en/US/docs/ios/12_3/vvf_c/dial_peer/dp_confg.html#wp1067839

I faced the issue similar to you once and I divided my 9.T dial-peer into 9.[0-5]T and 9.[6-9]T and assigned two seperate translation-profiles into each.

Hope this help.

Thanks,

Mijanur Rahman

Dear,

If i assign 9.T to both dial peers than, for outbound will it search for the correct rule and then through the call using that dial peer?

Secondly how exactly can i distribute 9.T into two dial peers .... my requirement is 9.T must be excessable to both rules ... can you please give me an example...

And One last thing is can please clarify the port thing that i asked earlier... its been wondering in my mind since long time....

Really appreciate your help

Hi Mohammad,

As I understand, you want to send different calling number to PSTN based on what extension making calls, right?

If so, I suggest you to use External Phone Mask in Directory Configuration in CallManager.

For the inbound calls, use translation patterns in CCM instead of translation rule at voice gateway.

Hope this helps.

Hiep.

I have tried the external phone number mask but thats not working... is there any specific config on the gateway  page in call manager? or any place else..

I dont need any thing for the inboound calls they are already fine...so why do i need to work on the translation pattern?

All i require is to show a same number for all agents when they make outgoing call..please list down the steps required for it in detail

Thanks a lot for your help

when i tried to mask the DN from the line of IP phone it didnt worked 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 ....

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

Hi,

When making an outbound call to PSTN with "Use Calling Party's External Phone Number" marked, could you do a debug voice dialpeer on the voice gateway to see which dial-peers are matched?