[asterisk-bugs] [JIRA] (ASTERISK-30151) Documentation doesn't include info about "field", a 3rd required parameter.

Friendly Automation (JIRA) noreply at issues.asterisk.org
Mon Aug 1 06:57:10 CDT 2022


    [ https://issues.asterisk.org/jira/browse/ASTERISK-30151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=259847#comment-259847 ] 

Friendly Automation commented on ASTERISK-30151:
------------------------------------------------

Change 18873 merged by Friendly Automation:
func_srv: Document field parameter.

[https://gerrit.asterisk.org/c/asterisk/+/18873|https://gerrit.asterisk.org/c/asterisk/+/18873]

> Documentation doesn't include info about "field", a 3rd required parameter.
> ---------------------------------------------------------------------------
>
>                 Key: ASTERISK-30151
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-30151
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Functions/func_srv
>    Affects Versions: 18.11.1
>            Reporter: Chris Young
>
> Once you know how to use it, the function operates fine but it's generated wiki entry from code is incomplete because it doesn't mention a required parameter "field". It needs something like:
> SRVRESULT(id,resultnum,field)
> where field can be: host, port, priority or weight
> I came across this using the wiki asterisk version 18 documentation but on quick inspection it is the same in future versions to date.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list