<p><a href="https://gerrit.asterisk.org/10246">View Change</a></p><p>1 comment:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.asterisk.org/#/c/10246/2/res/res_rtp_asterisk.c">File res/res_rtp_asterisk.c:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.asterisk.org/#/c/10246/2/res/res_rtp_asterisk.c@5536">Patch Set #2, Line 5536:</a> </p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;"><pre style="font-family: monospace,monospace; white-space: pre-wrap;"> if (strict_rtp_test_event) {<br> ast_test_suite_event_notify("STRICT_RTP_CLOSED", "Source: %s",<br> ast_sockaddr_stringify(&addr));<br> strict_rtp_test_event = 0; /* Only run this event once to prevent possible spam */<br> }<br></pre></blockquote></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">Surround this with #ifdef TEST_FRAMEWORK that way you don't have to test strict_rtp_test_event at a […]</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">If we do that, we can just do ast_test_suite_event_notify since it already checks for TEST_FRAMEWORK in test.h and defines the function as an empty one if TEST_FRAMEWORK is not present. However, this means this event will get spammed now every time a packet comes in from a source we didn't learn. Is that ok, or do you have another suggestion on how to resolve that?</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.asterisk.org/10246">change 10246</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/10246"/><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: comment </div>
<div style="display:none"> Gerrit-Change-Id: I8a42b8d193673899c8fc22fe7f98ea87df89be71 </div>
<div style="display:none"> Gerrit-Change-Number: 10246 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: Benjamin Keith Ford <bford@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Benjamin Keith Ford <bford@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins2 (1000185) </div>
<div style="display:none"> Gerrit-Comment-Date: Wed, 26 Sep 2018 12:58:08 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-HasLabels: No </div>