cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1552
Views
3
Helpful
7
Replies

CME Dial Peer Stripping First Digit

cigalahgroup
Level 1
Level 1

Hello,

          I have 2 site SITE A with CUCM 9.2 with the extension numbers 9XXX and I wan to call from SITE B which has CME . To do this I created Inter cluster trunk on the CUCM9.0 and created dial peer on CME  to receive the call and works perfectly.

The CME site users uses digit 9 to take external line to call on mobile or land lines.

When I make a dial peer with destination pattern 9... it works but they are not able to take external line since 9 is already used.  I want a dial peer like this listed below 

destination pattern 29xxx where it should strip first digit 2 and send 9xxx.

 

Thanks

1 Accepted Solution

Accepted Solutions

Manish Prasad
Level 5
Level 5

voice translation-rule 1
 rule 1 /^2\(9...$\)/ /\1/

 

voice translation-profile Strip2
 translate called 1

 

dial-peer voice xxx voip
 translation-profile outgoing Strip2

 

 

Thanks

Manish

View solution in original post

7 Replies 7

Manish Prasad
Level 5
Level 5

voice translation-rule 1
 rule 1 /^2\(9...$\)/ /\1/

 

voice translation-profile Strip2
 translate called 1

 

dial-peer voice xxx voip
 translation-profile outgoing Strip2

 

 

Thanks

Manish

Thanks Manish will it work like this 

voice translation-rule 9000
 rule 1 /^2\(9...$\)/ /\1/

voice translation-profile Strip2
 translate called 9000


dial-peer voice 9001 voip
destination-pattern 2[9]... 
translation-profile outgoing Strip2
session target ipv4:10.202.0.3
dtmf-relay h245-alphanumeric
 no vad

 

yes, it will work.

 

Suresh

Thanks Manish it worked 

Rakesh K
Level 1
Level 1

Hi Mansih,

I was just thinking will this work or not, Could please let me know.

 

dial-peer voice 123 voip

destination pattern 29XXX

digit forward 4

session target ipv4 x.x.x.x

Thanks in advance

 

I haven't tried forward digit on VOIP dial-peer because translation profile is more powerful tool to manage digits.

If it something new to new IOS then it will works same as on POTS dial-peer and Yes it will forward only last four digits.

 

Thanks

Manish

Hi Manish,

 

Thanks for adding some light.