diff --git a/apps/app_userevent.c b/apps/app_userevent.c index ded039e3fe5254817ca8062665b7c398b1acb3d8..ef03d833dba910676f934e58a9d5ecb2f4dae47c 100644 --- a/apps/app_userevent.c +++ b/apps/app_userevent.c @@ -92,7 +92,7 @@ static int userevent_exec(struct ast_channel *chan, const char *data) ast_str_append(&body, 0, "%s\r\n", args.extra[x]); } - blob = ast_json_pack("{s: s, s: s, s: s}", + blob = ast_json_pack("{s: s, s: s}", "eventname", args.eventname, "body", ast_str_buffer(body)); if (!blob) {