Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Updated to GIT-19-6436d82

...

If there are no arguments, return the version of Asterisk in this format: SVN-branch-1.4-r44830MExample: 18.12.0

Code Block
titleExample: Get current version
linenumberstrue


same => n,Set(junky=${VERSION()} ;

...

 sets junky

...

 to 18.12.0, or possibly GITMasterxxxxxx

Syntax

No Format
VERSION(info)

...

  • 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 an SVN 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.

...

This documentation was imported from Asterisk Version GIT-19-56f9c28a506436d82