Block Spam Calls
Created by: Twilio
- Voice
- PHP
- Python
- .NET
- JavaScript
- Java
- Ruby
This is an example app that:
- Uses Twilio Add-ons from the Twilio Add-ons Marketplace to block unwanted voice calls
- Integrates 3 spam Add-ons from the Marketplace (Whitepages Pro Phone Reputation, Marchex Clean Call, and Nomorobo Spam Score)
How it works:
- When your Twilio number receives an inbound call, this code will check the spam rating of the phone number on all 3 spam Add-ons
- If all 3 Add-ons deem the number to be spam, the number will be blocked
- If the number is not deemed spam, the call will be forwarded to the customer
- Choose a language
This project is available in multiple programming languages.
- Get the code for this project
The code for this sample is available on GitHub to view.
- Get Twilio credentials
You will need an Account SID and Auth Token in order to run this code.
Checking for existing account...
- Set up the code sample locally
Follow the setup instructions in the README to get the sample up and running.