[svn-commits] anthonyl: branch anthonyl/7531-test r43896 -
	/team/anthonyl/7531-test/main/
    svn-commits at lists.digium.com 
    svn-commits at lists.digium.com
       
    Thu Sep 28 09:37:08 MST 2006
    
    
  
Author: anthonyl
Date: Thu Sep 28 11:37:07 2006
New Revision: 43896
URL: http://svn.digium.com/view/asterisk?rev=43896&view=rev
Log:
updated patch with my mods
Modified:
    team/anthonyl/7531-test/main/channel.c
Modified: team/anthonyl/7531-test/main/channel.c
URL: http://svn.digium.com/view/asterisk/team/anthonyl/7531-test/main/channel.c?rev=43896&r1=43895&r2=43896&view=diff
==============================================================================
--- team/anthonyl/7531-test/main/channel.c (original)
+++ team/anthonyl/7531-test/main/channel.c Thu Sep 28 11:37:07 2006
@@ -3818,7 +3818,11 @@
 						bridge_playfile(c1, c0, config->warning_sound, t);
 				}
 				if (config->warning_freq) {
-					nexteventts = ast_tvadd(nexteventts, ast_samp2tv(config->warning_freq, 1000));
+
+					if (time_left_ms > (config->warning_freq + 5000)) {
+						nexteventts = ast_tvadd(nexteventts, ast_samp2tv(config->warning_freq, 1000));
+					}
+								
 				} else
 					nexteventts = ast_tvadd(config->start_time, ast_samp2tv(config->timelimit, 1000));
 			}
    
    
More information about the svn-commits
mailing list