add FILE_STORAGE to Voicemail Build Options
authorMichiel van Baak <michiel@vanbaak.info>
Tue, 16 Jun 2009 15:51:36 +0000 (15:51 +0000)
committerMichiel van Baak <michiel@vanbaak.info>
Tue, 16 Jun 2009 15:51:36 +0000 (15:51 +0000)
Voicemail can only use one storage module at the moment.
Because it's unclear that selecting one of the storage modules
in menuselect will disable filesystem storage we now have
a FILE_STORAGE option that conflicts with the other modules.

(closes issue #15333)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@200943 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_voicemail.c

index 2655fc2..444f2db 100644 (file)
@@ -46,15 +46,22 @@ c-client (http://www.washington.edu/imap/
 
 /*** MAKEOPTS
 <category name="MENUSELECT_OPTS_app_voicemail" displayname="Voicemail Build Options" positive_output="yes" remove_on_change="apps/app_voicemail.o apps/app_voicemail.so apps/app_directory.o apps/app_directory.so">
+       <member name="FILE_STORAGE" displayname="Storage of Voicemail using filesystem">
+               <conflict>ODBC_STORAGE</conflict>
+               <conflict>IMAP_STORAGE</conflict>
+               <defaultenabled>yes</defaultenabled>
+       </member>
        <member name="ODBC_STORAGE" displayname="Storage of Voicemail using ODBC">
                <depend>generic_odbc</depend>
                <depend>ltdl</depend>
                <conflict>IMAP_STORAGE</conflict>
+               <conflict>FILE_STORAGE</conflict>
                <defaultenabled>no</defaultenabled>
        </member>
        <member name="IMAP_STORAGE" displayname="Storage of Voicemail using IMAP4">
                <depend>imap_tk</depend>
                <conflict>ODBC_STORAGE</conflict>
+               <conflict>FILE_STORAGE</conflict>
                <use>openssl</use>
                <defaultenabled>no</defaultenabled>
        </member>