This page last changed on Mar 30, 2011 by wikibot.
VERSION()
Synopsis
Return the Version info for this Asterisk.
Description
If there are no arguments, return the version of Asterisk in this format: SVN-branch-1.4-r44830M
Example: Set(junky=${VERSION()};
Sets junky to the string SVN-branch-1.6-r74830M, or possibly, SVN-trunk-r45126M.
Syntax
Arguments
- info - The possible values are:
- ASTERISK_VERSION_NUM - A string of digits is returned (right now fixed at 999999).
- 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 SVN-branch-1.8-r311874.
|