Merged revisions 166093 via svnmerge from
[asterisk/asterisk.git] / include / asterisk / features.h
index ac74510..4d58188 100644 (file)
@@ -25,6 +25,7 @@
 #define _AST_FEATURES_H
 
 #include "asterisk/pbx.h"
+#include "asterisk/linkedlists.h"
 
 #define FEATURE_MAX_LEN                11
 #define FEATURE_APP_LEN                64
@@ -33,6 +34,8 @@
 #define FEATURE_EXTEN_LEN      32
 #define FEATURE_MOH_LEN                80  /* same as MAX_MUSICCLASS from channel.h */
 
+#define PARK_APP_NAME "Park"
+
 /*! \brief main call feature structure */
 
 enum {
@@ -58,16 +61,12 @@ struct ast_call_feature {
        AST_LIST_ENTRY(ast_call_feature) feature_entry;
 };
 
-
-#define AST_FEATURE_RETURN_HANGUP            -1
-#define AST_FEATURE_RETURN_SUCCESSBREAK      0
-#define AST_FEATURE_RETURN_PBX_KEEPALIVE     AST_PBX_KEEPALIVE
-#define AST_FEATURE_RETURN_NO_HANGUP_PEER    AST_PBX_NO_HANGUP_PEER
-#define AST_FEATURE_RETURN_PASSDIGITS        21
-#define AST_FEATURE_RETURN_STOREDIGITS       22
-#define AST_FEATURE_RETURN_SUCCESS           23
-#define AST_FEATURE_RETURN_KEEPTRYING        24
-
+#define AST_FEATURE_RETURN_HANGUP                   -1
+#define AST_FEATURE_RETURN_SUCCESSBREAK             0
+#define AST_FEATURE_RETURN_PASSDIGITS               21
+#define AST_FEATURE_RETURN_STOREDIGITS              22
+#define AST_FEATURE_RETURN_SUCCESS                  23
+#define AST_FEATURE_RETURN_KEEPTRYING               24
 
 /*!
  * \brief Park a call and read back parked location