[asterisk-bugs] [JIRA] (ASTERISK-27122) chan_iax2: On reload MWI taskprocessors keep adding up

Sean Bright (JIRA) noreply at issues.asterisk.org
Wed Jul 12 15:20:57 CDT 2017


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

Sean Bright updated ASTERISK-27122:
-----------------------------------

    Assignee: Sergej  (was: Benjamin Keith Ford)
      Status: Waiting for Feedback  (was: Triage)

[~sergej], rather than unsubscribing, could you just skip the subscription if the subscription already exists? Something like:

{noformat}
if (!peer->mwi_event_sub) {
    peer->mwi_event_sub = stasis_subscribe_pool(mailbox_specific_topic, stasis_subscription_cb_noop, NULL);
}
{noformat}


> chan_iax2: On reload MWI taskprocessors keep adding up
> ------------------------------------------------------
>
>                 Key: ASTERISK-27122
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27122
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_iax2
>    Affects Versions: 13.17.0, GIT
>            Reporter: Sergej
>            Assignee: Sergej
>         Attachments: chan_iax2_mwi_taskprocessors.diff
>
>
> Another reload bug, git version of Asterisk 13.
> It is very easy to replicate this one. 
> Have at least one IAX2 friend defined in iax.conf. 
> The important bit is that mailbox is defined. 
> Perform the following commands:
> {noformat}
> core show taskprocessors
> module reload chan_iax2.so
> core show taskprocessors
> {noformat}
> What you will notice is that the following taskprocessors keep adding up:
> {noformat}
> subp:{accountcode}@default-0000006a
> {noformat}



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



More information about the asterisk-bugs mailing list