func_srv: Document field parameter.

Adds missing documentation for the field parameter
for the SRVRESULT function.

ASTERISK-30151
Reported by: Chris Young

Change-Id: I4385a2e0892a07e30dea1a8a0588e2c1bea2b1f1
This commit is contained in:
Naveen Albert 2022-07-23 22:37:17 +00:00 committed by George Joseph
parent 985c708e04
commit 495890e972
1 changed files with 10 additions and 0 deletions

View File

@ -65,6 +65,16 @@
as <literal>getnum</literal>, then it will return the total number of results
that are available.</para>
</parameter>
<parameter name="field" required="false">
<para>The field of the result to retrieve.</para>
<para>The fields that can be retrieved are:</para>
<enumlist>
<enum name="host"/>
<enum name="port"/>
<enum name="priority"/>
<enum name="weight"/>
</enumlist>
</parameter>
</syntax>
<description>
<para>This function will retrieve results from a previous use