[asterisk-bugs] [JIRA] (ASTERISK-24882) chan_sip: Improve usage of REF_DEBUG
Corey Farrell (JIRA)
noreply at issues.asterisk.org
Thu Mar 19 04:55:34 CDT 2015
[ https://issues.asterisk.org/jira/browse/ASTERISK-24882?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Corey Farrell closed ASTERISK-24882.
------------------------------------
Resolution: Fixed
> chan_sip: Improve usage of REF_DEBUG
> ------------------------------------
>
> Key: ASTERISK-24882
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-24882
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Channels/chan_sip/General
> Affects Versions: SVN, 13.2.0
> Reporter: Corey Farrell
> Assignee: Corey Farrell
> Severity: Minor
>
> * 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).
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list