[cisco-voip] Num expands

Chris Martin clm.ccie at gmail.com
Tue Nov 22 15:04:23 EST 2011


Num expansion is bi-directorial and will replace digits mid stream if it
has a match, just like you are reporting.  I would create a voice
translation rule and apply to either an incoming dial-peer or on your
voice-port.

IE:

voice translation-rule 9000
rule 1 /^9...$/ /55\0/
!
voice translation-profile 9000
translate called 9000
!
voice-port 0/0/0:23
translation-profile incoming 9000

This matches on anything incoming on an incoming called number with 9 and 3
extra digits then prefixes 55.  ie: 9001 = 559001.

HTH,
Chris

On Tue, Nov 22, 2011 at 1:30 PM, Mike King <me at mpking.com> wrote:

> I have a site that has been given the number block ending in 9XXX.
>
> Trypically we've only been taking in 4 digits from telco.
>
> I set a num expand like this:
> 9...  559...
>
> we have extensions in the 5591XX thru 5599XX.
>
> However, I have issues with outbound calls completing. My Maintenance
> provider is saying that it was catching anyting (outbound calls as well)
> and appending 559 to it.
>
> example
>
> 919781234567 becomes 95599781234567
>
>
> Suggestions?
>
> I guess I could contact telco and change it up to 5 digits, but I'm
> wondering if there is a different way to setup the num expands so it does
> more what I want.
>
> Mike
>
> _______________________________________________
> 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/20111122/058f2500/attachment.html>


More information about the cisco-voip mailing list