Outbound blacklist bulk import

Is there a way to block a list (4K or more) of outbound destinations?
I have been searching for days but nothing at all , i tried searching the blacklist database table , but didt find it either


Blacklisting is done at the astdb level:-

for n in $(cat yourblacklistfile); do rasterisk -x “database put blacklist $n because_I_hate_them”;done

It is basically for inbound call filtering , nonetheless for outbound blacklisting you could possible temporarily set your callerid(num) to the number you are attempting to dial and call BLACKLIST() , if it returns 1 then hangup if it returns 0 then undo your replaced callerid(num) and goto your normal outbound routing, good luck