mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-25 14:06:27 +00:00
Refactor the features configuration scheme.
Features configuration is handled in its own API in features_config.h and features_config.c. This way, features configuration is accessible to anything that needs it. In addition, features configuration has been altered to be more channel-oriented. Most callers of features API code will be supplying a channel so that the individual channel's settings will be acquired rather than the global setting. Missing from this commit is XML documentation for the features configuration. That will be handled in a separate commit. Review: https://reviewboard.asterisk.org/r/2578/ (issue ASTERISK-21542) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@390751 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -38,6 +38,7 @@
|
||||
#include "asterisk/http_websocket.h"
|
||||
#include "asterisk/rtp_engine.h"
|
||||
#include "asterisk/netsock2.h"
|
||||
#include "asterisk/features_config.h"
|
||||
|
||||
#ifndef FALSE
|
||||
#define FALSE 0
|
||||
@@ -762,8 +763,8 @@ struct sip_settings {
|
||||
struct sip_proxy outboundproxy; /*!< Outbound proxy */
|
||||
char default_context[AST_MAX_CONTEXT];
|
||||
char default_subscribecontext[AST_MAX_CONTEXT];
|
||||
char default_record_on_feature[FEATURE_MAX_LEN];
|
||||
char default_record_off_feature[FEATURE_MAX_LEN];
|
||||
char default_record_on_feature[AST_FEATURE_MAX_LEN];
|
||||
char default_record_off_feature[AST_FEATURE_MAX_LEN];
|
||||
struct ast_acl_list *contact_acl; /*! \brief Global list of addresses dynamic peers are not allowed to use */
|
||||
struct ast_format_cap *caps; /*!< Supported codecs */
|
||||
int tcp_enabled;
|
||||
|
||||
Reference in New Issue
Block a user