aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk/causes.h
diff options
context:
space:
mode:
authoroej <oej@f38db490-d61c-443f-a65b-d21fe96a405b>2009-01-29 17:08:22 +0000
committeroej <oej@f38db490-d61c-443f-a65b-d21fe96a405b>2009-01-29 17:08:22 +0000
commit10712d118c170020a39fe18f2394bb0172c9f5f5 (patch)
treede5917bbd7b2b261e6caa93c380ee86afd42f892 /include/asterisk/causes.h
parent28cfff1ebc779edec3ffdd581f8b5e8f35e68a8c (diff)
Fix "cancel answered elsewhere" through app_queue with members in chan_local.
Also, implement a private cause code (as suggested by Tilghman). This works with chan_sip, but doesn't propagate through chan_local. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@172318 f38db490-d61c-443f-a65b-d21fe96a405b
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