Dial plan to block Premium Rate numbers

Hello everybody,

I created a dial plan to block much as possible premium rate numbers from much as possible country.
Here is a copy of my dial plan but i will be very happy to get feed back to improve it

thanks a lot

Pierre

prepend,prefix,“match pattern”,callerid
,0012425027976,
,001242X.,
,001246X.,
,001264X.,
,001268X.,
,001284X.,
,001345X.,
,001441X.,
,001473X.,
,0015094145917,
,001649X.,
,001664X.,
,001702X.,
,001721X.,
,001758X.,
,001767X.,
,001784X.,
,001809X.,
,001829X.,
,001849X.,
,001868X.,
,001869X.,
,001876X.,
,0018X.,
,001900X.,
,001976X.,
,0020900X.,
,002128X.,
,00251922856164,
,00278[6789]X.,
,00279X.,
,0030[89]0X.,
,003090[19]X.,
,0031634148445,
,003190[069].,
,00327[078]X.,
,003290X.,
,003381[01]X.,
,003382[05]X.,
,003389X.,
,003480ZX.,
,003490ZX.,
,00351607X.,
,00351707X.,
,00351760X.,
,00351761X.,
,0035180[89]X.,
,0035315X.,
,003579009X.,
,00358[1236]00X.,
,00358700X.,
,00364[01]X.,
,003651X.,
,0036681X.,
,003669[01]X.,
,00369[01]X.,
,003709X.,
,0037190X.,
,00373[78]X.,
,0037355362413,
,00373900X.,
,00374900X.,
,00375600100X.,
,00375XXX,
,00380501320001,
,00380501320004,
,00380504028288,
,00380703X.,
,00380900X.,
,0038560X.,
,0038689X.,
,0038690X.,
,00390237920793,
,0039144X.,
,0039166X.,
,00394X.,
,00397X.,
,00398X.,
,00398ZX.,
,00409[0-8]X.,
,004190[016]X.,
,0042090[069]X.,
,00420976X.,
,00421900X.,
,00439X.,
,0044101X.,
,0044118X.,
,00442037698471,
,00442380970389,
,00447417224XXX,
,004476X.,
,00448[47]X.,
,004487[0123]X.,
,00449X.,
,0045[79]0X.,
,00459013X.,
,0045905[56]X.,
,00459050X.,
,004782X.,
,0048[78]0X.,
,0048300X.,
,0048400X.,
,00491[89]X.,
,004913[78]X.,
,0049137X.,
,0049190X.,
,004990[012]X.,
,0049900X.,
,005460[059]X.,
,005460[09]X.,
,0055500X.,
,0055900X.,
,00579X.,
,006119X.,
,0062809,
,00631900X.,
,0064900X.,
,006498899893,
,00661900X.,
,00780X.,
,007880X.,
,00797[01]X.,
,0081990X.,
,008260,
,00841900X.,
,00852[38]X.,
,00881X.,
,00882X.,
,0088620[1349],
,0090900X.,
,00966700X.,
,009701700X.,
,009701800X.,
,009721344X.,
,009721599X.,
,009721700X.,
,0097218X.,
,00972190X.,
,00976X.,
,0098909X.,

perhaps you should first pre-preemptively allow only countries you accept, then deny ‘premium’ numbers within those countries as defined by your ‘carrier’ , otherwise your filters would become unimaginably “huge”.

Alternatively use a carrier that provides LCR (Least Cost Routing) limits that would deny any call resulting in $/minute -gt ‘your comfort level’

Kudos to https://www.servicevolontaire.org

1 Like

thanks Dicko.

Any idea where i could find that for betamax providers ?

You would surely need to contact your betamax providers :wink: