Blacklist by Caller Name instead of Caller Number?

Well, I’m missing something simple, I think. Got in a couple of calls that would have met the criteria, but it acted as if my code wasn’t even there. Looked through the asterisk log, and it’s calling “app-blacklist-check|s|1”, but I saw no indication it was executing my “app-blacklist-check-custom”. Admittedly, I’m learning this “scripting language” on-the-fly.

So, at this point I think I’m close. I’ve got to either figure out why this way isn’t working like I think it should, or I can try another way at the problem, like the guy did here:
http://www.someguysname.com/category/asterisk
Which is, he just bypassed the built-in blacklist function with his own. I really don’t want to go that route, since the way I’m wanting to go at it seems more like the way the designers intended, by the docs. Otherwise, why would they have a ton of “include …custom” lines in the extensions?