[asterisk-bugs] [JIRA] (ASTERISK-26908) res_pjsip: The ChanIsAvail causes a res_pjsip session to be leaked.

Richard Mudgett (JIRA) noreply at issues.asterisk.org
Wed Mar 29 22:29:09 CDT 2017


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

Richard Mudgett updated ASTERISK-26908:
---------------------------------------

    Attachment: verbose_log.txt

[^verbose_log.txt] - The capture shows the taskprocessors before and after a call.  During the call I placed some judicious bactrace captures.

The {{ChanIsAvail}} application does an ast_request() followed by an ast_hangup() of the created channel to determine if a channel can be created.  Since the channel was never started by an ast_call(), the ast_hangup() results in the session being leaked.

> res_pjsip: The ChanIsAvail causes a res_pjsip session to be leaked.
> -------------------------------------------------------------------
>
>                 Key: ASTERISK-26908
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26908
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_pjsip, Resources/res_pjsip_session
>    Affects Versions: 13.14.0
>            Reporter: Richard Mudgett
>         Attachments: verbose_log.txt
>
>
> Using the {{ChanIsAvail}} application on a PJSIP channel with the 's' option causes a pjsip session structure to be leaked.  This can easily be seen by looking at the "core show taskprocessors" output.  The pjsip/outsess taskprocessors accumulate for each PJSIP channel checked.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list