chan_sip: Simplify dialog/peer references, improve REF_DEBUG output.
authorCorey Farrell <git@cfware.com>
Thu, 19 Mar 2015 09:57:59 +0000 (09:57 +0000)
committerCorey Farrell <git@cfware.com>
Thu, 19 Mar 2015 09:57:59 +0000 (09:57 +0000)
commitd48665950278b39f7c7f76f7e77572059243a086
tree44ca5008b411369f6e8b687a4b59cc1bd5580187
parent2c83ac436411df216da3ecd0b8b9ef3f01422f22
chan_sip: Simplify dialog/peer references, improve REF_DEBUG output.

* Replace functions for ref/undef of dialogs and peers with macro's
  to call ao2_t_bump/ao2_t_cleanup.
* Enable passthough of REF_DEBUG caller information to sip_alloc and
  find_call.

ASTERISK-24882 #close
Reported by: Corey Farrell
Review: https://reviewboard.asterisk.org/r/4189/
........

Merged revisions 433115 from http://svn.asterisk.org/svn/asterisk/branches/13

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