<p>Jenkins2 <strong>merged</strong> this change.</p><p><a href="https://gerrit.asterisk.org/8299">View Change</a></p><div style="white-space:pre-wrap">Approvals:
  George Joseph: Looks good to me, but someone else must approve
  Richard Mudgett: Looks good to me, but someone else must approve
  Joshua Colp: Looks good to me, approved
  Jenkins2: Approved for Submit

</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">chan_sip: Emit a second ringing event to ensure channel is found.<br><br>When constructing a dialog-info+xml NOTIFY message a ringing channel<br>is found if the state is ringing and further information is placed into<br>the message. Due to the migration to the Stasis message bus this did<br>not always work as expected.<br><br>This change raises a second ringing event in such a way to guarantee<br>that the event is received by chan_sip and another lookup is done to<br>find the ringing channel.<br><br>ASTERISK-24488<br><br>Change-Id: I547a458fc59721c918cb48be060cbfc3c88bcf9c<br>---<br>M channels/chan_sip.c<br>1 file changed, 3 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/channels/chan_sip.c b/channels/chan_sip.c<br>index 563cea8..0a5caec 100644<br>--- a/channels/chan_sip.c<br>+++ b/channels/chan_sip.c<br>@@ -23755,6 +23755,9 @@<br>                    ast_queue_control(p->owner, AST_CONTROL_RINGING);<br>                  if (ast_channel_state(p->owner) != AST_STATE_UP) {<br>                                 ast_setstate(p->owner, AST_STATE_RINGING);<br>+                                if (p->relatedpeer) {<br>+                                     ast_devstate_changed(AST_DEVICE_UNKNOWN, AST_DEVSTATE_NOT_CACHABLE, "SIP/%s", p->relatedpeer->name);<br>+                         }<br>                     }<br>             }<br>             if (find_sdp(req)) {<br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/8299">change 8299</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/8299"/><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: merged </div>
<div style="display:none"> Gerrit-Change-Id: I547a458fc59721c918cb48be060cbfc3c88bcf9c </div>
<div style="display:none"> Gerrit-Change-Number: 8299 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Joshua Colp <jcolp@digium.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: Richard Mudgett <rmudgett@digium.com> </div>