Fix for chan_skinny leaving RTP ports open
authorDamien Wedhorn <voip@facts.com.au>
Fri, 2 Nov 2012 21:03:56 +0000 (21:03 +0000)
committerDamien Wedhorn <voip@facts.com.au>
Fri, 2 Nov 2012 21:03:56 +0000 (21:03 +0000)
commit732767f230264ec252ddac60f9037f1b2a590aff
tree113bf85c3b1ff1900b0a11a0d3e4aea836a0a770
parentf85db0e34d9e919c98cec82458efa93626061277
Fix for chan_skinny leaving RTP ports open

Skinny wasn't closing RTP sockets. This patch includes ast_rtp_instance_stop before
ast_rtp_instance_destroy which fixes the problem. Also add destroy for VRTP (which
I believe is unused, but exists).

Review: https://reviewboard.asterisk.org/r/2176/
........

Merged revisions 375660 from http://svn.asterisk.org/svn/asterisk/branches/11

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@375663 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_skinny.c