When one user hangs up the call - the second one continues to run the call time.
See original GitHub issueHello, I have a problem when making calls between two users when one hangs up the second one continues to run the call time. How can you make the receiver go down as well as with usual phone calls?
on the js side this code does not give the expected behavior
function hangup() { RNCallKeep.endAllCalls(); setCallInProgress(false); }
/make-call
exports.handler = function(context, event, callback) {
const from = 'client:'+event.from;
const twiml = new Twilio.twiml.VoiceResponse();
var to = event.to;
if (!to) {
twiml.say('Congratulations! You have made your first call! Good bye.');
} else {
const dial = twiml.dial({callerId : from, action: '/hangup', method: 'POST'});
dial.client(to);
}
callback(null, twiml);
};
an attempt to redirect a function from the server to a TwiML does not bring any result either
/hangup
exports.handler = function(context, event, callback) {
const twiml = new Twilio.twiml.VoiceResponse();
twiml.hangup();
callback(null, twiml);
}
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
Calling someone after hanging up the phone - Apple Community
Start a call from "call history", e.g. from a missed call; When you are about to end the call, take the phone from...
Read more >How to Hang Up on One Person in a Two-Person Call on an ...
Create a conference call while on an active call by tapping "Add Call," initiating another call, and then tapping "Merge Calls." Repeat for...
Read more >Why is it that when I call a number it rings and then hangs up?
1 that means the line has rung at the other end 2 times. In a PBX phone system we have a CALL rejection...
Read more >Can't call, dropped calls, & other calling issues - T-Mobile
Read these troubleshooting tips if you're unable to make or receive calls, or your calls drop unexpectedly on your T-Mobile device.
Read more >Why Does My Phone Keep Dropping Calls? 7 Causes - Dialpad
1. If your network connection has dipped, you should get a notification or some kind of alert in your phone app (if you're...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi,
I will try to reproduce on the example app when I find some time.
@MrHertal I am also facing same issue If during the call, the app is killed from the background, the call does not get ended from customer’s end.