[cisco-voip] Translation rule to catch specific length of calling number and add something to it

Robert Hass robhass at gmail.com
Tue Jun 2 12:31:49 EDT 2015


Hi

I need to develop translation-rule which add prefix 0221234 to calling
number if it's length is 4

I tried below

voice translation-rule 7
 rule 1 /^....$/ /0221234/

but it deletes original number.
My goal for example:

Org.number = 6666
Translated number = 02212346666

How to do this ?

Rob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20150602/574d9922/attachment.html>


More information about the cisco-voip mailing list