[asterisk-commits] branch jrothenberger/asterisk-imap r30295 - /team/jrothenberger/asterisk-imap...

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Thu May 25 10:36:50 MST 2006


Author: jrothenberger
Date: Thu May 25 12:36:50 2006
New Revision: 30295

URL: http://svn.digium.com/view/asterisk?rev=30295&view=rev
Log:

Fixed IFDEF issue when Making without IMAP_STORAGE 


Modified:
    team/jrothenberger/asterisk-imap/apps/Makefile
    team/jrothenberger/asterisk-imap/apps/app_voicemail.c

Modified: team/jrothenberger/asterisk-imap/apps/Makefile
URL: http://svn.digium.com/view/asterisk/team/jrothenberger/asterisk-imap/apps/Makefile?rev=30295&r1=30294&r2=30295&view=diff
==============================================================================
--- team/jrothenberger/asterisk-imap/apps/Makefile (original)
+++ team/jrothenberger/asterisk-imap/apps/Makefile Thu May 25 12:36:50 2006
@@ -12,8 +12,8 @@
 #
 
 # Uncomment the lines below to use IMAP storage
-USE_IMAP_VM_INTERFACE=1
-UWCLIENT_HOME=/usr/src/imap/c-client
+#USE_IMAP_VM_INTERFACE=1
+#UWCLIENT_HOME=/usr/src/imap/c-client
 
 APPS=app_dial.so app_playback.so app_voicemail.so app_directory.so app_mp3.so\
      app_system.so app_echo.so app_record.so app_image.so app_url.so app_disa.so \
@@ -88,7 +88,7 @@
 # See doc/README.odbcstorage for more information
 
 # If you have UW IMAP c-client you can use IMAP storage
-CFLAGS+=-DUSE_IMAP_STORAGE
+#CFLAGS+=-DUSE_IMAP_STORAGE
 
 all: $(APPS)
 

Modified: team/jrothenberger/asterisk-imap/apps/app_voicemail.c
URL: http://svn.digium.com/view/asterisk/team/jrothenberger/asterisk-imap/apps/app_voicemail.c?rev=30295&r1=30294&r2=30295&view=diff
==============================================================================
--- team/jrothenberger/asterisk-imap/apps/app_voicemail.c (original)
+++ team/jrothenberger/asterisk-imap/apps/app_voicemail.c Thu May 25 12:36:50 2006
@@ -5891,11 +5891,14 @@
 		}
 	}
 
+#ifdef USE_IMAP_STORAGE
 	ast_log(LOG_DEBUG, "Checking quotas: comparing %u to %u\n",vms.quota_usage,vms.quota_limit);
 	if (vms.quota_usage >= vms.quota_limit) {
 		ast_log(LOG_DEBUG, "*** QUOTA EXCEEDED!!\n");
 		cmd = ast_play_and_wait(chan, "vm-mailboxfull");
 	}
+#endif
+
 	/* Tell user how many new/old messages they have */
 	cmd = vm_intro(chan, &vms);
 



More information about the asterisk-commits mailing list