Asterisk PBX Telemarketer Traps
Here you will find dialplan snippets and audio files for two Asterisk based Telemarketer Traps:
- Lenny
- Asty Crapper
Lenny
Lenny is everyone's favorite senile old man. Back in 2017, the author of Lenny posted the history of the recordings to Reddit's r/itslenny subreddit.
You can read it here under "Lenny's history and why he isn't Creative Commons". The author goes into the history of the recordings and why he hasn't released it under the Creative Commons license (spoiler, wants to keep his anonymity).
Files
Dial plan config
; Lenny the telemarketer and annoying call trap.
[Lenny]
exten => s,1,wait(1)
same => n,Log(VERBOSE, Caller ${CALLERID(all)} being passed to Lenny, poor sucker.)
same => n,Wait(1)
same => n,Ringing
same => n,Wait(3)
same => n,Answer()
same => n,Wait(2)
same => n,Set(i=${IF($["0${i}"="016"]?7:$[0${i}+1])})
same => n,Playback(Lenny/Lenny${i})
same => n,BackgroundDetect(Lenny/backgroundnoise,1500)
same => n,Hangup()
- The following will work on older versions of afterisk
[Lenny]
exten => s,1,Answer()
exten => s,n,Log(VERBOSE, Caller ${CALLERID(all)} being passed to Lenny, poor sucker.)
exten => s,n,Wait(2)
exten => s,n,Ringing
exten => s,n,Wait(3)
exten => s,n,Answer()
exten => s,n,Wait(2)
exten => s,n,Set(i=${IF($["0${i}"="016"]?7:$[0${i}+1])})
exten => s,n,Playback(Lenny/Lenny${i})
exten => s,n,BackgroundDetect(Lenny/backgroundnoise,1500)
exten => s,n,Hangup()
Asty Crapper
The Asty Crapper is something I found referred to on Reddit one day when looking up something in r/itslenny. It is an old (and crude/NSFW) telemarketer trap that was released under the GPL.
The original website is long gone, but you can find it on the Wayback Machine at https://web.archive.org/web/20110317063218/http://www.linuxsystems.com.au/astycrapper/