diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-12-04 19:08:30 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-12-04 19:08:30 +0000 |
commit | bdd896e7bec050adc63834cce2e24e224d689a24 (patch) | |
tree | 8318f4e72b28df714bd428f21e35691be91838f7 /include | |
parent | b31b092cff69a0cf9fc65d94cebde5200fba2e73 (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: http://svn.digium.com/svn/asterisk/trunk@90949 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include')
-rw-r--r-- | include/asterisk/callerid.h | 2 |
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 |