Fix a bug with non-UDP connections that caused dialogs to not get freed.
authorJoshua Colp <jcolp@digium.com>
Mon, 20 Apr 2009 17:05:15 +0000 (17:05 +0000)
committerJoshua Colp <jcolp@digium.com>
Mon, 20 Apr 2009 17:05:15 +0000 (17:05 +0000)
commitb5b18b781025872e066b5244951365e657b7d41c
treeffcb7df5e36f6cfb577324ea504b2ccc2159bba0
parent4988c07e6d41c5b571cd6fa5d31a587530b0487f
Fix a bug with non-UDP connections that caused dialogs to not get freed.

This issue crept up because of a reference count issue on non-UDP based dialogs.
The dialog reference count was increased when transmitting a packet reliably but never
decreased. This caused the dialog structure to hang around despite being unlinked from
the dialogs container.

(closes issue #14919)
Reported by: vrban

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