Angry Man Bot

A few years ago, someone called in to one of our phonelines and had a conversation with a recording, which spawned this new set of recordings, to use with FreePBX software.

This ‘bot’ is known as the ‘Angry Man Bot’ because he continuously asks “which number did you think was a scam”, and then continues to insult the “lady” who’s calling him. When anyone calls in, the bot seems to make people angry and irate, despite being pretty clean in terms of language.

After the success of the BeverlyBot that RBCP has been utilizing to confuse and anger people, I thought it tantamount to offer one of my best bots too, to capture telemarketers and other annoying people’s responses and try to build new bots out of their replies – this bot helped create no less than 3 other bots over the last 2 years.

To install on FreePBX:

[angrymanbot]
exten => talk,1,Set(i=${IF($["0${i}"="45"]?7:$[0${i}+1])})
same => n,ExecIf($[${i}=1]?MixMonitor(${UNIQUEID}${CALLERID(num)}.wav,r(${UNIQUEID}${CALLERID(num)}angrymanbot_in.wav)t(${UNIQUEID}${CALLERID(num)}_angrymanbot_out.wav)))
same => n,Playback(angrymanbot/${i})
same => n,BackgroundDetect(angrymanbot/backgroundnoise,1000)

This will create voicemail files with the format of ‘angrymanbot_<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!

Download ZIP: