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

SRST Voice translation-rule

Hi Folks,

Need some help with a Voice-translation rule when SRST mode is activated on a gateway, here is the scenario

The inbound called party number is

When a call comes in I want to strip everything except the last 4 digits and prepend on my site code for the office which consists of 3 numbers. So for example, if a call comes to the DID number 212 123 4444, I want to strip everything and just use the 4444. Then prepend on 000 so that the new translated number becomes 0004444

The last query I have is what about when a call comes in locally and the called party number this time is just 123 444. So I need a rule that covers all possibilities i.e. strips everything except the last 4 digits and prepends on my site code...

Anyone help me out here?

Many thanks

3 REPLIES
Hall of Fame Super Silver

SRST Voice translation-rule

Easiest way is to use dialplan-pattern under SRST:

call-manager-fallback

dialplan-pattern 1 202555.... extension-length 7 extension-pattern 000....

HTH,

Chris

Community Member

SRST Voice translation-rule

Anyone else got any suggestions for a translation rule that will strip all but last 4 digits and prepend another 3...?

Not had much luck so far finding the right expression...

Hall of Fame Super Silver

SRST Voice translation-rule

Here is a rule that will do exactly what my posted dialplan-pattern does:

voice translation-rule 1

rule 1 /202555\(....\)/ /000\1/

any number in 202555XXXX will be changed to 000XXXX

HTH,

Chris

438
Views
0
Helpful
3
Replies
CreatePlease to create content