[asterisk-users] block certain numbers

A J Stiles asterisk_list at earthshod.co.uk
Tue Jun 18 02:58:33 CDT 2013


On Monday 17 June 2013, vortex wrote:
> That seems suitable.
> for the cid name i am using asterisk's internal database for the lookup
> such as
> *database put cidname 1111222333 "xyzwhoevername"*
> 
> then how do you create the database for the check_ban_db?
 
However you like!  I'd use a MySQL database, and my "check_ban_db" and 
"add_to_ban_db" scripts would be written in Perl or Bash.  But that's just 
because that's what I'm familiar with.  If you prefer Postgres and Python or 
PHP, or even flat text files and awk, by all means use that.


Paid-for stuff isn't welcome here, so you will have to contact me off-list if 
you want me to write it for you .....


-- 
AJS

Answers come *after* questions.



More information about the asterisk-users mailing list