]> 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:53 +0000 (19:54 +0000)
commit9cf8678112083246d1aa15344f1508170a797f85
tree52a1ffa52436bafa1376d03b8e16ffdd3e9eae1c
parent9e1a6fa0a741b02182245b56c8f78e489f25ed54
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