[asterisk-commits] rmudgett: trunk r404953 - in /trunk: ./ apps/ configs/ include/asterisk/ res/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Jan 6 11:45:27 CST 2014


Author: rmudgett
Date: Mon Jan  6 11:45:25 2014
New Revision: 404953

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=404953
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/
........

Merged revisions 404952 from http://svn.asterisk.org/svn/asterisk/branches/12

Added:
    trunk/include/asterisk/res_mwi_external.h
      - copied unchanged from r404952, branches/12/include/asterisk/res_mwi_external.h
    trunk/res/res_mwi_external.c
      - copied unchanged from r404952, branches/12/res/res_mwi_external.c
    trunk/res/res_mwi_external.exports.in
      - copied unchanged from r404952, branches/12/res/res_mwi_external.exports.in
Modified:
    trunk/   (props changed)
    trunk/apps/app_voicemail.c
    trunk/configs/sorcery.conf.sample

Propchange: trunk/
------------------------------------------------------------------------------
--- branch-12-merged (original)
+++ branch-12-merged Mon Jan  6 11:45:25 2014
@@ -1,1 +1,1 @@
-/branches/12:1-398558,398560-398577,398579-399305,399307-401390,401392-403290,403292-403778,403781-404568,404581,404592,404605,404613,404652,404663,404676,404725,404737,404764,404781,404786,404843,404855,404859,404911,404923,404935
+/branches/12:1-398558,398560-398577,398579-399305,399307-401390,401392-403290,403292-403778,403781-404568,404581,404592,404605,404613,404652,404663,404676,404725,404737,404764,404781,404786,404843,404855,404859,404911,404923,404935,404952

Modified: trunk/apps/app_voicemail.c
URL: http://svnview.digium.com/svn/asterisk/trunk/apps/app_voicemail.c?view=diff&rev=404953&r1=404952&r2=404953
==============================================================================
--- trunk/apps/app_voicemail.c (original)
+++ trunk/apps/app_voicemail.c Mon Jan  6 11:45:25 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: trunk/configs/sorcery.conf.sample
URL: http://svnview.digium.com/svn/asterisk/trunk/configs/sorcery.conf.sample?view=diff&rev=404953&r1=404952&r2=404953
==============================================================================
--- trunk/configs/sorcery.conf.sample (original)
+++ trunk/configs/sorcery.conf.sample Mon Jan  6 11:45:25 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 asterisk-commits mailing list