summaryrefslogtreecommitdiff
path: root/include/asterisk/global_datastores.h
diff options
context:
space:
mode:
authorTerry Wilson <twilson@digium.com>2008-03-01 01:30:37 +0000
committerTerry Wilson <twilson@digium.com>2008-03-01 01:30:37 +0000
commit7d1891d5c34367a4b17dc654a38f3c3200fc6238 (patch)
tree99aebf0c221138d2a0e289daf5c3a45463439e3a /include/asterisk/global_datastores.h
parentebcefd1395e33f90188f05d482eda65eaf5a6da4 (diff)
Asterisk, when parking can drop rights a caller when a parking timeout occurs. Also, when doing built-in attended transfers, sometimes incorrectly passes rights from the transferrer to the transferee. This patch tries to fixes the parking issue and lays some groundwork for later fixing the transfer issue.
(closes issue #11520) Reported by: pliew Tested by: otherwiseguy git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@105477 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk/global_datastores.h')
-rw-r--r--include/asterisk/global_datastores.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/asterisk/global_datastores.h b/include/asterisk/global_datastores.h
index 72edabac5..510034b0d 100644
--- a/include/asterisk/global_datastores.h
+++ b/include/asterisk/global_datastores.h
@@ -26,11 +26,22 @@
#include "asterisk/channel.h"
+#define MAX_DIAL_FEATURE_OPTIONS 30
+
extern const struct ast_datastore_info dialed_interface_info;
+extern const struct ast_datastore_info dial_features_info;
+
struct ast_dialed_interface {
AST_LIST_ENTRY(ast_dialed_interface) list;
char interface[1];
};
+struct ast_dial_features {
+ struct ast_flags features_caller;
+ struct ast_flags features_callee;
+ char options[MAX_DIAL_FEATURE_OPTIONS];
+ int is_caller;
+};
+
#endif