cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
924
Views
0
Helpful
8
Replies

incoming voice-port digit strip

v-yelmene
Level 1
Level 1

Our Telco is sending us 10 digits on incoming calls. We would like to strip the first 6 digits, and just keep that last 4. We have 4 digit pattern internally. This is to make our voice-mail accessible from off campus. Does anyone have suggestions on how to do this? Here is what I was thinking might work;

translation-rule 1

rule 0 /^90774[5,6]..../ /..../

voice-port 0/0/0:23

translate calling-number 1

8 Replies 8

dezoconnor
Level 4
Level 4

If you're using an H.323 Gateway then that should work. If using MGCP then you would need to add a translation pattern on your communications manager.

You can test your translation-rule within the IOS prior to applying to the voice-port:

test voice translation-rule 1 cr

paolo bevilacqua
Hall of Fame
Hall of Fame

Hi,

the rule you wrote won't work properly.

Please use:

rule 1 /^90774[56]/ //

Then, you can check the rule with "test voice translation-rule ".

Hope this helps, please rate post if it does!

I must be missing something. I'm getting an error msg.

msc-CME(config-translate)#rule 0 /^90774[5,6]/ //

Incorrect format for Translation Match Pattern

regular expression must be of the form ^(\^)?(\+)?([0-9,A-F.*%?#]+)$

Invalid match pattern string input /^90774[5,6]/

are you setting this up using voice translation-rule or the regular translation-rule command ?

Sankar Nair
UC Solutions Architect
Pacific Northwest | CDW
CCIE Collaboration #17135 Emeritus

regular translation-rule, I figure I can use voice version since I'm running 12.4?

hi, please use voice translations:

voice translation-rule 200

rule ..

voice translation-profile strip-to-did

translate called 200

voice-port x/y

translation-profile incoming strip-to-did

works great! thanks.

Good to know, please remember to rate useful posts!

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: