datso / react-native-pjsip

A PJSIP module for React Native.
http://datso.github.io/react-native-pjsip
GNU General Public License v3.0
273 stars 231 forks source link

Call is disconnecting after 31 seconds (I am the caller) #146

Open varunprashar5 opened 5 years ago

varunprashar5 commented 5 years ago

According to my server expert , He said that I am not sending him the acknowledgment with 200/ ok when the call got connected.

  1. I initiated the call
  2. call get accepted by reciever
  3. reciever sends 200/ok header to caller.
  4. but caller is not sending back the ack header 200/ok back to receiver.

My server expert said that I have to manually send the ack header to the receiver through our library.

Is there any way to manually send the ack response ?

Regards, Varun

timmeade commented 5 years ago

Every single time I have seen calls drop at 30 seconds or so it has been Firewall issues or NAT issues

If you are taking yourself out of the media path at 30 seconds the media adjusts and if the new endpoint is not in the firewall rules or NAT’d properly the call will drop.

Every single time.

On Nov 12, 2018, 4:38 AM -0500, varunprashar5 notifications@github.com, wrote:

According to my server expert , He said that I am not sending him the acknowledgment with 200/ ok when the call got connected.

  1. I initiated the call
  2. call get accepted by reciever
  3. reciever sends 200/ok header to caller.
  4. but caller is not sending back the ack header 200/ok back to receiver.

My server expert said that I have to manually send the ack header to the receiver through our library. Is there any way to manually send the ack response ? Regards, Varun — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.