Created
May 2, 2017 20:10
-
-
Save chuckreynolds/0ff041df6754e02e53b4c459fc36ddfa to your computer and use it in GitHub Desktop.
How to forward SMS and/or Calls with Twilio and TwiMLbins.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// to forward a call and setup voicemail on timeout | |
<Response> | |
<Dial timeout="20" record="record-from-answer">xxx-xxx-xxxx</Dial> | |
</Response> | |
// to forward a sms to another number | |
<Response> | |
<Message to="+1xxxxxxxxxx">{{From}}: {{Body}}</Message> | |
</Response> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment