AnsweredAssumed Answered

Translation Pattern Stripping off site code

Question asked by GearMisner on Mar 11, 2011
Latest reply on Mar 14, 2011 by GearMisner

Hey guys,

 

I am having an issues stripping of a site code using a translation pattern.  Here is what I have.

 

Interside Dialing Code = 4

Side Codes = (1-9) Small company

Extensions = 3 digits (I know I know It should be 4, but they like 3 digits)

 

Example Dial-Peer

 

dial-peer voice 4000 voip
description [Interoffice Access Code to NJ]
destination-pattern 42...
session protocol sipv2
session target ipv4:10.3.10.1
dtmf-relay sip-notify
codec g711ulaw
no vad

 

Now I need a translation pattern to strip of the 4 and the 2 and keep the three digits...  Any Ideas?

Outcomes