With this script you can call phone numbers directly from discord which allow to intercept the caller voice in a discord voice channel.
Thanks for Twilio which helped me to make this possible.
- install node dependencies using
npm install - create a copy of
.env.exampleto.env - complete
.envvariables - replace the websocket stream url from
twiml.xml - run
npm run start