Asterisk - The Open Source Telephony Project  GIT-master-44aef04
ast_version.h File Reference

Asterisk version information. More...

Go to the source code of this file.


const char * ast_get_build_opts (void)
const char * ast_get_version (void)
 Retrieve the Asterisk version string. More...
const char * ast_get_version_num (void)
 Retrieve the numeric Asterisk version. More...

Detailed Description

Asterisk version information.

Russell Bryant

Definition in file ast_version.h.

Function Documentation

◆ ast_get_build_opts()

const char* ast_get_build_opts ( void  )

Retrieve the Asterisk build options

Referenced by handle_show_settings(), and prometheus_config_post_apply().

◆ ast_get_version()

const char* ast_get_version ( void  )

◆ ast_get_version_num()

const char* ast_get_version_num ( void  )

Retrieve the numeric Asterisk version.

Format ABBCC AABB - Major version (1.4 would be 104) CC - Minor version

1.4.17 would be 10417.

Referenced by acf_version_exec(), and ast_var_Version().