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.
in twilio site it is showing correct but not getting incoming calls.
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.
Related
Totally new to Azure and the services it offers, I face many questions about the "Speech" service and the bots that can be created on the Microsoft platform. Currently developing an Android mobile application I'd like to realize the following behavior:
The user records a voice file from the app (using MediaRecorder), this part is ok
Once the recording is finished, this file is sent to Azure function(via an HTTP POST).
The file is translated into Text
The text is sent (step 7) to the bot which reacts accordingly by executing an HTTP request.
Scheme of the process I explained
First of all I wanted to know if this scenario is possible or if I have to use the Speech SDK on my Android application.
Moreover if this scenario is possible, how do I send the text to the chatbot? I've checked this link but it doesn't seem very relevant to me.
NB: My bot has been completely created using "Bot Framework Composer" for the moment, no code has been written, I just wanted to know if my scenario is plausible and above all possible.
Go through your steps, and I think it can be implemented. If you want to send text to bot, you can refer to this request.
Before that, you may need to start a conversation and get the conversationId.
I have been trying to build video chat application using opentok. When User 1 calls User 2, I want User 2 to be notified that User 1 is calling.
I have made this work using Pusher and Laravel Echo using Laravel Broadcasting service. But I don't know if this is the best way to do it.Also, we need to integrate it to the mobile and I am not sure if Pusher and Echo are going work.
Using another service like Pusher is probably the best option. OpenTok does not currently provide a calling type API, it is instead based on rooms (sessions).
One alternative using just OpenTok would be to have the participants both connect to a session and have the call action be when you call publish(). Then when you receive the streamCreated event on the other side you can treat that like the participant trying to call you. Answering the call is subscribing to the created stream and publishing back the other way.
Depending on your application this might not really work though, eg. if you have lots of different participants all being able to call one another then you will need to connect to lots of different sessions at the same time.
I want to implement video audio and text chat in native Android using Icelink. I implement demo provided by Icelink but it makes a conference call. I want to make one to one call using request and answer signalling method. Till now I did with connect server and bind user with it. i use Websync for server-side implementation.
Now the problem is what can I do for getting all the users.?? Suppose I will get all users from server side then how can I send a request from one user to other user and connect with upon second user's response??
Follow this diagram : Signaling Diagram
if anyone implemented or worked with Icelink and Websync please help me...Thanks
This answer comes quite late but I hope it's still useful for you.
The example provided with IceLink does indeed work as a conference call because all the users join the same WebSync channel and the example is setup to create a connection to a user that joins the channel.
For a simple and quick solution, you could have only two people join a single channel, then it's only a two person conference.
For something more advanced, note that IceLink is signalling agnostic. You can provide your own signalling mechanism as long as you can pass the offer and answer messages between two clients.
What I did was I put the users in the same WebSync channel and A Publishes in that channel with Ring message (as an example) and the other one, inside onReceive, gets that message and I show prompt to the user and if they accept it, I communicate the Session number to user A again and then they are put in the same conference (which is one-to-one in this case)
I have integrated Twilio voice in an android app for one to one voice calling. I am able to connect with two identities successfully but I am not able to get any handle to pass caller name.
If I examine the content of incoming call notification there a weird number come which is not linked to my id. Also, I want to pass a URL of caller picture. is there any handle to achieve this?
One cannot add the image url and caller name in the incoming calling notification [REFERENCE]. However, you can do something like this
There is not a formal way of getting this information but you can
overload the From field with the following:
client:{callerName#}{callerNumber#} and then parse it on the
receiving side. You can try the same workaround to pass the URL as
well client:{callerName#}{callerNumber#}_{url}.
Note: I prefer sending userId as well so that I can fetch the details at other end or from the local database
i want a create a android paid calling app using sinch.
sinch includes a callback API to get details of call.
i wanted to use this but no idea how to.
i read the documentation. but it is not enough
my question is,
what are the requests to the server.?
how can i find what to what country the call is going on ?
how can i restrict calls based on the account balance in our database
Note:
i can generate the userid for calling it is a 15 digit string i will use it as username to connect a call
Configure a calling callback url in the dashboard for you app
Implement your backend details can be found here: https://www.sinch.com/docs/rest-apis/api-documentation/#callingcallbackapi
When you get the ICE event, you will get who is calling, look up the balance in your database, if the user doesnt have balance create a hangup action instead of ConnectPSTN.