CSipSimple
CSipSimple copied to clipboard
InCallActivity closed 30-40 secons later when using mobile network
When I press the end call button using a mobile network call ends, but the InCallActivity close after 30 seconds. There is no problem on wireless. What could be the solution,
Thank's
Are you sure of your experiments? Did all calls with mobile network behave the same?
Only missed calls. It happens if I press the hang up button before the answer.
If you make calls to non-existing addresses, the same thing may happen: it takes a long time to hangup calls. It might not have anything to do with the mobile networks.
Thank's for advices. This problem appeared only on mobile network for me. My scenario is below;
1- My wifi is connected. 2- I called number (a real gsm number in use) 3- Ringing.. 4- Pressed hang up button 5- Call ended and InCallActivity closed normally. 6- Turn off wifi, Mobile network is connected. 7- I called number (same as previous number) 8- Ringing.. 9- Pressed hang up button 10- Call ended but InCallActivity closed about 30-40 seconds later.
- on_call_state() method in UAStateReceiver called too late.
So, there are something really different between Mobile and WiFi. The most suspicious one may be with NAT/Firewall. Many mobiles adopt symmetric NAT, causing a lot of issues such as calls not being able to go through; one-way-audio; and slow disconnection. Check with your mobile operator for details. Or, put a Wireshock to trace the SIP packets.
Hi @zipcom,
Can you please help to setup PJSIP with an android studio, facing some issues.
Do you have any document related with this please share with me.
Thanks,