0

i have used android voice sdk github link

if i click call button i am getting congratulatory message and not showing any notification like incoming call. Please help i am doing this from long time.

enter image description here

in twilio site it is showing correct but not getting incoming calls.

Community
  • 1
  • 1
Rajasekher reddy
  • 383
  • 3
  • 16

1 Answers1

0

Twilio developer evangelist here.

The basics of the Quickstart application get you to the point that you make an outgoing call and the example TwiML Application returns a congratulations voice message, as you've discovered.

You now have to build on top of this in order to place calls to other clients.

First you need to update the server application so that you pass an identity to it rather than using the default.

Then you need to add a UI within your own application that can give you a choice of clients to dial. I don't know what your app does, so you need to figure how you want to display this to users yourself. You could just give them a free text field to type the name of another client into or list all active users.

You'll then need to pass the client name you want to call into the parameters when you create the call.

You will also need to update the server route to receive those parameters and place the call to the other client.

To cover all of this, I recommend following the full quickstart tutorial for Twilio Programmable Voice on Android.

philnash
  • 70,667
  • 10
  • 60
  • 88