summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKinsey Moore <kmoore@digium.com>2012-06-05 14:41:43 +0000
committerKinsey Moore <kmoore@digium.com>2012-06-05 14:41:43 +0000
commit571445ab9c9f268abfa7cdea1f80d199686c5fac (patch)
treebcaac031cac910fbc4aa613cb62700bcca8f8a48 /include
parentd210685a20c950e418b84e3c6f085e2f7f19f299 (diff)
Convert AST_FLAG_ANSWERED_ELSEWHERE usage to AST_CAUSE_ANSWERED_ELSEWHERE
This was essentially duplicated functionality where normal channels used AST_CAUSE_ANSWERED_ELSEWHERE while local channels and queues used AST_FLAG_ANSWERED_ELSEWHERE. This removes the flag and converts that usage into AST_CAUSE_ANSWERED_ELSEWHER usage. Review: https://reviewboard.asterisk.org/r/1944 (closes issue ASTERISK-19865) Patch-by: Birger Harzenetter git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@368519 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include')
-rw-r--r--include/asterisk/channel.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/asterisk/channel.h b/include/asterisk/channel.h
index 59008a6fe..da3515754 100644
--- a/include/asterisk/channel.h
+++ b/include/asterisk/channel.h
@@ -835,9 +835,10 @@ enum {
/*! This is set to tell the channel not to generate DTMF begin frames, and
* to instead only generate END frames. */
AST_FLAG_END_DTMF_ONLY = (1 << 14),
- /*! Flag to show channels that this call is hangup due to the fact that the call
+ /* OBSOLETED in favor of AST_CAUSE_ANSWERED_ELSEWHERE
+ Flag to show channels that this call is hangup due to the fact that the call
was indeed answered, but in another channel */
- AST_FLAG_ANSWERED_ELSEWHERE = (1 << 15),
+ /* AST_FLAG_ANSWERED_ELSEWHERE = (1 << 15), */
/*! This flag indicates that on a masquerade, an active stream should not
* be carried over */
AST_FLAG_MASQ_NOSTREAM = (1 << 16),