[cisco-voip] Ughh Route Filters and Route Patterns
Lelio Fulgenzi
lelio at uoguelph.ca
Fri Mar 28 16:00:29 EDT 2008
Put the list in a spreadsheet and order them based on areacode and exchange. Then start creating regexp to make clauses.
Each route filter has a maximum of 1024 characters.
Here's a sample of mine.
519 212 Hespeler ON 21[23567]
519 213 Breslau ON |
519 215 Orangeville ON |
519 216 Orangeville ON |
519 217 Orangeville ON V
519 220 Hespeler ON 22[01234]
519 221 Hespeler ON |
519 222 Hespeler ON |
519 223 Hespeler ON |
519 224 Hespeler ON V
519 230 Hespeler ON 23[09]
519 239 Hespeler ON V
(LOCAL-AREA-CODE == 519 AND TRANSIT-NETWORK-ESCAPE DOES-NOT-EXIST AND OFFICE-CODE == 21[23567]) OR
(OFFICE-CODE == 22[01234] AND TRANSIT-NETWORK-ESCAPE DOES-NOT-EXIST AND LOCAL-AREA-CODE == 519) OR
(LOCAL-AREA-CODE == 519 AND TRANSIT-NETWORK-ESCAPE DOES-NOT-EXIST AND OFFICE-CODE == 23[09]) OR
(OFFICE-CODE == 24[012489] AND LOCAL-AREA-CODE == 519 AND TRANSIT-NETWORK-ESCAPE DOES-NOT-EXIST) OR
(OFFICE-CODE == 26[015] AND TRANSIT-NETWORK-ESCAPE DOES-NOT-EXIST AND LOCAL-AREA-CODE == 519) OR
(OFFICE-CODE == 27[78] AND TRANSIT-NETWORK-ESCAPE DOES-NOT-EXIST AND LOCAL-AREA-CODE == 519) OR
(OFFICE-CODE == 288 AND TRANSIT-NETWORK-ESCAPE DOES-NOT-EXIST AND LOCAL-AREA-CODE == 519) OR
(OFFICE-CODE == 30[78] AND LOCAL-AREA-CODE == 519 AND TRANSIT-NETWORK-ESCAPE DOES-NOT-EXIST) OR
(TRANSIT-NETWORK-ESCAPE DOES-NOT-EXIST AND LOCAL-AREA-CODE == 519 AND OFFICE-CODE == 31[345])
For help, you can use www.localcallingguide.com I run a wget every Monday and compare them to the last file I used and give me the differences using diff.
Lelio
--------------------------------------------------------------------------------
Lelio Fulgenzi, B.A.
Senior Analyst (CCS) * University of Guelph * Guelph, Ontario N1G 2W1
(519) 824-4120 x56354 (519) 767-1060 FAX (JNHN)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Java-Clavis-Domus Theorem: The ability to keep your hands on the home keys is inversely
related to the amount of caffeine ingested in the last 30 minutes.
----- Original Message -----
From: "TechGuy" <techguy at gmail.com>
To: "Lelio Fulgenzi" <lelio at uoguelph.ca>
Cc: <cisco-voip at puck.nether.net>
Sent: Friday, March 28, 2008 3:52 PM
Subject: Re: [cisco-voip] Ughh Route Filters and Route Patterns
>I guess that is what I want to do. I have a list of 279 NPA-NXX's
> that are local, the rest are not. So would I have a route filter with
> 279 clauses for the ones I know are local? The numbers are all over
> the place so I can't really do ranges it seems.
>
> But like I said I know very little about route filters and the best
> way to use them. I have used them a couple of times for basic stuff
> like blocking 900, 700 and 500 area codes.
>
>
>
>
> On Fri, Mar 28, 2008 at 2:28 PM, Lelio Fulgenzi <lelio at uoguelph.ca> wrote:
>> Why wouldn't you match on local areacodes and exchanges and route those
>> locally and then all the rest would go out your LD trunks? That would make
>> more sense if I understand what you are trying to do.
>>
>> When creating your route filters, remember that you can only attach these to
>> 9.@ patterns. Well, you can attach them to anything but they will only work
>> with @ patterns.
>>
>> Also remember that there is a difference between "local area code" (no 1 or
>> 0 preceeding the area code) and "area code" (where a 1 or 0 preceeds the
>> area code).
>>
>> Lelio
>> --------------------------------------------------------------------------------
>> Lelio Fulgenzi, B.A.
>> Senior Analyst (CCS) * University of Guelph * Guelph, Ontario N1G 2W1
>> (519) 824-4120 x56354 (519) 767-1060 FAX (JNHN)
>> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>> Java-Clavis-Domus Theorem: The ability to keep your hands on the home keys
>> is inversely
>> related to the amount of caffeine ingested in the last 30 minutes.
>>
>>
>> ----- Original Message -----
>> From: "TechGuy" <techguy at gmail.com>
>> To: <cisco-voip at puck.nether.net>
>> Sent: Friday, March 28, 2008 3:14 PM
>> Subject: [cisco-voip] Ughh Route Filters and Route Patterns
>>
>>
>> > So I have two sets of PRI's local to two different areas. Both areas
>> > use 7 digit dialing.
>> >
>> > Everything works fine, but since changing telcos recently I am finding
>> > I have to create more and more route patterns to match certain office
>> > codes that do not seem to be local and route them out our long
>> > distance PRI's.
>> >
>> > This is becoming messy obviously, and as I understand is part of my we
>> > have route filters to utilize.
>> >
>> > The issue is that I am not very familiar with route filters and
>> > accomplishing what I want.
>> >
>> > I need a route filter that will match on the area code and office code
>> > and then I guess I create a route pattern that would use that route
>> > filter right and send it out long distance PRI?
>> > _______________________________________________
>> > 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/20080328/97568b8e/attachment-0001.html
More information about the cisco-voip
mailing list