×

Warning message

  • Cisco Support Forums is in Read Only mode while the site is being migrated.
  • Cisco Support Forums is in Read Only mode while the site is being migrated.

CME Dial Peer Stripping First Digit

Answered Question
May 5th, 2014
User Badges:

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

Correct Answer by Manish Prasad about 3 years 3 months ago

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

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4 (2 ratings)
Loading.
Correct Answer
Manish Prasad Mon, 05/05/2014 - 00:32
User Badges:

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

cigalahgroup Mon, 05/05/2014 - 01:13
User Badges:

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

 

Suresh Hudda Mon, 05/05/2014 - 02:41
User Badges:
  • Gold, 750 points or more
  • Cisco Designated VIP,

    2017 IP Telephony

yes, it will work.

 

Suresh

Rakesh K Tue, 05/06/2014 - 01:06
User Badges:

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

 

Manish Prasad Tue, 05/06/2014 - 01:35
User Badges:

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

Actions

This Discussion