This ‘bot’ is known as the ‘Angry Hillbilly Bot’ due to the ‘husband’ that comes on the line mid-conversation, who berates the caller, cusses at them with hilarious nonsense, and alludes to wanting to fight with the caller. Works wonders on angry and beligerant scammers with hilarious results. Guaranteed to stir up trouble.
You will need 7zip or p7zip to uncompress the archive and extract the files.
To install on FreePBX/asterisk:
Step 1: Unzip all sound files into /var/lib/asterisk/sounds/AngryHillbillyBot (Case-sensitive!)
Step 2: Paste the following into /etc/asterisk/extensions_custom.conf
[AngryHillbillyBot]
exten => talk,1,Set(i=${IF($["0${i}"="56"]?7:$[0${i}+1])})
same => n,ExecIf($[${i}=1]?MixMonitor(${UNIQUEID}${CALLERID(num)}.wav,r(${UNIQUEID}${CALLERID(num)}AngryHillbillyBot_in.wav)t(${UNIQUEID}${CALLERID(num)}_AngryHillbillyBot_out.wav)))
same => n,Playback(AngryHillbillyBot/${i})
same => n,BackgroundDetect(AngryHillbillyBot/backgroundnoise,1000)
This will create voicemail files with the format of ‘<uniqueID>_<callerIDnumber>AngryHillbillyBot_<in>/<out>.wav” which are the two sides of the conversation, as well as a standard Mono output file with the name of the bot appended to the end of the filename. Outputs will exist in: /var/spool/asterisk/monitor, and will appear as the mono version in your CDR lists.
This will enable you to level the audio better, or sample the incoming audio more easily to build new bots!