I want to achieve the following in android.
When userA make call to userB.
when userB press any key during call on number pad then userA can get notification about users selected button.
Is it possible?
by using gsm call the feature you want doesn't have any api support. But you can try any of the following
Case 1:
when a number key is pressed during call then a dtmf tone is send. try if you can somehow decode the dtmf tone. As there is no recording option in android during call you can try setting speakerphone on.. ( i haven't tried this, so not sure fully)
For this you can see this project
Case 2
Create another channel over network. create server client mechanism to register each number in your server. whenever two calls of two registered users are made send data over network.
you can see a similar apps thruto
Related
I am currently using the Twilio Client SDK for Android to make a call from Person A's android app (built by me) to Person B's phone. I am trying to figure out how Person A's android app can listen to DTMF tones passed in by Person B's dialpad and provide feedback based on the input. Right now it seems like the Twilio Client SDK for programmable voice does not support this use case.
One of the ideas that has been presented can be found here: How to gather Twilio DTMF input from call recipient on outbound call. However, I don't want Person B to have to be disconnected from the call. I also am not sure if I can set up a conference call and then initiate a call to Person B.
Another idea that has been presented is allowing a third party server to join this conference, and process the DTMF tones. Based on the input the server could send a push notification to Person A's app.
I'm not sure what the ideal solution is here and what is feasible. I'd like to start a conference between A and B and have my separate server listen in on the conference. But again, I'm not sure if this is valid.
I know this question has been asked many times here on stack , but I would like to confirm this as i need to be sure off . Can we pass DTMF tone using our custom dialer?
I found one very interesting link on git and i managed to setup the code and able to make build .
here is the link of apk :-
https://www.dropbox.com/s/r12qewmz659bf2j/DTMF_demo.apk?dl=0
And the code from where I generate the above build :-
https://github.com/rajeshincorp/UD_SendDtmfToneOverActiveCall
I need your guidance here
Regards.
I tried this and I could sent a DTMF tone in the beggining of the call. If the call was already active, I could not send the DTMF tone, only sending, starting the call. You can send "," to delay the caracters sent, for example, to interact with certain interact voice response.
We are developing a VoIP app and we want to switch to the Tokbox library.
Ours is like a telephone app just like Viber but for a specific audience. We need the app to behave like a telephone app. The user makes the call, the receiver hears the phone ringing, picks up the call and hangs it up when done talking. I could find a lot of resources on Tokbox online (for Android and iOS) but I couldn't find much info on a telephone with the library. Can anyone point me to the right direction or explain things a little bit.
Thanks in advance.
To implement a mobile telephony app (like Viber) where user A calls user B you need a couple of extra pieces in addition to TokBox platform.
First you need to make use of standard Apple&Google push notifications to initiate the call to B. For example you can use Google's service [1]. Typically A will send a HTTP request to your server to initiate the call to B and your server will use Google API to send the push notification to B.
At the same time your server should generate a TokBox sessionId for this call and send that sessionId and a token back to user A. User A can use them to connect to the TokBox session and start publishing while waiting for B to join it.
When B receives the notification then you can alert the user (ringing tone) and present any UI you want to him. When B accepts the call you can make another HTTP request to your server to get the sessionId and token for the call (that sessionnId and token could also come in the initial push notification) and join it.
At that point you have both users (A and B) connected to the same TokBox session, publishing audio&video and subscribing to the other stream, so you have a bidirectional audio+video call.
[1] https://firebase.google.com/docs/cloud-messaging/
I have developed android application which call the other person on button click, but now i want to send dtmf tones from application to that outgoing call when ever i need. so how to do that?
Actually it's possible. It's not so obvious and not so elegant. But it works :)
In my project I requested permission for accessibility service. It gives me possibility to programmatically emulate clicks on the screen. Then I get the screen coordinates for the 'open keyboard' button and all number buttons which I need to press (tones which needed to be send).
Then it's super easy - catch income call with receiver, make small delay and then run sequence of emulated clicks.
Tada 🎉🎉🎉
In case someone need code - I can share it.
You can't send DTMF tones during an active call, but you can send them when you "program" them when you initiate the call. see the following post: https://stackoverflow.com/a/12986066/475472
Actually DTMF possible for key when call alive that time manual key touch and same will send to receiver.
we also check it on embedded gsm module and it will in receiving mode and DTMF enable and after calling when we press any key it will send to receiver side.
Am in the feasibility study of an app which enables an automated message like, "I'll pick up the call in a second. Please wait.” or so as the user sets, without hanging up the call. So as to enable the user to get time to pick up the call if in case he is busy and also alerts the caller to be patient till the phone gets picked up.
The problem is I want to send it as voice data. Is it possible to send without attending or hanging up the call? Is it possible to send a voice data not as MMS!!!?????
According to what I suggested..
1>Pick the call intent when actually you got the call on you phone
You can find the helpful links over
here,
here
and here
2>have some prerecorded MMS or some SMS.
3> use threads sleep method to wait for some time(the time after which you actually want to send the informatory message to the caller).
4> do your job here to send the message to the caller in the background thru ur app.