From 60e8ca1bcc141e8655e4a9264fa1de72a540fc5b Mon Sep 17 00:00:00 2001 From: Chris Rienzo Date: Fri, 9 Aug 2013 09:54:45 -0400 Subject: [PATCH] FS-5686 reversed send/recv direction --- src/mod/event_handlers/mod_rayo/mod_rayo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mod/event_handlers/mod_rayo/mod_rayo.c b/src/mod/event_handlers/mod_rayo/mod_rayo.c index ba844118aa..6e2d90a4d9 100644 --- a/src/mod/event_handlers/mod_rayo/mod_rayo.c +++ b/src/mod/event_handlers/mod_rayo/mod_rayo.c @@ -1762,9 +1762,9 @@ static iks *join_mixer(struct rayo_call *call, switch_core_session_t *session, i /* join new conference */ const char *conf_args = switch_core_session_sprintf(session, "%s@%s", mixer_name, globals.mixer_conf_profile); if (!strcmp("send", direction)) { - conf_args = switch_core_session_sprintf(session, "%s+flags{mute}", conf_args); - } else if (!strcmp("recv", direction)) { conf_args = switch_core_session_sprintf(session, "%s+flags{deaf}", conf_args); + } else if (!strcmp("recv", direction)) { + conf_args = switch_core_session_sprintf(session, "%s+flags{mute}", conf_args); } if (switch_core_session_execute_application_async(session, "conference", conf_args) == SWITCH_STATUS_SUCCESS) { response = iks_new_iq_result(node);