<p>Joshua Colp <strong>submitted</strong> this change.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/20067">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
Joshua Colp: Looks good to me, approved; 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 d02752a..3c876b0 100644</span><br><span>--- a/pbx/pbx_dundi.c</span><br><span>+++ b/pbx/pbx_dundi.c</span><br><span>@@ -4856,7 +4856,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/+/20067">change 20067</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/+/20067"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I0f11c096b307a6178e22ca49d9c756343f0e1fdc </div>
<div style="display:none"> Gerrit-Change-Number: 20067 </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: Joshua Colp <jcolp@sangoma.com> </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>