Skip to content

Telemarketers are the worst. They have no souls. They feed off of the misery of others. No one likes them. Luckily, a nice British gentleman by the name of Lenny has come to save the day.

Notifications You must be signed in to change notification settings

VitalPBX/Telemarketers-with-Lenny

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Telemarketers with Lenny

Telemarketers are the worst. They have no souls. They feed off of the misery of others. No one likes them. Luckily, a nice British gentleman by the name of Lenny has come to save the day.

Setting up Lenny in VitalPBX is a pretty simple task, and is also a really nice primer into Asterisk custom contexts, and the power of scripting.

First, you will want to create the Lenny context in Asterisk. SSH into your VitalPBX and use your favorite editor to edit /etc/asterisk/vitalpbx/extensions__80_lenny.conf. Add the following lines of code:

vi /etc/asterisk/vitalpbx/extensions__80_lenny.conf

[Lenny]
exten => talk,1,Set(i=${IF($["0${i}"="016"]?7:$[0${i}+1])})
same => n,ExecIf($[${i}=1]?MixMonitor(${UNIQUEID}.wav))
same => n,Playback(Lenny/Lenny${i})
same => n,BackgroundDetect(Lenny/backgroundnoise,1500)

Next, use WinSCP to copy the Lenny sound files into /var/lib/asterisk/sounds/Lenny (you may have to create the /Lenny directory).

Now create a Custom Context in VitalPBX for which you have to go to PBX/Applications/Custom Contexs. It has to be seen as shown below

Custom Context

Then create a Custom Application in VitalPBX for which you have to go to PBX/Applications/Custom Applications. It has to be seen as shown below

Custom Applications

Now apply changes and call 2525 and try to sell something to Lenny.

😄 😄 We hope you enjoy it.

Now we are going to get serious and we are going to put our project into production, for which we first need to know the Caller ID of each of the Telemarketing that call us daily.

For example we have Caller ID 18001234567, the configuration would be as shown below.

Custom Applications

😄 😄 We hope you enjoy this small but very important project.

**Source of information:

Crosstalk Solutions

HowTo: PWN Telemarketers with Lenny

Pitch-perfect prank: 'Lenny' answers the campaign's call

About

Telemarketers are the worst. They have no souls. They feed off of the misery of others. No one likes them. Luckily, a nice British gentleman by the name of Lenny has come to save the day.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published