]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-7513: make group change sticky when done from cli command
authorAnthony Minessale <anthm@freeswitch.org>
Fri, 6 Feb 2015 16:18:08 +0000 (10:18 -0600)
committerMichael Jerris <mike@jerris.com>
Thu, 28 May 2015 17:46:58 +0000 (12:46 -0500)
src/mod/applications/mod_conference/mod_conference.c

index d6d07aaddea1d12707364773f4546497ec4968c8..c9633fdbc561120c1e8bdaf85a75b46f152648e7 100644 (file)
@@ -7627,6 +7627,9 @@ static switch_status_t conf_api_sub_vid_layout(conference_obj_t *conference, swi
                                stream->write_function(stream, "Invalid group layout [%s]\n", argv[3]);
                                return SWITCH_STATUS_SUCCESS;
                        }
+
+                       stream->write_function(stream, "Change to layout group [%s]\n", argv[3]);
+                       conference->video_layout_group = switch_core_strdup(conference->pool, argv[3]);
                }
        }