diff options
author | Olle Johansson <oej@edvina.net> | 2009-01-29 17:08:22 +0000 |
---|---|---|
committer | Olle Johansson <oej@edvina.net> | 2009-01-29 17:08:22 +0000 |
commit | 7ecda454826ec42c79a6e6537963568c7e9b28b9 (patch) | |
tree | de5917bbd7b2b261e6caa93c380ee86afd42f892 /include/asterisk/causes.h | |
parent | b3ab95317c51f2dcc622c7e31af61dbc8fc4906d (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: https://origsvn.digium.com/svn/asterisk/trunk@172318 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk/causes.h')
-rw-r--r-- | include/asterisk/causes.h | 7 |
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 |