cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
856
Views
5
Helpful
11
Replies

Route filters & Patterns

m.maddox
Level 1
Level 1

I need to block all long distance numbers except

1-800 numbers to a couple of phones, so folks can use their calling cards. I seem to be getting more and more confused as I read and test. Please help.

Thanks,

11 Replies 11

Chris Deren
Hall of Fame
Hall of Fame

You can create a route filter like this:

Clause:

(AREA-CODE == 800 AND LONG-DISTANCE-DIRECT-DIAL EXISTS) OR

(AREA-CODE == 877 AND LONG-DISTANCE-DIRECT-DIAL EXISTS) OR

(LONG-DISTANCE-DIRECT-DIAL EXISTS AND AREA-CODE == 888) OR

(AREA-CODE == 866 AND LONG-DISTANCE-DIRECT-DIAL EXISTS) OR

(LONG-DISTANCE-DIRECT-DIAL EXISTS AND AREA-CODE == 855)

Create new partition. Create Route pattern 9.@ with this route filter, check block this pattern. Copy your existing Calling Search space, and rename it. In the original CSS add the partion. Apply the new CSS only to the phones you want to be able to dial toll-free number.

Another approch if you don't won't to use filters, is to create Translation Patterns and block them, again appling the same CSS/Partition rule.

This actually blocks the 800 numbers unless I did it wrong. I need to block all long distance except 800.

Ok I thought you want to do the opposite.

The best approch is to create multiple 9.@ route patterns with different route filters applied, each with their own partition. Then depending on your defined outbound classes of service, create calling search spaces, for example to allow user only local calls in the phones CSS include only partions that allow local calls (include the 9.@ RP with local capabilities, the 800 partiton, and any internal partition). For the users that need long distance create LongDistance CSS that includes all local partitions plus the long distance. Here is an example of LongDistance Route Filter applied to the Long Distance 9.@ Route patter:

(INTERNATIONAL-ACCESS DOES-NOT-EXIST AND END-OF-DIALING DOES-NOT-EXIST AND AREA-CODE EXISTS AND LONG-DISTANCE-DIRECT-DIAL EXISTS)

Ok, I think I got it. I'm using the following clause:

LONG-DISTANCE-DIRECT-DIAL EXISTS AND AREA-CODE == [2-7]XX) OR

(LONG-DISTANCE-DIRECT-DIAL EXISTS AND AREA-CODE == 9XX) OR

(LONG-DISTANCE-DIRECT-DIAL EXISTS AND AREA-CODE == 8[1-9]X)

This allows me to dial only 800 numbers but no other long distance. Thank you so much for your input. Your info made something click for me. I appreciate your time.

Do you plan on blocking this pattern or routing? Your setup will allow everything from 2-9XX? What is the purpose of having 3 seperate clauses?

Your feedback and rating is appreciated.

I want to block all of these numbers and only allow 800 to be routed. The 3 separate clauses was the only way I could exclude 800 from being blocked. Is there a better way? Should I have gone with your previous suggestion instead? Thanks,

The clauses need to be completely seperate, they way you planned it you would block everything because of the "OR". Go with my previous suggestion.

Precisely, that is exactly what I want; to block all long distance numbers except 800 numbers. I've tested this and it seems to be working fine.

Hi, When I see you talking about route filters...

I will use soon Cisco Internation Dial Plan for 3 countries.

Can I keep using my good old Route pattern to block some type of calls.

I would like to use the route pattern 0.@ for routing all PSTN calls

And for restrictions, I will create new partitions with some 006.! or 000.! blocked router patterns for blocking mobile and international numbers for example.

Are the route filter mandatory ?

thanks.

First of all what do you mean blocking mobile? Cell Phones? How would you distinguish them?

You can definitely use route filter to block international calls, or you can use seperate route pattern and put it in new partition which belongs to CSS that you assign to users who should have that access.

If you decide to use Route filter you create new Route pattern of 0.@ in your case and assign it to new International partition. The router filter needs to look something like this:

(AREA-CODE DOES-NOT-EXIST AND INTERNATIONAL-DIRECT-DIAL EXISTS AND LONG-DISTANCE-DIRECT-DIAL DOES-NOT-EXIST AND INTERNATIONAL-ACCESS EXISTS)

If you don't want to use route filter then create route pattern 011! and put it in the international partition. If you don't want anyone to dial interantional then in the route pattern check "block this pattern"

Chris

Thanks very much for your help.