[asterisk-commits] func_srv: Document field parameter.	(asterisk[19])
    SVN commits to the Asterisk project 
    asterisk-commits at lists.digium.com
       
    Mon Aug  1 06:59:26 CDT 2022
    
    
  
Friendly Automation has submitted this change. ( https://gerrit.asterisk.org/c/asterisk/+/18874 )
Change subject: func_srv: Document field parameter.
......................................................................
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
---
M funcs/func_srv.c
1 file changed, 10 insertions(+), 0 deletions(-)
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
  Friendly Automation: Approved for Submit
diff --git a/funcs/func_srv.c b/funcs/func_srv.c
index c8506b3..4ac9e69 100644
--- a/funcs/func_srv.c
+++ b/funcs/func_srv.c
@@ -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
-- 
To view, visit https://gerrit.asterisk.org/c/asterisk/+/18874
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings
Gerrit-Project: asterisk
Gerrit-Branch: 19
Gerrit-Change-Id: I4385a2e0892a07e30dea1a8a0588e2c1bea2b1f1
Gerrit-Change-Number: 18874
Gerrit-PatchSet: 2
Gerrit-Owner: N A <mail at interlinked.x10host.com>
Gerrit-Reviewer: Friendly Automation
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Joshua Colp <jcolp at sangoma.com>
Gerrit-Reviewer: Sean Bright <sean at seanbright.com>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-commits/attachments/20220801/fff8858e/attachment.html>
    
    
More information about the asterisk-commits
mailing list