<p>Joshua Colp has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/15936">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">res_pjsip: On partial transport reload also move factories.<br><br>For connection oriented transports PJSIP uses factories to<br>produce transports. When doing a partial transport reload<br>we need to also move the factory of the transport over so<br>that anything referencing the transport (such as an endpoint)<br>has the factory available.<br><br>ASTERISK-29441<br><br>Change-Id: Ieae0fb98eab2d9257cad996a1136e5a62d307161<br>---<br>M res/res_pjsip/config_transport.c<br>1 file changed, 2 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/36/15936/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/res/res_pjsip/config_transport.c b/res/res_pjsip/config_transport.c</span><br><span>index 830b038..502ad5b 100644</span><br><span>--- a/res/res_pjsip/config_transport.c</span><br><span>+++ b/res/res_pjsip/config_transport.c</span><br><span>@@ -739,6 +739,8 @@</span><br><span> ast_log(LOG_WARNING, "Transport '%s' is not fully reloadable, not reloading: protocol, bind, TLS, TCP, ToS, or CoS options.\n", transport_id);</span><br><span> temp_state->state->transport = perm_state->state->transport;</span><br><span> perm_state->state->transport = NULL;</span><br><span style="color: hsl(120, 100%, 40%);">+ temp_state->state->factory = perm_state->state->factory;</span><br><span style="color: hsl(120, 100%, 40%);">+ perm_state->state->factory = NULL;</span><br><span> res = PJ_SUCCESS;</span><br><span> } else if (transport->type == AST_TRANSPORT_UDP) {</span><br><span> </span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/15936">change 15936</a>. To unsubscribe, or for help writing mail filters, 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/c/asterisk/+/15936"/><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-Change-Id: Ieae0fb98eab2d9257cad996a1136e5a62d307161 </div>
<div style="display:none"> Gerrit-Change-Number: 15936 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Joshua Colp <jcolp@sangoma.com> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>