<p>George Joseph <strong>merged</strong> this change.</p><p><a href="https://gerrit.asterisk.org/6019">View Change</a></p><div style="white-space:pre-wrap">Approvals:
George Joseph: Looks good to me, but someone else must approve; Approved for Submit
Kevin Harwell: Looks good to me, but someone else must approve
Joshua Colp: Looks good to me, approved
</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">chan_iax2: On reload make sure to check for existing MWI subscription<br><br>On every reload of chan_iax2 module, MWI subscription was added, which<br>results in additional taskprocessors being accumulated over time.<br><br>This commit fixes it by making sure we check for existing subscription<br>first.<br><br>This was verified with 'core show taskprocessors' CLI command.<br><br>ASTERISK-27122 #close<br><br>Change-Id: Ie2ef528fd5ca01b933eeb88188cc10967899cfb9<br>---<br>M channels/chan_iax2.c<br>1 file changed, 1 insertion(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/channels/chan_iax2.c b/channels/chan_iax2.c<br>index f40873e..5abb6c3 100644<br>--- a/channels/chan_iax2.c<br>+++ b/channels/chan_iax2.c<br>@@ -13055,7 +13055,7 @@<br> ast_free_acl_list(oldacl);<br> }<br> <br>- if (!ast_strlen_zero(peer->mailbox)) {<br>+ if (!ast_strlen_zero(peer->mailbox) && !peer->mwi_event_sub) {<br> struct stasis_topic *mailbox_specific_topic;<br> <br> mailbox_specific_topic = ast_mwi_topic(peer->mailbox);<br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/6019">change 6019</a>. To unsubscribe, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/6019"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: merged </div>
<div style="display:none"> Gerrit-Change-Id: Ie2ef528fd5ca01b933eeb88188cc10967899cfb9 </div>
<div style="display:none"> Gerrit-Change-Number: 6019 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Sergej Kasumovic <sergej@bicomsystems.com> </div>
<div style="display:none"> Gerrit-Reviewer: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins2 </div>
<div style="display:none"> Gerrit-Reviewer: Joshua Colp <jcolp@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Kevin Harwell <kharwell@digium.com> </div>