From: Anthony Minessale Date: Fri, 21 May 2010 20:51:51 +0000 (-0500) Subject: add conference_member_id variable to all sessions with the member id used by their... X-Git-Tag: git2svn-syncpoint-master~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=49c9bfdb2ea8d29a09d784b82b36d7655aaa4ecf;p=thirdparty%2Ffreeswitch.git add conference_member_id variable to all sessions with the member id used by their conference participation (For drk__) --- diff --git a/src/mod/applications/mod_conference/mod_conference.c b/src/mod/applications/mod_conference/mod_conference.c index ac446d66e0..90a4ab356a 100644 --- a/src/mod/applications/mod_conference/mod_conference.c +++ b/src/mod/applications/mod_conference/mod_conference.c @@ -695,6 +695,9 @@ static switch_status_t conference_add_member(conference_obj_t *conference, confe } channel = switch_core_session_get_channel(member->session); + switch_channel_set_variable_printf(channel, "conference_member_id", "%d", member->id); + + call_list = (call_list_t *) switch_channel_get_private(channel, "_conference_autocall_list_"); if (call_list) {