[svn-commits] rmudgett: branch 12 r404952 - in /branches/12: apps/ configs/ include/asteris...
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Mon Jan 6 11:43:34 CST 2014
Author: rmudgett
Date: Mon Jan 6 11:43:32 2014
New Revision: 404952
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=404952
Log:
External MWI core support.
* The core external MWI resource provides for MWI message counts
persistence using sorcery. With sorcery, the user is able to configure
which sorcery wizzard backend to use if the default astdb is not desired.
* The core external MWI resoruce provides some debugging CLI commands
enabled by defining MWI_DEBUG_CLI.
The debugging CLI commands are:
"mwi delete all",
"mwi delete like <regex>",
"mwi delete mailbox <mailbox>",
"mwi list all",
"mwi list like <regex>",
"mwi show mailbox <mailbox>", and
"mwi update mailbox <mailbox> [<new> [<old>]]".
(closes issue AFS-43)
Review: https://reviewboard.asterisk.org/r/3061/
Added:
branches/12/include/asterisk/res_mwi_external.h
- copied unchanged from r404950, team/rmudgett/external_mwi/include/asterisk/res_mwi_external.h
branches/12/res/res_mwi_external.c
- copied unchanged from r404950, team/rmudgett/external_mwi/res/res_mwi_external.c
branches/12/res/res_mwi_external.exports.in
- copied unchanged from r404950, team/rmudgett/external_mwi/res/res_mwi_external.exports.in
Modified:
branches/12/apps/app_voicemail.c
branches/12/configs/sorcery.conf.sample
Modified: branches/12/apps/app_voicemail.c
URL: http://svnview.digium.com/svn/asterisk/branches/12/apps/app_voicemail.c?view=diff&rev=404952&r1=404951&r2=404952
==============================================================================
--- branches/12/apps/app_voicemail.c (original)
+++ branches/12/apps/app_voicemail.c Mon Jan 6 11:43:32 2014
@@ -47,6 +47,7 @@
*/
/*** MODULEINFO
+ <conflict>res_mwi_external</conflict>
<use type="module">res_adsi</use>
<use type="module">res_smdi</use>
<support_level>core</support_level>
Modified: branches/12/configs/sorcery.conf.sample
URL: http://svnview.digium.com/svn/asterisk/branches/12/configs/sorcery.conf.sample?view=diff&rev=404952&r1=404951&r2=404952
==============================================================================
--- branches/12/configs/sorcery.conf.sample (original)
+++ branches/12/configs/sorcery.conf.sample Mon Jan 6 11:43:32 2014
@@ -49,6 +49,13 @@
test=memory
;
+; The following object mapping is the default mapping of external MWI mailbox
+; objects to give persistence to the message counts.
+;
+;[res_mwi_external]
+;mailboxes=astdb,mwi_external
+
+;
; The following object mappings set PJSIP objects to use realtime database mappings from extconfig
; with the table names used when automatically generating configuration from the alembic script.
;
More information about the svn-commits
mailing list