cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1497
Views
0
Helpful
3
Replies

how to configure outgoing translation rule on single destination pattern

abhijeetbhapkar
Level 1
Level 1

Hi,

I am facing some issue on CME. We want to configure outgoing translation rule on single destination  pattern.Below mention configuration of translation rule if i am configure wrong rule pls suggest.India code+91,Area code-022,PRI number 61126666.

 

voice translation-rule 1
 rule 1 /^61126666$/ /777/
 rule 2 /^61126\(...$\)/ /1\1/
!
voice translation-rule 2
 rule 1 /^9/ //
!
voice translation-rule 3
 rule 1 /^1\(00\)/ /61126666/
 rule 2 /^1\(..\)/ /61126\1/
 rule 3 /.*/ /61126666/
 rule 4 /^.*/ /61126666/
!
voice translation-rule 4
 rule 1 // //
!
!
voice translation-profile Incoming_CLID
 translate calling 4
!
voice translation-profile Incoming_Call_from_PSTN_1
 translate called 1
!
voice translation-profile Outgoing_CLID
 translate calling 3
!
voice translation-profile PSTN_ACCESS_DIGIT_PROFILE
 translate called 2

dial-peer voice 1 pots
 description Incoming Call from PSTN
 translation-profile incoming Incoming_Call_from_PSTN_1
 incoming called-number 61126...
 direct-inward-dial
 port 0/2/0:15
!
dial-peer voice 2 pots
 description Outgoing India
 translation-profile outgoing PSTN_ACCESS_DIGIT_PROFILE
 destination-pattern 0T
 port 0/2/0:15
 forward-digits all
!
dial-peer voice 3 pots
 description Outgoing India
 translation-profile outgoing PSTN_ACCESS_DIGIT_PROFILE
 destination-pattern 9T
 port 0/2/0:15
 forward-digits all

1 Accepted Solution

Accepted Solutions

V.Naveen Kumar
Level 1
Level 1

Try this

 

Voice-translation-rule 1 <------------------ Any Extension will be changed to 61126666 Clid
rule 1 // /61126666/

Voice translation-profile Outgoing_CLID
translate calling 1

dial-peer voice 10 pots
translation-profile outgoing Outgoing_CLID
detination-pattern  9.T <------------------- 9 (Prefix) (Mobile /STD /ISD Number)
port 0/2/0:15
discard digit 9

View solution in original post

3 Replies 3

V.Naveen Kumar
Level 1
Level 1

Try this

 

Voice-translation-rule 1 <------------------ Any Extension will be changed to 61126666 Clid
rule 1 // /61126666/

Voice translation-profile Outgoing_CLID
translate calling 1

dial-peer voice 10 pots
translation-profile outgoing Outgoing_CLID
detination-pattern  9.T <------------------- 9 (Prefix) (Mobile /STD /ISD Number)
port 0/2/0:15
discard digit 9

Thanks Nevin will chk & revert

Yes navin its working charm...thanks for your help...