Does Twilio have any \"test\" telephone numbers that I can use to emulate outbound calls? For example, I\'d like to be able to test my app to the fullest, getting back asynchron
I was looking for the same thing, because I need to test external calls to my internal IPs, and because I don't want the phone ringing all the time! While I find it disappointing that Twilio doesn't provide this functionality, Devin's response seems reasonable.
I was wondering if someone else had created the set of HTTP interactions in a more comprehensive manner, and found this:
https://github.com/minddog/twilio-emulator
Trying it out now. Perhaps in the future Twilio could add basic callback, not necessarily a full set of Twiml cases that would have to be passed in for each interaction.
Twilio evangelist here.
Have you looked at using Test Credentials? These are a special set of credentials and magic phone numbers that you can use to tell Twilio via the REST API to emulate things like making an outbound phone call. Using the magic phone numbers you can get Twilio to return specific responses (like trying to dial an international phone number without the right permissions).
For testing webhook endpoints (the URL's in your webhook that Twilio is going to make its HTTP requests to), you can use the same testing techniques you would to test a normal web app.