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

Randall Saborio ill2029 at gmail.com
Tue Jun 2 12:47:53 EDT 2015


Hi,

I would do:
voice translation-rule 7
 rule 1 /^....$/ /0221234\0/




Randall "da ill" Saborio
CCIE Voice Wannabe #10054675811

On Tue, Jun 2, 2015 at 10:31 AM, Robert Hass <robhass at gmail.com> wrote:

> 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
>
>
> _______________________________________________
> cisco-voip mailing list
> cisco-voip at puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-voip
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20150602/4cebbb6b/attachment.html>


More information about the cisco-voip mailing list