Properly play a holdtime message if the announce-holdtime option is
[asterisk-bristuff.git] / include / asterisk / global_datastores.h
blob510034b0db5a15a42cf86176d59356739a00b5ac
1 /*
2 * Asterisk -- An open source telephony toolkit.
4 * Copyright (C) 1999 - 2007, Digium, Inc.
6 * Mark Michelson <mmichelson@digium.com>
8 * See http://www.asterisk.org for more information about
9 * the Asterisk project. Please do not directly contact
10 * any of the maintainers of this project for assistance;
11 * the project provides a web site, mailing lists and IRC
12 * channels for your use.
14 * This program is free software, distributed under the terms of
15 * the GNU General Public License Version 2. See the LICENSE file
16 * at the top of the source tree.
19 /*! \file
20 * \brief globally accessible channel datastores
21 * \author Mark Michelson <mmichelson@digium.com>
24 #ifndef _ASTERISK_GLOBAL_DATASTORE_H
25 #define _ASTERISK_GLOBAL_DATASTORE_H
27 #include "asterisk/channel.h"
29 #define MAX_DIAL_FEATURE_OPTIONS 30
31 extern const struct ast_datastore_info dialed_interface_info;
33 extern const struct ast_datastore_info dial_features_info;
35 struct ast_dialed_interface {
36 AST_LIST_ENTRY(ast_dialed_interface) list;
37 char interface[1];
40 struct ast_dial_features {
41 struct ast_flags features_caller;
42 struct ast_flags features_callee;
43 char options[MAX_DIAL_FEATURE_OPTIONS];
44 int is_caller;
47 #endif