]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_sdp_rtp.c: Initial RTP inactivity check must consider the rtp_timeout setting.
authorHenrik Liljedahl <henrik.liljedahl1@saabgroup.com>
Thu, 11 Apr 2024 10:56:55 +0000 (12:56 +0200)
committerHenrik Liljedahl <henrik.liljedahl1@saabgroup.com>
Mon, 29 Apr 2024 19:54:55 +0000 (19:54 +0000)
commit1423cfee29baac8460bb709907e4aab80de5bafb
treebfa58889295ede5fabd13939a0ff7d677b56caff
parent4d6f84a14f3c5f151d722c8697d6f27c7a2d37ab
res_pjsip_sdp_rtp.c: Initial RTP inactivity check must consider the rtp_timeout setting.

First rtp activity check was performed after 500ms regardless of the rtp_timeout setting. Having a call in ringing state for more than rtp_timeout and the first rtp package is received more than 500ms after sdp negotiation and before the rtp_timeout, erronously caused the call to be hungup. Changed to perform the first rtp inactivity check after the timeout setting preventing calls to be disconnected before the rtp_timeout has elapsed since sdp negotiation.

Fixes #710
res/res_pjsip_sdp_rtp.c