]> git.ipfire.org Git - thirdparty/asterisk.git/commit
chan_sip: Fix lastrtprx always updated 63/3563/1
authorcjack <cjack@yandex.ru>
Wed, 15 Jun 2016 22:10:11 +0000 (01:10 +0300)
committerMatt Jordan <mjordan@digium.com>
Mon, 15 Aug 2016 21:55:54 +0000 (16:55 -0500)
commit19e323a6aa4d538b73e33ea77683ae25b2ae3957
treea263b337185a6975934ebce09b2ad41e9c1197a7
parent2ce487585ea78837dc37529ce0f108ca16cb51fd
chan_sip: Fix lastrtprx always updated

Packets are read regulary, when there is no data in buffer fr->frametype
is AST_FRAME_NULL. There was no check of frametype and lastrtprx always
updated and, therefore, rtptimeout did not work at all.

ASTERISK-25270 #close

Change-Id: If3b5ca0dbb822582a86eb7d01dcae4e83448c41d
channels/chan_sip.c