Blacklisting unknown, restricted?

How can I blacklist unknown, restricted, private CID’s? In the past I have set up routes to do this. The problem now is that routes seem to be case sensitive. So you’d need:

UNKNOWN, Unknown, unknown, uNkNoWn, etc.

is it possible to do a tolower on the string before it gets passed to the route handler?

Also, I’ve checked off “Block Unknown/Blocked Caller ID:” under blacklist but that doesn’t seem to do anything at all. What’s up with that?

So, no one seems to have an answer. Should I report this as a bug?

There is a 3rd party module called Swiss Army Knife that works with FreePBX 2.8 and 2.9 (not 2.10) that gives you this capability. Maintained by PBX Open Source Software Alliance:

project site: https://github.com/POSSA/freepbx-swiss-army-knife
Downloads: http://the159.com/sak/

Ok, so I’m running distro 1.812.210.58-1.

  1. What exactly is “Block Unknown/Blocked Caller ID:” supposed to do and not supposed to do? Should it not have blocked my unknown calls?

  2. The routes appear to be case sensitive - which is a minor point since they mostly handle numbers which have no case. You can’t even save two different versions that differ only in case because the check of the name on save is not case sensitive and won’t let you.

These seem like problems with freePBX and I’m not thrilled with the idea of adding something else to deal with them.

Of course there is always the possibility that I’m doing something wrong and freePBX is just fine. Really want to know which it is before I start making bug reports.

??