[Freeswitch-svn] [commit] r5394 - freeswitch/trunk/src/mod/applications/mod_conference

Freeswitch SVN mikej at freeswitch.org
Tue Jun 19 19:04:31 EDT 2007


Author: mikej
Date: Tue Jun 19 19:04:31 2007
New Revision: 5394

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

Log:
play only to member

Modified: freeswitch/trunk/src/mod/applications/mod_conference/mod_conference.c
==============================================================================
--- freeswitch/trunk/src/mod/applications/mod_conference/mod_conference.c	(original)
+++ freeswitch/trunk/src/mod/applications/mod_conference/mod_conference.c	Tue Jun 19 19:04:31 2007
@@ -2118,7 +2118,7 @@
 	char *dfile = NULL, *expanded = NULL;
 
 	if (member != NULL && file != NULL) {
-		conference_file_node_t *fnode, *nptr;
+		conference_file_node_t *fnode, *nptr = NULL;
 		switch_memory_pool_t *pool;
 
 		if ((expanded = switch_channel_expand_variables(switch_core_session_get_channel(member->session), file)) != file) {
@@ -2128,7 +2128,7 @@
 		}
 
 		if (!strncasecmp(file, "say:", 4)) {
-			status = conference_say(member->conference, file + 4, leadin);
+			status = conference_member_say(member, file + 4, leadin);
 			goto done;
 		}
 
@@ -2139,7 +2139,7 @@
 				}
 				file = dfile;
 			} else {
-				status = conference_say(member->conference, file, leadin);
+				status = conference_member_say(member, file, leadin);
 				goto done;
 			}
 		}



More information about the Freeswitch-svn mailing list