Asterisk - The Open Source Telephony Project
21.4.1
|
Symbols related to asterisk.conf options and paths. More...
#include "asterisk.h"
#include "asterisk/_private.h"
#include "asterisk/app.h"
#include "asterisk/config.h"
#include "asterisk/logger.h"
#include "asterisk/options.h"
#include "asterisk/paths.h"
#include "asterisk/pbx.h"
#include "asterisk/rtp_engine.h"
#include "asterisk/strings.h"
#include "asterisk/utils.h"
#include "../defaults.h"
#include <sys/time.h>
#include <sys/resource.h>
Go to the source code of this file.
Data Structures | |
struct | _cfg_paths |
Macros | |
#define | AST_MIN_DTMF_DURATION 80 |
#define | DEFAULT_MONITOR_DIR DEFAULT_SPOOL_DIR "/monitor" |
#define | DEFAULT_RECORDING_DIR DEFAULT_SPOOL_DIR "/recording" |
Functions | |
void | load_asterisk_conf (void) |
void | set_asterisk_conf_path (const char *path) |
void | set_socket_path (const char *path) |
static void | set_ulimit (int value) |
Set maximum open files. | |
Variables | |
const char * | ast_config_AST_AGI_DIR = cfg_paths.agi_dir |
const char * | ast_config_AST_CACHE_DIR = cfg_paths.cache_dir |
const char * | ast_config_AST_CONFIG_DIR = cfg_paths.config_dir |
const char * | ast_config_AST_CONFIG_FILE = cfg_paths.config_file |
const char * | ast_config_AST_CTL = cfg_paths.ctl_file |
const char * | ast_config_AST_CTL_GROUP = cfg_paths.ctl_group |
const char * | ast_config_AST_CTL_OWNER = cfg_paths.ctl_owner |
const char * | ast_config_AST_CTL_PERMISSIONS = cfg_paths.ctl_perms |
const char * | ast_config_AST_DATA_DIR = cfg_paths.data_dir |
const char * | ast_config_AST_DB = cfg_paths.db_path |
const char * | ast_config_AST_KEY_DIR = cfg_paths.key_dir |
const char * | ast_config_AST_LOG_DIR = cfg_paths.log_dir |
const char * | ast_config_AST_MODULE_DIR = cfg_paths.module_dir |
const char * | ast_config_AST_MONITOR_DIR = cfg_paths.monitor_dir |
const char * | ast_config_AST_PID = cfg_paths.pid_path |
const char * | ast_config_AST_RECORDING_DIR = cfg_paths.recording_dir |
const char * | ast_config_AST_RUN_DIR = cfg_paths.run_dir |
const char * | ast_config_AST_RUN_GROUP = cfg_paths.run_group |
const char * | ast_config_AST_RUN_USER = cfg_paths.run_user |
const char * | ast_config_AST_SBIN_DIR = cfg_paths.sbin_dir |
const char * | ast_config_AST_SOCKET = cfg_paths.socket_path |
const char * | ast_config_AST_SPOOL_DIR = cfg_paths.spool_dir |
const char * | ast_config_AST_SYSTEM_NAME = cfg_paths.system_name |
const char * | ast_config_AST_VAR_DIR = cfg_paths.var_dir |
char | ast_defaultlanguage [MAX_LANGUAGE] = DEFAULT_LANGUAGE |
struct ast_eid | ast_eid_default |
Global EID. More... | |
int | ast_option_maxcalls |
int | ast_option_maxfiles |
double | ast_option_maxload |
int | ast_option_pjproject_cache_pools |
int | ast_option_pjproject_log_level |
unsigned int | ast_option_rtpptdynamic = 35 |
int | ast_option_rtpusedynamic = 1 |
struct ast_flags | ast_options = { AST_DEFAULT_OPTIONS } |
int | ast_pjproject_max_log_level = -1 |
int | ast_verb_sys_level |
static struct _cfg_paths | cfg_paths |
int | option_debug |
unsigned int | option_dtmfminduration = AST_MIN_DTMF_DURATION |
long | option_minmemfree |
int | option_trace |
int | option_verbose |
char | record_cache_dir [AST_CACHE_DIR_LEN] = DEFAULT_TMP_DIR |
Symbols related to asterisk.conf options and paths.
Definition in file options.c.
#define AST_MIN_DTMF_DURATION 80 |
struct ast_eid ast_eid_default |
Global EID.
This is set in asterisk.conf, or determined automatically by taking the mac address of an Ethernet interface on the system.
Definition at line 93 of file options.c.
Referenced by app_send(), ast_ari_asterisk_get_info(), ast_ari_asterisk_ping(), ast_delete_mwi_state_full(), ast_device_state_clear_cache(), ast_event_append_eid(), ast_str_retrieve_variable(), handle_show_settings(), load_module(), prometheus_config_post_apply(), publish_cluster_discovery_to_stasis(), stasis_cache_dump(), stasis_cache_get(), stasis_message_create(), xmpp_pubsub_devstate_cb(), xmpp_pubsub_handle_event(), xmpp_pubsub_mwi_cb(), xmpp_pubsub_publish_device_state(), and xmpp_pubsub_publish_mwi().