From: Michael Jerris Date: Tue, 19 Jun 2007 23:04:31 +0000 (+0000) Subject: play only to member X-Git-Tag: v1.0-beta1~161 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc47e3aba6ab8dd103a2ee75480f451e8ec7fd6b;p=thirdparty%2Ffreeswitch.git play only to member git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5394 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/mod/applications/mod_conference/mod_conference.c b/src/mod/applications/mod_conference/mod_conference.c index 0108c82893..ff27d79558 100644 --- a/src/mod/applications/mod_conference/mod_conference.c +++ b/src/mod/applications/mod_conference/mod_conference.c @@ -2118,7 +2118,7 @@ static switch_status_t conference_member_play_file(conference_member_t * member, 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 @@ static switch_status_t conference_member_play_file(conference_member_t * member, } 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 @@ static switch_status_t conference_member_play_file(conference_member_t * member, } file = dfile; } else { - status = conference_say(member->conference, file, leadin); + status = conference_member_say(member, file, leadin); goto done; } }