Hey there doers! As you may have heard we made a Mobile Application using Twilio to let our fans hear our songs anywhere they have a phone by dialing 1-866-25BEARS. Well we ran into some problems. We started getting spammed from this number “(800) 617-4311” It was costing us money. I called it and it rings back to Time Warner Cable support line. THANKS TIME WARNER, no I do NOT have an account. So I reached out to the awesome Twilio support team and was given this resource.
While the page is very helpful, it doesn’t explain how to get back to your app (which is really easy) so I thought I would share it here.
// Set your voice URL to http://yourapp.com/reject.php
$blacklist = array(‘+18006174311’, ‘+11231231231’);
if (in_array($_REQUEST[‘From’], $blacklist)):
Simply do everything the above tutorial tells you, and make sure to add the to get you back to your app. That’s all!