Make the sip_proxy struct reference counted. This is
authorMark Michelson <mmichelson@digium.com>
Wed, 15 Oct 2008 20:55:42 +0000 (20:55 +0000)
committerMark Michelson <mmichelson@digium.com>
Wed, 15 Oct 2008 20:55:42 +0000 (20:55 +0000)
commite701f8ee2d964c8a5507fa7c3239d3375061c787
treedadf6fc463638639a62db61f83555a8c8bbd5b12
parentf0f42874a75e89f53bc0a47db1e8eed3e67c5630
Make the sip_proxy struct reference counted. This is
necessary to allow for a sip_pvt to maintain a reference
to a sip_peer's outboundproxy even after the peer has
been freed.

(closes issue #13700)
Reported by: fnordian
Patches:
      13700.patch uploaded by putnopvut (license 60)
Tested by: fnordian

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