<p>George Joseph <strong>submitted</strong> this change.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/18834">View Change</a></p><div style="white-space:pre-wrap">Approvals:
Joshua Colp: Looks good to me, but someone else must approve
Sean Bright: Looks good to me, but someone else must approve
George Joseph: Looks good to me, approved; Approved for Submit
</div><pre style="font-family: monospace,monospace; white-space: pre-wrap;">func_srv: Document field parameter.<br><br>Adds missing documentation for the field parameter<br>for the SRVRESULT function.<br><br>ASTERISK-30151<br>Reported by: Chris Young<br><br>Change-Id: I4385a2e0892a07e30dea1a8a0588e2c1bea2b1f1<br>---<br>M funcs/func_srv.c<br>1 file changed, 10 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/funcs/func_srv.c b/funcs/func_srv.c</span><br><span>index c8506b3..4ac9e69 100644</span><br><span>--- a/funcs/func_srv.c</span><br><span>+++ b/funcs/func_srv.c</span><br><span>@@ -65,6 +65,16 @@</span><br><span> as <literal>getnum</literal>, then it will return the total number of results</span><br><span> that are available.</para></span><br><span> </parameter></span><br><span style="color: hsl(120, 100%, 40%);">+ <parameter name="field" required="false"></span><br><span style="color: hsl(120, 100%, 40%);">+ <para>The field of the result to retrieve.</para></span><br><span style="color: hsl(120, 100%, 40%);">+ <para>The fields that can be retrieved are:</para></span><br><span style="color: hsl(120, 100%, 40%);">+ <enumlist></span><br><span style="color: hsl(120, 100%, 40%);">+ <enum name="host"/></span><br><span style="color: hsl(120, 100%, 40%);">+ <enum name="port"/></span><br><span style="color: hsl(120, 100%, 40%);">+ <enum name="priority"/></span><br><span style="color: hsl(120, 100%, 40%);">+ <enum name="weight"/></span><br><span style="color: hsl(120, 100%, 40%);">+ </enumlist></span><br><span style="color: hsl(120, 100%, 40%);">+ </parameter></span><br><span> </syntax></span><br><span> <description></span><br><span> <para>This function will retrieve results from a previous use</span><br><span></span><br></pre><div style="white-space:pre-wrap"></div><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/18834">change 18834</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/+/18834"/><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: I4385a2e0892a07e30dea1a8a0588e2c1bea2b1f1 </div>
<div style="display:none"> Gerrit-Change-Number: 18834 </div>
<div style="display:none"> Gerrit-PatchSet: 4 </div>
<div style="display:none"> Gerrit-Owner: N A <mail@interlinked.x10host.com> </div>
<div style="display:none"> Gerrit-Reviewer: Friendly Automation </div>
<div style="display:none"> Gerrit-Reviewer: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Joshua Colp <jcolp@sangoma.com> </div>
<div style="display:none"> Gerrit-Reviewer: Sean Bright <sean@seanbright.com> </div>
<div style="display:none"> Gerrit-MessageType: merged </div>