Asterisk PBX Telemarketer Traps: Difference between revisions

Jump to navigation Jump to search
no edit summary
(Added Lenny author soundcloud greeting for 2017)
No edit summary
Line 13: Line 13:


=== 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 29:
  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 38:
  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 54:
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.  You can read about this 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]

Navigation menu