[cisco-voip] Num expands
Dennis Heim
Dennis.Heim at cdw.com
Tue Nov 29 00:55:48 EST 2011
Num-exp will eventually bite you in the arse. Any time saved now will be insanely painful down the road or if you are lucky you will be employed somewhere else when it comes time to payback the Cisco gods.
Dennis Heim
Senior Engineer (Unified Communications)
CDW Advanced Technology Services
10610 9th Place
Bellevue, WA 98004
425.310.5299 Single Number Reach (WA)
317.569.4255 Single Number Reach (IN)
317.569.4201 Fax
dennis.heim at cdw.com
cdw.com/content/solutions/unified-communications/
-----Original Message-----
From: cisco-voip-bounces at puck.nether.net [mailto:cisco-voip-bounces at puck.nether.net] On Behalf Of Nick Matthews
Sent: Monday, November 28, 2011 7:27 PM
To: Chris Martin
Cc: Cisco VoIPoE List
Subject: Re: [cisco-voip] Num expands
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
>
>
_______________________________________________
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