]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-5157 patch accepted
authorMariusz Czułada <manieq.net@gmail.com>
Tue, 28 May 2013 22:19:49 +0000 (00:19 +0200)
committerMariusz Czułada <manieq.net@gmail.com>
Tue, 28 May 2013 22:22:19 +0000 (00:22 +0200)
src/mod/applications/mod_conference/mod_conference.c

index 3c3704474c641298b52c0b323072a2e7946b1360..aba4318fd403855ecb093e56bfd2e8cc37b3496f 100644 (file)
@@ -6362,6 +6362,12 @@ static switch_status_t conf_api_sub_get(conference_obj_t *conference,
                } else if (strcasecmp(argv[2], "endconf_grace_time") == 0) {
                        stream->write_function(stream, "%d",
                                        conference->endconf_grace_time);
+               } else if (strcasecmp(argv[2], "uuid") == 0) {
+                       stream->write_function(stream, "%s",
+                                       conference->uuid_str);
+               } else if (strcasecmp(argv[2], "wait_mod") == 0) {
+                       stream->write_function(stream, "%s",
+                                       switch_test_flag(conference, CFLAG_WAIT_MOD) ? "true" : "");
                } else {
                        ret_status = SWITCH_STATUS_FALSE;
                }