[asterisk-bugs] [JIRA] (ASTERISK-24882) chan_sip: Improve usage of REF_DEBUG

Asterisk Team (JIRA) noreply at issues.asterisk.org
Wed Jul 27 10:26:06 CDT 2016


     [ https://issues.asterisk.org/jira/browse/ASTERISK-24882?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Asterisk Team updated ASTERISK-24882:
-------------------------------------

    Target Release Version/s: 14.0.0

> 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
>      Target Release: 13.3.0, 14.0.0
>
>
> * 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