Skip to content

SRVRESULT()

Synopsis

Retrieve results from an SRVQUERY.

Description

This function will retrieve results from a previous use of the SRVQUERY function.

Syntax

SRVRESULT(id,resultnum[,field])
Arguments
  • id - The identifier returned by the SRVQUERY function.
  • resultnum - The number of the result that you want to retrieve.
    Results start at '1'. If this argument is specified as 'getnum', then it will return the total number of results that are available.
  • field - The field of the result to retrieve.
    The fields that can be retrieved are:
    • host
    • port
    • priority
    • weight

Generated Version

This documentation was generated from Asterisk branch 20 using version GIT