From cbc489fe270d95aec3e652c59750ee945e4b2fa9 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Wed, 22 Jul 2015 21:06:28 -0400 Subject: [PATCH] FS-7870: [mod_conference] allow jsonapi commands to take string variant of id attr --- src/mod/applications/mod_conference/conference_event.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mod/applications/mod_conference/conference_event.c b/src/mod/applications/mod_conference/conference_event.c index 7367b1000b..5494f9531a 100644 --- a/src/mod/applications/mod_conference/conference_event.c +++ b/src/mod/applications/mod_conference/conference_event.c @@ -107,7 +107,7 @@ void conference_event_mod_channel_handler(const char *event_channel, cJSON *json !strcasecmp(action, "unvmute") || !strcasecmp(action, "tvmute") ) { - exec = switch_mprintf("%s %s %d", conference_name, action, cid); + exec = switch_mprintf("%s %s %s", conference_name, action, cid); } else if (!strcasecmp(action, "volume_in") || !strcasecmp(action, "volume_out") || !strcasecmp(action, "vid-res-id") || @@ -116,7 +116,7 @@ void conference_event_mod_channel_handler(const char *event_channel, cJSON *json !strcasecmp(action, "vid-canvas") || !strcasecmp(action, "vid-watching-canvas") || !strcasecmp(action, "vid-banner")) { - exec = switch_mprintf("%s %s %d %s", conference_name, action, cid, argv[0]); + exec = switch_mprintf("%s %s %s %s", conference_name, action, cid, argv[0]); } else if (!strcasecmp(action, "play") || !strcasecmp(action, "stop")) { exec = switch_mprintf("%s %s %s", conference_name, action, argv[0]); } else if (!strcasecmp(action, "recording") || !strcasecmp(action, "vid-layout") || !strcasecmp(action, "vid-write-png")) {