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

FreeSWITCH SVN anthm at freeswitch.org
Wed Mar 25 11:47:47 PDT 2009


Author: anthm
Date: Wed Mar 25 13:47:47 2009
New Revision: 12782

Log:
fix incorrect var name

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	Wed Mar 25 13:47:47 2009
@@ -464,7 +464,7 @@
 
 	channel = switch_core_session_get_channel(session);
 
-	if ((member_wait = switch_channel_get_variable(channel, "member_wait"))) {
+	if ((member_wait = switch_channel_get_variable(channel, "fifo_member_wait")) || (member_wait = switch_channel_get_variable(channel, "member_wait"))) {
 		if (strcasecmp(member_wait, "wait") && strcasecmp(member_wait, "nowait")) {
 			member_wait = NULL;
 		}



More information about the Freeswitch-svn mailing list