There are actually several places to block calls. You can do it by individual strings in the ARS or you can use partiytioning, FRL's, or if you give stations client room COS or set them as all-toll in the COR form, you can also use the Toll Analysis form (that one can get ugly).
Basically we use the philosophy that its best to block the call as early in call processing as possible. I tend to use the Partition tables a lot (They correspond one to one with the TOD prompt in the COR, unless you are using time of day routing). This makes it easy to do what you are trying to accomplish. Assign a "p" number under the route pattern column in the ARS instead of entering a route pattern. Give a different 'p' number to different catagories of area codes. The "p' number in ARS corresponds one to one with the "r" numbers in the Partition form. Assign a different TOD to the 2 different COR's corrsponding to thte blocked and unblocked locals. These TOD's correspond to the vertical column numbers in the Partition form. For the "r" row corresponding to the area codes you want to block, enter 'deny' under the appropriate column. For the others enter the route pattern you wish the call to take.
Its best to use FRL's in cases where you have 2 or more different trunk routes in the same route pattern and want to restrict access to some of them for certain callers.
Here is an Example:
Cor 1 - can call area code 604 & 250 but not 206 or 403
Cor 2 - can call all 4
Cor 1 FRL = 5, TOD = 1
Cor 2 FRL = 7, TOD = 2
ARS Analysis
Dial string Min Max Route Pattern Call Type
1604 11 11 p1 fnpa
1250 11 11 p1 fnpa
1206 11 11 p2 fnpa
1403 11 11 p2 fnpa
Partition Groups
1 2 3 4 5 6 7 8 9
r1 1 1
r2 den 1
r3
..
..
Route Pattern 1
Group number FRL
10 5
11 7
Stations with a COR of 1 will be able to call area codes 604 & 250 but will only be able to use trunks in trunk group 10 since their FRL is less than 7
Stations with a COR of 2 will be able to dial area codes 604,250,403 & 206 and will also be able to access trunks in Trunk Group 11 if all the trunks in 10 are busy, since their FRL is higher or equal to 7.
Paul Beddows
Avaya System Design
Telus
Vancouver
email me via form on above web site