From 3c9ee25a0a24c1c7c3366bb21085424254ecf6d0 Mon Sep 17 00:00:00 2001 From: Michael S Collins Date: Fri, 18 Mar 2011 11:24:48 -0700 Subject: [PATCH] Add conf_uuid chan var for djbinter (Thanks Math) --- src/mod/applications/mod_conference/mod_conference.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mod/applications/mod_conference/mod_conference.c b/src/mod/applications/mod_conference/mod_conference.c index 9c85d40c8b..0f5ea26e09 100644 --- a/src/mod/applications/mod_conference/mod_conference.c +++ b/src/mod/applications/mod_conference/mod_conference.c @@ -37,6 +37,7 @@ */ #include #define DEFAULT_AGC_LEVEL 1100 +#define CONFERENCE_UUID_VARIABLE "conference_uuid" SWITCH_MODULE_LOAD_FUNCTION(mod_conference_load); SWITCH_MODULE_SHUTDOWN_FUNCTION(mod_conference_shutdown); @@ -705,6 +706,7 @@ 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); + switch_channel_set_variable(channel, CONFERENCE_UUID_VARIABLE, conference->uuid_str); if (conference->count > 1) { if (conference->moh_sound && !switch_test_flag(conference, CFLAG_WAIT_MOD)) {