confused Old Lady Bot

Following the same vein as other Asterisk/FreePBX Voicemail Bots on this site, today we have a new bot created from an old prank call, namely from this ancient video: https://m.youtube.com/watch?v=JBO6s7nXpKc

Instructions for installation:

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/confusedOldLadyBot (Case-sensitive!)

Step 2: Paste the following into /etc/asterisk/extensions_custom.conf

[confusedOldLadyBot]
exten => talk,1,Set(i=${IF($["0${i}"="43"]?7:$[0${i}+1])})
same => n,ExecIf($[${i}=1]?MixMonitor(${UNIQUEID}_${CALLERID(num)}_confusedOldLadyBot.wav,r(${UNIQUEID}_${CALLERID(num)}_confusedOldLadyBot_in.wav)t(${UNIQUEID}_${CALLERID(num)}_confusedOldLadyBot_out.wav)))
same => n,Playback(confusedOldLadyBot/${i})
same => n,BackgroundDetect(confusedOldLadyBot/backgroundnoise,750)

This will create voicemail files with the format of ‘<uniqueID>_<callerIDnumber>confusedOldLadyBot_<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!


Posted

in

by