Summary: | ASTERISK-24882: chan_sip: Improve usage of REF_DEBUG | ||
Reporter: | Corey Farrell (coreyfarrell) | Labels: | |
Date Opened: | 2015-03-15 22:00:13 | Date Closed: | 2015-03-19 04:55:21 |
Priority: | Minor | Regression? | |
Status: | Closed/Complete | Components: | Channels/chan_sip/General |
Versions: | SVN 13.2.0 | Frequency of Occurrence | |
Related Issues: | |||
Environment: | Attachments: | ||
Description: | * Simplify dialog_ref, dialog_unref, sip_peer_ref and sip_peer_unref by making the macro's use ao2_t_bump and ao2_t_cleanup directly.
* Enable pass-through of REF_DEBUG parameters to sip_alloc and find_call. Asterisk 11 does not have ao2_t_bump or ao2_t_cleanup, so those simplifications do not apply to 11. I could make the macro's use ao2_ref instead, but I don't see the point. Pass-though of REF_DEBUG parameters to sip_alloc and find_call could be applied to 11 if requested. This is low impact, really only effecting REF_DEBUG output (improving it). | ||
Comments: |