Experiments >

IVR - recording

Experiment #991st April, 2021by Joshua Nussbaum

Updated the IVR project to provide a fake voice mail honeypot for robo calls. It was a just a matter of playing a “beep” sound using an mp3 file.

Code

twiml.say("At the tone, please ree-chord your message.")
twiml.pause({length: 1})
twiml.play({}, 'http://domain.tld/tone.mp3')
twiml.pause({length: 6})
twiml.play({}, 'http://domain.tld/tone.mp3')
twiml.say('Thank you. Now, please remove me from your list. Goodbye.')
twiml.hangup()
view all experiments

Stay tuned in

Learn how to add more experimentation to your workflow