Hi guys,
We have a ISDN PRI numbers in CME, for example 5607500 and internal DN beginning 51XX, the Internal translation rule is working properly, for example when I call the number 5607575 but is forwarded to the DN 5175.
How to create an outbound translation rule?
When I call from the number 5175, he went into the city through 5607575?
Thank you.
!
voice translation-rule 1
rule 1 /56075\(..\)/ /51\1/
!
voice translation-rule 2
rule 1 ????????????
!
!
voice translation-profile DID
translate called 1
!
voice translation-profile OutDID
translate called 2
!
!
dial-peer voice 1 void
description ***Cucm1***
destination-pattern [1-4]...$
session protocol sipv2
session target ipv4:10.x.x.x
voice-class codec 1
dtmf-relay h245-alphanumeric
no vad
!
dial-peer voice 2 voip
description ***Cucm2***
destination-pattern 50..$
session protocol sipv2
session target ipv4:192.x.x.x
voice-class codec 1
dtmf-relay h245-alphanumeric
no vad
!
dial-peer voice 10000 pots
description Incoming
translation-profile incoming DID
incoming called-number .
no digit-strip
direct-inward-dial
port 0/0/0:15
!
dial-peer voice 1000 pots
description Local city
preference 3
translation-profile outgoing OutDID
destination-pattern 9.......T
port 0/0/0:15
forward-digits 7
!
dial-peer voice 1001 pots
description Shirt no
preference 3
translation-profile outgoing OutDID
destination-pattern 91..
port 0/0/0:15
forward-digits 3
!
dial-peer voice 1002 pots
description Long distance1
preference 2
translation-profile outgoing OutDID
destination-pattern 90[2-8].........
port 0/0/0:15
forward-digits 11
!
dial-peer voice 1003 pots
description Long distance2
preference 1
translation-profile outgoing OutDID
destination-pattern 905[0345]........
port 0/0/0:15
forward-digits 11
!
dial-peer voice 1004 pots
description International
translation-profile outgoing OutDID
destination-pattern 900.T
port 0/0/0:15
forward-digits 14
!