[cisco-voip] Num expands
Nick Matthews
matthnick at gmail.com
Mon Nov 28 22:26:43 EST 2011
Agree. Num-exp is one of the easiest ways to create a totally messy
dial plan. You can use the $ terminator in the num-exp string if you
find no other way around it.
-nick
On Tue, Nov 22, 2011 at 3:04 PM, Chris Martin <clm.ccie at gmail.com> wrote:
> 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
>>
>
>
> _______________________________________________
> cisco-voip mailing list
> cisco-voip at puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-voip
>
>
More information about the cisco-voip
mailing list