<p>Peter Katzmann has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/10176">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">ASTERISK-28057 chan_sip: SipNotify on Chan_Sip vi AMI behave different to CLI<br><br>With tls and udp enabled asterisk generates a warning about sending<br>message via udp instead of tls.<br>sip notify command via cli works as expected and without warning.<br><br>asterisk has to set the connection information accordingly to connection<br>and not on presumption<br><br>Change-Id: Ib43315aba1f2c14ba077b52d8c5b00be0006656e<br>---<br>M channels/chan_sip.c<br>1 file changed, 1 insertion(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/76/10176/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/channels/chan_sip.c b/channels/chan_sip.c</span><br><span>index ebfcfeb..34299a8 100644</span><br><span>--- a/channels/chan_sip.c</span><br><span>+++ b/channels/chan_sip.c</span><br><span>@@ -15572,7 +15572,7 @@</span><br><span>                    return 0;</span><br><span>            }</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-           if (create_addr(p, channame, NULL, 0)) {</span><br><span style="color: hsl(120, 100%, 40%);">+              if (create_addr(p, channame, NULL, 1)) {</span><br><span>                     /* Maybe they're not registered, etc. */</span><br><span>                         dialog_unlink_all(p);</span><br><span>                        dialog_unref(p, "unref dialog inside for loop" );</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/10176">change 10176</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/10176"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 13 </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: Ib43315aba1f2c14ba077b52d8c5b00be0006656e </div>
<div style="display:none"> Gerrit-Change-Number: 10176 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Peter Katzmann <peter.katzmann@edag.de> </div>