summaryrefslogtreecommitdiff
path: root/include/asterisk/causes.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asterisk/causes.h')
-rw-r--r--include/asterisk/causes.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/asterisk/causes.h b/include/asterisk/causes.h
index 7e83ec530..ab932c401 100644
--- a/include/asterisk/causes.h
+++ b/include/asterisk/causes.h
@@ -81,6 +81,10 @@ specification:
- AST_CAUSE_PROTOCOL_ERROR 111
- AST_CAUSE_INTERWORKING 127
+The range 128-255 is private cause codes. Our private causes are:
+
+ - AST_CAUSE_ANSWERED_ELSEWHERE 200
+
For more information:
- \ref app_dial.c
*/
@@ -136,6 +140,9 @@ For more information:
#define AST_CAUSE_PROTOCOL_ERROR 111
#define AST_CAUSE_INTERWORKING 127
+/* Private Cause codes for Asterisk */
+#define AST_CAUSE_ANSWERED_ELSEWHERE 200
+
/* Special Asterisk aliases */
#define AST_CAUSE_BUSY AST_CAUSE_USER_BUSY
#define AST_CAUSE_FAILURE AST_CAUSE_NETWORK_OUT_OF_ORDER