[cisco-voip] IOS SIP Profile match calling number less then 10 digits

Evgeny Izetov eizetov at gmail.com
Wed Nov 28 19:37:49 EST 2018


Could try something like this:

voice translation-rule 1
    rule 1 /^[2-9]..[2-9]......$/ /&/
    rule 2 /.*/ /4045551212/

So the logic is, if it's 10 digits then leave it be, anything else gets
masked.

If your extensions are always 4 digits then could just add this as the last
rule:

rule 10 /^....$/ /4045551212/

On Wed, Nov 28, 2018, 5:54 PM Jason Aarons (Americas) <
jason.aarons at dimensiondata.com wrote:

>
>
> I have a few phones missing an External Phone Number Mask, was thinking
> about adding a IOS translation rule on outbound dial peer that if less than
> less than 10 digits change calling number to our main number. Any got a
> sample?
>
> SIP carrier is passing some extensions out to PSTN by accident.
>
> Get Outlook for Android <https://aka.ms/ghei36>
>
>
>
> This email and all contents are subject to the following disclaimer:
> "http://www.dimensiondata.com/emaildisclaimer"
> <http://www.dimensiondata.com/Global/Policies/Pages/Email-Disclaimer.aspx>
> _______________________________________________
> 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/20181128/e9a336bc/attachment.html>


More information about the cisco-voip mailing list