Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

digits stripping

we have a isdn DID number from 3598300 to 3598399 and ccme, the incoming number 3598300 should be striped in gateway and only 300 should be matched and reach the phone with DN 300. can any one help in configuration.


Re: digits stripping

is this cme or CM ?

Use dialplan pattern to achieve this in CME.

Or use num-exp to expand 3589300 to 300 and then in your dial-peers that send the call to callmanager, match 3.. as the destination-pattern.

Hall of Fame Super Gold

Re: digits stripping

Shanky, how do you use dialplan pattern in CME ? I tried that and did not change the number at all. I always use a translation rule to strip the non-did part:

voice-port x/y/x:15

translate incoming makedid

voice transalation-profile makedid

translate called 200

voice translation-rule 100

rule 1 /^3589/ //

Re: digits stripping


dialplan-pattern 1 35893.. extension-length 3

when a call comes in, and if the ephone-dn's are configured with 3 digit extensions, CME will automatically strip 3589 and ring the phone with extension 3XX automatically. Conversely, if an extension with 3XX calls to an outside destination, 3589 is automatically prepended in caller id.

Dialplan pattern is not always safe to use, unless you take special care with using it. Say your voicemail pilot was 310 and overlaps with your internal extensions. This can cause the voicemail pilot when dialed (310) to be expanded to 3589310. This may cause calls to CUE (say) fail, because your dial-peer (SIP) to CUE may be configured as "destination-pattern 310". You will need to create special translation rules and profiles, applied on the dial-peer to CUE so that 3589310 is translated back to 310. The same problem may happen when call is forwarded from an ephone-dn to voicemail.



Hall of Fame Super Gold

Re: digits stripping

Just tried the dialplan-pattern, it works as advertised. But here in the land of variable-length numbering, people likes to have the main number made shorter.

So I will stick with the translation-profile for now.


Re: digits stripping


I agree tp's are a lot more safe and flexible. In case you have variable length dialplan, you may use multiple dialplan patterns. You can enter up to 5 dialplan patterns.

CreatePlease to create content