Skip to end of metadata
Go to start of metadata

VERSION()

Synopsis

Return the Version info for this Asterisk.

Description

If there are no arguments, return the version of Asterisk in this format: 18.12.0

Example: Get current version

Syntax

VERSION(info)
Arguments
  • info - The possible values are:
    • ASTERISK_VERSION_NUM - A string of digits is returned, e.g. 10602 for 1.6.2 or 100300 for 10.3.0, or 999999 when using a Git build.
    • BUILD_USER - The string representing the user's name whose account was used to configure Asterisk, is returned.
    • BUILD_HOSTNAME - The string representing the name of the host on which Asterisk was configured, is returned.
    • BUILD_MACHINE - The string representing the type of machine on which Asterisk was configured, is returned.
    • BUILD_OS - The string representing the OS of the machine on which Asterisk was configured, is returned.
    • BUILD_DATE - The string representing the date on which Asterisk was configured, is returned.
    • BUILD_KERNEL - The string representing the kernel version of the machine on which Asterisk was configured, is returned.

See Also

Import Version

This documentation was imported from Asterisk Version GIT-19-6436d82

  • No labels