Asterisk for blacklisting/whitelisting/blocking callers

I have been reading about ATT and their Privacy manager. I thought it sounded like a good idea until I started reading how they changed the service to make it not so good anymore.

So I was wondering if I bought an analog card like a Digium TDM410 and then got famliar with the Asterisk software (I am a software developer by the way) if I could make a similar service for my house.

I recently went back to a landline because my ISP service stinks and couldnt support VoIP anymore and they couldnt or wouldnt fix my cable service. LONG STORY!!!

Anyway now that I have a landline, I am getting calls from a lot of people we dont know…and I am sick to death of it. I googled some of the numbers and it looks like the previous person had collection agencies after them.

Sooooooooooo anyway I was hoping I could hookup my landline to an Asterisk powered system, and either build a whitelist of all the people who I want to call me, or at least build a blacklist. Or maybe something that just doesnt answer the phone, and hangs up the line automatically if there is no caller ID/name coming through. Or maybe if its an 800-xxx-xxxx formatted number to hang up on them too.

That is actually the main reason for what I want to do. Hang up on people after xx number of rings if it doesnt recognize them or they are not in my database of whitelisted numbers.

Does this sound possible with Asterisk. I know its like 0.01 % of the power that is in Asterisk, but if this isnt the right solution I will keep scouring the internet until I find something that can help me create a custom solution to do what I outlined above

If asterisk can do this, I am signing up today. Buying the hardware and getting to work on making this a reality. I want control of my darn home phone line and privacy back.

When I had vonage, I never got calls like this on the land line. ANd the number is unpublished but that doesnt matter.

So it has been a reminder of one of the reasons I left land lines behind over 5 years ago. Ugh now I am back and I want control of this problem.


Hi argniest,

Yes you can do all that you mentioned

Here is a quick example. If the caller id number is not presented hang-up otherwise dial extension 200.

exten => s,1,Answer()
exten => s,2,GotoIf($["${CALLERID(num)}" = “”]?incoming,s,3:4)
exten => s,3,Hangup()
exten => s,4,Dial(SIP/200,30,t)
exten => s,5,Hangup()

Here is some info.

Thank you for the information.

I spent many hours reading over the forums last few nights. I can see that asterisk will do what I need. Will just take some fine tuning. Features like the zapateller and privacy manager are things I am interested in using in asterisk.

Now I am trying to decide which hardware to get. I am going to read the free Asterisk the future of telephony book first. ANd watch the videos

I am hoping that I can make a very realiable asterisk service/server so the acceptance factor is high. I want it taking over and running my home phone line but with some pizazzzz!

I just hope it doesnt take too much of my time to maintain it. Sort of want a black box, darkroom device without requiring much attention. Thats probably a dream though. I mean all software needs to be updated :smile: sooner or later.

I am really looking forward to getting this up and running.


You might find these two links interesting.

And yes to all of the above.


This site is awesome.

I am going to buy their products. Will save me a lot of time, and get me on the road to evaluating this software without having yet another PC to maintain in my lab.

Their device is low power, much less than a PC I’ll bet. Save money, Green too! More earth friendly.

Thanks so much for pointing out that website and company. Very much appreciated.