Combatting telemarketers with Asterisk

One of the few good acts of the previous government was the legislation and subsequent funding of the Do Not Call register, allowing those people who do not want to talk to telemarketers to opt out completely. I registered for it as soon as it went live, and I definitely noticed a reduction in the number of unsolicited calls that I received.

Unfortunately, the legislation simply did not go far enough; political organisations, polling companies and especially charities are exempt from the DNC register. The number of charities calling lately has risen considerably, and it’s starting to drive me insane.

I have a rule: I will not give any money to a charity that asks me for it. That includes phone calls, doorknockers (the Consumer Action Law Centre has a good sticker that deals with them) and that incredibly annoying import from the UK – twenty-somethings with clipboards on city streets.

At this point, I will make a brief aside: if there’s anyone from Amnesty International reading this, could you please screen your clipboarders better? I really don’t appreciate your blow-ins asking me ridiculous questions, such as, “how long do you plan to live here?” as I exit the gates at a city railway station, and then abusing me when I tell them I don’t have time to talk, because I’m rushing off to recover a server that’s crashed in a large telco.

Back to the phone calls, however. Asterisk has a nice little command that will deal with telemarketers with autodialers – Zapateller. When invoked, it will play three tones that cause the telemarketer’s autodialer to think that the number is not valid, and then hang up.

I put the Zapateller command into my dial plan yesterday, and today I’ve received three phone calls, all of which had disconnected by the time I answered them.

  ; Ring both phones
  exten => 2100,1,Answer()
  exten => 2100,n,Zapateller()
  exten => 2100,n,Dial(SIP/snom&SIP/sipura,20)
  exten => 2100,n,Voicemail(u2000)

I will eventually put a couple of seconds delay between the Zapateller command and the line that dials my two telephones, so that I don’t hear any ringing at all.

Obviously, there’s no way I can be sure the callers today were telemarketers, especially since I’m not paying for caller-ID, but given that I haven’t received any personal calls on this line in weeks, I can be fairly confident that my phone system has only been playing tones to an autodialer…

5 responses to “Combatting telemarketers with Asterisk

  1. I have an unlisted number, and have had literally zero marketing calls. But why oh why do we have to pay not to be harassed ? It’s standover money…

  2. The Lovely Ms Dikkii has insisted that we go on the Do Not Call register. I’m not greatly thrilled with this: One of my little pleasures in life was winding the callers up on the other end. Having said that, I will be investigating adding this – Ms Dikkii got awfully upset when I told her that political parties and charities were exempt.

  3. Incidentally, are you going to have a crack at Rod Eddington’s transport plan?

    • Yeah, eventually, but probably under a longer article detailing what’s wrong with public transport in Melbourne…

  4. Well it’s coming up to the end of financial year, and like many businesses we needed to make a few purchases. (That or pay more corporate tax — hmmm let me think.. more toys or more tax? )
    Generally we don’t make many purchases throughout the year a

Leave a Reply to Bend in the Weather Cancel reply

Your email address will not be published. Required fields are marked *


Warning: Illegal string offset 'q' in /var/www/weblog.leapster.org/wp-content/plugins/quiz/quiz.php on line 60

Warning: Illegal string offset 'a' in /var/www/weblog.leapster.org/wp-content/plugins/quiz/quiz.php on line 61

Warning: Illegal string offset 'q' in /var/www/weblog.leapster.org/wp-content/plugins/quiz/quiz.php on line 179

Anti-Spam Quiz: