summaryrefslogtreecommitdiff
path: root/include/asterisk/callerid.h
diff options
context:
space:
mode:
authorRussell Bryant <russell@russellbryant.com>2007-12-04 19:08:30 +0000
committerRussell Bryant <russell@russellbryant.com>2007-12-04 19:08:30 +0000
commitf15be28fb0051e2ac04a8f08006a688ec134c5bd (patch)
tree8318f4e72b28df714bd428f21e35691be91838f7 /include/asterisk/callerid.h
parent0742acef39683255109ba59a4c97140256a42428 (diff)
Add support for monitoring MWI on FXO lines.
This introduces two new options for zapata.conf: mwimonitor and mwimonitornotify. The mwimonitor option enables MWI monitoring. When the MWI state on a line changes, then the script specified by mwimonitornotify will be executed for custom handling of the state change, similar to the externnotify option of voicemail.conf. Also, when the MWI state on an FXO line changes, an internal Asterisk event is generated to indicate the new state of the associated mailbox. That may, any module that cares about MWI information will get notified and can handle it just as if app_voicemail had sent this notification. (BE-253, original patch from markster, with some minor modifications by me to add comments, documentation, and internal event support) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@90949 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk/callerid.h')
-rw-r--r--include/asterisk/callerid.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asterisk/callerid.h b/include/asterisk/callerid.h
index efc8e874a..b7568c27f 100644
--- a/include/asterisk/callerid.h
+++ b/include/asterisk/callerid.h
@@ -49,6 +49,8 @@
#define CID_PRIVATE_NUMBER (1 << 1)
#define CID_UNKNOWN_NAME (1 << 2)
#define CID_UNKNOWN_NUMBER (1 << 3)
+#define CID_MSGWAITING (1 << 4)
+#define CID_NOMSGWAITING (1 << 5)
#define CID_SIG_BELL 1
#define CID_SIG_V23 2