Destroy RTP fds when we schedule final dialog destruction
authorTerry Wilson <twilson@digium.com>
Tue, 13 Jul 2010 17:11:37 +0000 (17:11 +0000)
committerTerry Wilson <twilson@digium.com>
Tue, 13 Jul 2010 17:11:37 +0000 (17:11 +0000)
commitcb160a12b07f86ec86196bcc8e64791749245798
treede6dbdacb0b15ac3bdd5cae19e454a7313db0d79
parentea1307d9ad225ff3fdf95280d4c9a23e58aebb21
Destroy RTP fds when we schedule final dialog destruction

Since we are only keeping the dialog around for retransmissions at this point
and there is no possibility that we are still handling RTP, go ahead and
destroy the RTP sessions. Keeping them alive for 32 past when they are used
is unnecessary and can lead to problems with having too many open file
descriptors, etc.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@275998 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_sip.c
channels/sip/include/dialog.h