FreePBX inbound route definition contains:
I can’t locate documentation for app-blackhole and am not sure what it does. I want to execute something like: hangup(2) but am not sure what is most appropriate form considering the entries use of app-blackhole.
app-blackhole will honor the numbers you have in your Asterisk database that are blacklisted, these are set and unset by *30 *31 and *32.
What to you mean by hangup(2) cause 2 is
Cause No. 2 - No route to specified transit network (national use).
You probably don’t want to do that, use 21 instead.