[Freeswitch-trunk] [commit] r13897 - freeswitch/trunk/src/mod/applications/mod_fifo

FreeSWITCH SVN brian at freeswitch.org
Mon Jun 22 11:55:16 PDT 2009


Author: brian
Date: Mon Jun 22 13:55:15 2009
New Revision: 13897

Log:
 MODAPP-287

Modified:
   freeswitch/trunk/src/mod/applications/mod_fifo/mod_fifo.c

Modified: freeswitch/trunk/src/mod/applications/mod_fifo/mod_fifo.c
==============================================================================
--- freeswitch/trunk/src/mod/applications/mod_fifo/mod_fifo.c	(original)
+++ freeswitch/trunk/src/mod/applications/mod_fifo/mod_fifo.c	Mon Jun 22 13:55:15 2009
@@ -790,6 +790,11 @@
 		}
 		node_list[node_count++] = node;
 	}
+
+	if(switch_true(switch_channel_get_variable(channel, "fifo_destroy_after_use"))) {
+		node->ready = FIFO_DELAY_DESTROY;
+	}
+
 	switch_mutex_unlock(globals.mutex);
 
 	moh = switch_channel_get_variable(channel, "fifo_music");



More information about the Freeswitch-trunk mailing list