VoiSmart / pjsip-android

SIP Service for Android based on PJSIP
http://www.pjsip.org/
Apache License 2.0
288 stars 140 forks source link

BYE not received #186

Closed aenonGit closed 1 year ago

aenonGit commented 1 year ago

PJSIP_TRANSPORT_IDLE_TIME is by default set to 33 seconds, if OPTIONS or any other SIP message is not received for every 33 seconds window, the transport will be shutdown causing any subsequent received SIP message to be lost (never actually received).

This usually happens when servers do not send OPTIONS for non registered users (using the guest account)

kukadiyaAni commented 7 months ago

@aenonGit was your issue fixed? I used the latest code and still get the same issue, I'm using UDP

aenonGit commented 7 months ago

In recent releases this specific scenario has been fixed by increasing the idle time to 600, you can read more about it in the builder repo

kukadiyaAni commented 7 months ago

@aenonGit as I see PJSIP_TRANSPORT_IDLE_TIME it's for TCP/TLS but I'm using UDP is there the same PJSIP_TRANSPORT_IDLE_TIME used for UDP?

aenonGit commented 7 months ago

UDP is connectionless, so I guess no

kukadiyaAni commented 7 months ago

BYE was not received after 33 seconds with UDP, Do you know any option to fix this issue