<p>N A has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/18875">View Change</a></p><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;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/75/18875/1</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><p>To view, visit <a href="https://gerrit.asterisk.org/c/asterisk/+/18875">change 18875</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/+/18875"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 20 </div>
<div style="display:none"> Gerrit-Change-Id: I4385a2e0892a07e30dea1a8a0588e2c1bea2b1f1 </div>
<div style="display:none"> Gerrit-Change-Number: 18875 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: N A <mail@interlinked.x10host.com> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>