summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMark Michelson <mmichelson@digium.com>2012-05-21 19:22:25 +0000
committerMark Michelson <mmichelson@digium.com>2012-05-21 19:22:25 +0000
commite5f1f0496a0abdf472e81f1f818a2a942635b64a (patch)
tree3fbeabb7bd1bffd54ba43dc8a8d5afcc003f7ad4 /include
parent45149bfdf8e7116e43f2de967a256439872f9e25 (diff)
Add "send to voicemail" Digium phone functionality to Asterisk.
This change accommodates two methods by which calls can be directed to a user's voicemail. * Incoming calls can be redirected to any user's voicemail. * Established calls can be blind transferred to any user's voicemail. Digium phones indicate the desire to direct a call to voicemail by using a Diversion header with a reason parameter of "send_to_vm". This patch adds the "send_to_vm" reason as a valid redirecting reason. In addition, chan_sip.c has been modified to update redirecting information on the transferred channel by reading a Diversion header on a REFER request. (closes issue AST-871) Reported by Malcolm Davenport Review: https://reviewboard.asterisk.org/r/1925 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@367163 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include')
-rw-r--r--include/asterisk/callerid.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asterisk/callerid.h b/include/asterisk/callerid.h
index c047632b9..7c4905e13 100644
--- a/include/asterisk/callerid.h
+++ b/include/asterisk/callerid.h
@@ -400,6 +400,7 @@ enum AST_REDIRECTING_REASON {
AST_REDIRECTING_REASON_OUT_OF_ORDER,
AST_REDIRECTING_REASON_AWAY,
AST_REDIRECTING_REASON_CALL_FWD_DTE, /* This is something defined in Q.931, and no I don't know what it means */
+ AST_REDIRECTING_REASON_SEND_TO_VM,
};
/*!