I'm trying out the Twilio Android Quickstart, and I've gotten to the end of the Making an outgoing call section, but for some reason. I'm not getting audio.
I'm able to see that the requests are going out to Twilio appropriately, because Twilio is accessing my app's voice request url. After a few seconds, I can see in LogCat that the Connection disconnected successfully
.
I have a Nexus 4, and a Nexus 7 that I've been trying this out on, as well as the Android Emulator with similar results.
I tried the WebRTC Client in the browser, and my endpoint seems to work fine, so I'm running a little short on ideas.
Any help would be greatly appreciated.
Login to your account at www.twilio.com/console. From Calls logs: Click Calls, select the desired call, and then click the Recording SID. From Recordings logs: Click Recordings, and then click the desired recording.
When your phone number receives an incoming call, Twilio will send an HTTP request to your server at /answer. Your app tells Twilio how to respond with a text to speech response. Twilio gets the instructions from your app and sends the voice response. Twilio's always there when you call!
Twilio's Voice API helps you to make, receive, and monitor calls around the world. Using this REST API, you can make outgoing calls, modify calls in progress, and query metadata about calls you've created.
Twilio Programmable Voice SDK for Android allows you to add voice-over-IP (VoIP) calling into your native Android applications. For step-by-step instructions to get up and running with the Android SDK for Programmable Voice, check out the Quickstart on Github.
I contacted Twilio support about this issue, and it appears that outgoing calls using their API do no work correctly when it's still in the Trial account.
Twilio support moved my account up to a full account, and the problems went away.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With