LOGIN

Username
Password *
Remember Me

Create an account

Fields marked with an asterisk (*) are required.
Name
Username
Password *
Verify password *
Email *
Verify email *

Asterisk 101 : How to troll telemarketers (aka automatically send hidden Caller ID to a waiting music forever)

anti_Telemarketers [posted on sakana.fr by Stephane Kattoor] If like me you get tons of telemarketers calls, there’s an easy way to get rid of them with a quick Asterisk hack. The following Asterisk configuration snippet will immediately send any hidden caller ID (99% telemarketers, and I have a general policy of not picking up the phone for hidden caller ID anyway) to a holding music making them waste money and time…

This snippet is to place into the extension.conf file :

[incoming] ; incoming calls
exten => s,1,GotoIf($["${CALLERID(NUM)}" = "anonymous"] ? 10)

exten => s,2,Dial(SIP/phone1&SIP/phone2,10)
exten => s,3,Congestion()
exten => s,4,Hangup()
exten => s,10,Answer
exten => s,11,Wait(1)
exten => s,12,MusicOnHold(default)
exten => s,13,Hangup

This block will check for the NUMber information of the Caller ID and if it is “anonymous”, it will send it to the step 10 which will pick up the call and start the holding music. If the Caller ID is not “anonymous”, it will ring 2 SIP phones for 10 secs, and if no one picks those, send it to congestion mode.

That’s all !

you can change that to have Asterisk to pick up the call and let the caller leave a message. That’s still going to catch those telemarketers (waste time & money), while giving a chance to legit callers to speak their message.

Comments  

0 #1 Guest 2011-03-19 12:12
you know you love trolling
Quote

Add comment


Security code
Refresh

Fast Look Through

  • PBX Comparison Guide

    Why go any further when you can compare the features of PBX solutions from the top vendors in the business in one comprehensive guide

  • Find a VoIP Provider

    Some VoIP Providers can cut your costs by 60%. We'll help you find out who they are and how to find them. Compare leading voip providers today.

  • Top FREE Softphones

    Enjoy a FREE list of the most powerful Softphones.

  • FREE Asterisk application.

    Based on a survey made by VOIP Today, we gladly provide to our visitors with a list of top asterisk applications.

GET IN TOUCH

If you have any questions don't hesitate to contact us.

  • Address: Internet City, Dubai, United Arab Emirates

  • Phone: +00 123 45678

  • E-Mail: info@voiptoday.org

Subscribe To Our Magazine

VoIP Today Magazine

Free! Magazine

  • VoIP News
  • IP Phones
  • Networks
  • Call Center
  • and more...
Name:
Email: