Fixed some extra field assertion when the event WebSocket is connected

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@389343 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
David M. Lee
2013-05-21 14:17:24 +00:00
parent d8aec72494
commit e1e1cc2dee
2 changed files with 3 additions and 6 deletions

View File

@@ -87,8 +87,7 @@ static int userevent_exec(struct ast_channel *chan, const char *data)
AST_STANDARD_APP_ARGS(args, parse);
blob = ast_json_pack("{s: s, s: s}",
"type", "userevent",
blob = ast_json_pack("{s: s}",
"eventname", args.eventname);
if (!blob) {
return -1;