<p>Friendly Automation <strong>submitted</strong> this change.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/20082">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span></span><br></pre><div style="white-space:pre-wrap">Approvals:
  N A: Looks good to me, but someone else must approve
  Sean Bright: Looks good to me, approved
  Friendly Automation: Approved for Submit

</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">pbx_dundi: Fix PJSIP endpoint configuration check.<br><br>ASTERISK-28233<br><br>Change-Id: I0f11c096b307a6178e22ca49d9c756343f0e1fdc<br>---<br>M pbx/pbx_dundi.c<br>1 file changed, 12 insertions(+), 1 deletion(-)<br><br></pre>
<pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/pbx/pbx_dundi.c b/pbx/pbx_dundi.c</span><br><span>index a353bad..95239d2 100644</span><br><span>--- a/pbx/pbx_dundi.c</span><br><span>+++ b/pbx/pbx_dundi.c</span><br><span>@@ -4896,7 +4896,7 @@</span><br><span>             /* PJSIP requires an endpoint to be specified explicitly. */</span><br><span>                 if (outgoing_sip_tech == DUNDI_PROTO_PJSIP) {</span><br><span>                        char *number, *ip = ast_strdupa(results[x].dest);</span><br><span style="color: hsl(0, 100%, 40%);">-                       if (!ast_strlen_zero(pjsip_outgoing_endpoint)) {</span><br><span style="color: hsl(120, 100%, 40%);">+                      if (ast_strlen_zero(pjsip_outgoing_endpoint)) {</span><br><span>                              ast_log(LOG_WARNING, "PJSIP calls require an endpoint to be specified explicitly (use the pjsip_outgoing_endpoint option in dundi.conf)\n");</span><br><span>                               return -1;</span><br><span>                   }</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/20082">change 20082</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/+/20082"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 18 </div>
<div style="display:none"> Gerrit-Change-Id: I0f11c096b307a6178e22ca49d9c756343f0e1fdc </div>
<div style="display:none"> Gerrit-Change-Number: 20082 </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-Reviewer: Friendly Automation </div>
<div style="display:none"> Gerrit-Reviewer: N A <asterisk@phreaknet.org> </div>
<div style="display:none"> Gerrit-Reviewer: Sean Bright <sean@seanbright.com> </div>
<div style="display:none"> Gerrit-MessageType: merged </div>