twilio Fun
Call Forwarding using TwiML Bins
- Login to your account at Twilio.
- Create TwiML Bin HERE
- Add a Friendly Name and some TwiML, and then click create. (create a friendly name)
- Paste the example into the box
<Response> <Dial> +12345559876 </Dial> </Response>
| replace2345559876
with your phone number - Configure this TwiML bin on your Twilio number HERE
- Go to
Voice & Fax
- Accept Incoming
Voice Calls
- Configure With
Webhook, TwiML Bin, Function, Studio Flow, Proxy Service
- A Call Comes In
TwiML Bin
- Choose the
TwiML Bin
you created earlier
Lookup up numbers with Twilio API and get a nice pretty JSON output.
curl -s -X GET -u'Account_Sid:Auth_Token' 'https://lookups.twilio.com/v1/PhoneNumbers/5556667890?Type=caller-name&Type=carrier' | jq -r .
<- OTHERS ->