diff options
author | David M. Lee <dlee@digium.com> | 2013-05-21 14:17:24 +0000 |
---|---|---|
committer | David M. Lee <dlee@digium.com> | 2013-05-21 14:17:24 +0000 |
commit | e1e1cc2deefb92f8b43825f1f34e619354737842 (patch) | |
tree | 50f0837ed9e8e6a9214ecfd769974e648d3e491e /apps | |
parent | d8aec724943dec514117a30bb099e25b0e8b3ffe (diff) |
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
Diffstat (limited to 'apps')
-rw-r--r-- | apps/app_userevent.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/app_userevent.c b/apps/app_userevent.c index b2dbb133f..fe037e2f9 100644 --- a/apps/app_userevent.c +++ b/apps/app_userevent.c @@ -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; |