Skip to content

Latest commit

 

History

History
 
 

blocklist-call

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Twilio Blocklist Call

This function in blocklist-call.js allows users to setup a blocklist to reject unwanted phone numbers. See here for a more in-depth guide.

Environment variables

This Function expects one environment variable to be set.

Variable Meaning
BLOCKLIST The comma-separated list of numbers you want to reject in E.164 format

Parameters

This Function expects the incoming request to be a voice webhook. The parameters that will be used are From and blocklist.