]> 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:50 +0000 (19:54 +0000)
commitd74266fe054b09348e39d1987a7c611d4225221e
tree6a2f9b9ce7833679ed2f3bde36a6ff72b5ea873f
parentf9a1e3095c4ed51744b30542889f492f77eca7fd
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