Asterisk PBX Telemarketer Traps: Difference between revisions

Jump to navigation Jump to search
Added category
No edit summary
(Added category)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Category:Telephony]]
Here you will find dialplan snippets and audio files for two Asterisk based Telemarketer Traps:
Here you will find dialplan snippets and audio files for two Asterisk based Telemarketer Traps:


Line 5: Line 6:


== Lenny ==
== 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/[https://www.reddit.com/r/itslenny/ itslenny] subreddit.  
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/[https://www.reddit.com/r/itslenny/ itslenny] subreddit. He even addresses Reddit with a new recording on Soundcloud at https://soundcloud.com/user-138243492/lenny-says-hi-reddit-for-2017


You can read it here under "[https://www.reddit.com/r/itslenny/comments/5lcfwq/lennys_history_why_he_isnt_creative_commons/ 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).  
You can read it here under "[https://www.reddit.com/r/itslenny/comments/5lcfwq/lennys_history_why_he_isnt_creative_commons/ 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 ===
=== Files ===
[[File:Lenny.tgz|Lenny Sound Files]]
[[Media:Lenny.tgz|Lenny Sound Files]]


=== Dial plan config ===
=== Dial plan config ===
==== Original ====
<syntaxhighlight lang="text">
<syntaxhighlight lang="text">
; Lenny the telemarketer and annoying call trap.
; Lenny the telemarketer and annoying call trap.
Line 28: Line 30:
  same => n,Hangup()
  same => n,Hangup()
</syntaxhighlight>
</syntaxhighlight>
 
==== Variant 1 ====
* Another variation of the above.  Uncomment the ExecIf line to record the calls
Another variation of the above.  Uncomment the ExecIf line to record the calls
<syntaxhighlight lang="text">
<syntaxhighlight lang="text">
[Lenny]
[Lenny]
Line 37: Line 39:
  same => n,BackgroundDetect(Lenny/backgroundnoise,1500)
  same => n,BackgroundDetect(Lenny/backgroundnoise,1500)
</syntaxhighlight>
</syntaxhighlight>
 
==== Variant 2 ====
* The following will work on older versions of afterisk
The following will work on older versions of Asterisk
<syntaxhighlight lang="text">
<syntaxhighlight lang="text">
[Lenny]
[Lenny]
Line 53: Line 55:
exten => s,n,Hangup()
exten => s,n,Hangup()
</syntaxhighlight>
</syntaxhighlight>
* u/jzsmart3 on Reddit from the Lenny topic above posted a "remix" for those who call again.  Info here:  https://www.reddit.com/r/itslenny/comments/5lcfwq/comment/dd8p7h4/?context=3
==== Remix ====
u/jzsmart3 on Reddit from the Lenny topic above posted a "remix" for those who call again.  You can read about this here:  https://www.reddit.com/r/itslenny/comments/5lcfwq/comment/dd8p7h4/?context=3
<syntaxhighlight lang="text">
<syntaxhighlight lang="text">
[Lenny-second]
[Lenny-second]
Line 94: Line 97:
  same => n,Playback(Lenny/Lenny${j})
  same => n,Playback(Lenny/Lenny${j})
  same => n,BackgroundDetect(Lenny/backgroundnoise,1500)
  same => n,BackgroundDetect(Lenny/backgroundnoise,1500)
</syntaxhighlight>
</syntaxhighlight>They are using <code>same => n,Set(DB(lenny/${CALLERID(num)})=1)</code> to keep track of repeat callers.


== Asty Crapper ==
== Asty Crapper ==

Navigation menu