Barring calls to Premium Rate numbers

Can anyone suggest a method for barring calls to premium rate numbers, such as (in the UK) 070x, 09xx etc?

Just thought throw this in the mix

I have my system setup to handle least cost routing and also the numbers that you can dial.
I am in the uk so the numbers will be in uk format.

in the Outbound Routing option i have created the following

Mobile
with the following dial pattern
07NXXXXXXXX
9|07NXXXXXXXX

UKLand
with the following dial pattern
01XXXXXXX.
02XXXXXXX.
9|01XXXXXXX.
9|02XXXXXXX.
9|NXXXXX
NXXXXX

UKothers
with the following dial pattern
0844.
0845.
0870.
9|0844.
9|0845.
9|0870.

UKFree
with the following dial pattern
050.
080.
9|050.
9|080.

International
with the following dial pattern
00.
001.
9|00.
9|001.

Services
with the following dial pattern
100
159
9|100
9|154
999
9|999

The idea then is that it will only dial numbers that I have allowed in these dial patterns.

We accomplished this with trunk rules…ours are 900 and 976 numbers, so we put rules in like 9976.|6265551212 (instead of 6265551212 we used our local incoming number).

What about thinking in permit instead of deny and only allow the calls you want to proceed?

I think the numbers we want to deny would make a shorter list than a permitted number list. We have, howver, come up with a possible solution, which involves creating an ENUM trunk and pointing all premium rate numbers at this trunk instead of the ZAP trunk. :smiley: