<p>Jørgen H has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/12974">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">res/res_pjsip: Fix for double ipv6 ip bracket quotation<br><br>ASTERISK-28544<br><br>Change-Id: I7e3a88d91973378031753b8c1bdc53882fff2921<br>(cherry picked from commit 89e2dab1c7a261fab195e9f5a2afb19eecb140fd)<br>---<br>M res/res_pjsip.c<br>1 file changed, 1 insertion(+), 3 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/74/12974/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/res/res_pjsip.c b/res/res_pjsip.c</span><br><span>index 7123938..81be270 100644</span><br><span>--- a/res/res_pjsip.c</span><br><span>+++ b/res/res_pjsip.c</span><br><span>@@ -3673,12 +3673,10 @@</span><br><span> </span><br><span> contact.ptr = pj_pool_alloc(rdata->tp_info.pool, PJSIP_MAX_URL_SIZE);</span><br><span> contact.slen = pj_ansi_snprintf(contact.ptr, PJSIP_MAX_URL_SIZE,</span><br><span style="color: hsl(0, 100%, 40%);">- "<%s:%s%.*s%s:%d%s%s>",</span><br><span style="color: hsl(120, 100%, 40%);">+ "<%s:%.*s:%d%s%s>",</span><br><span> uas_use_sips_contact(rdata) ? "sips" : "sip",</span><br><span style="color: hsl(0, 100%, 40%);">- (type & PJSIP_TRANSPORT_IPV6) ? "[" : "",</span><br><span> (int)transport->local_name.host.slen,</span><br><span> transport->local_name.host.ptr,</span><br><span style="color: hsl(0, 100%, 40%);">- (type & PJSIP_TRANSPORT_IPV6) ? "]" : "",</span><br><span> transport->local_name.port,</span><br><span> (type != PJSIP_TRANSPORT_UDP && type != PJSIP_TRANSPORT_UDP6) ? ";transport=" : "",</span><br><span> (type != PJSIP_TRANSPORT_UDP && type != PJSIP_TRANSPORT_UDP6) ? pjsip_transport_get_type_name(type) : "");</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/12974">change 12974</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/+/12974"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 16 </div>
<div style="display:none"> Gerrit-Change-Id: I7e3a88d91973378031753b8c1bdc53882fff2921 </div>
<div style="display:none"> Gerrit-Change-Number: 12974 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Jørgen H <asterisk.org@hovland.cx> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>