summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfred E. Heggestad <alfred.heggestad@gmail.com>2018-01-24 18:39:46 +0100
committerAlfred E. Heggestad <alfred.heggestad@gmail.com>2018-01-24 18:39:46 +0100
commit1b622f6442a44e0ab1f9eea60e08a14d830697f3 (patch)
treeaac177bf9fdb2d64c372a9a06a29874df41afbdc
parent308fd8dd1d373ab22c19697f16ca2f3cbf0307ad (diff)
event: add call-id to JSON dict
-rw-r--r--src/event.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/event.c b/src/event.c
index 4d1304b..94db0d2 100644
--- a/src/event.c
+++ b/src/event.c
@@ -116,6 +116,7 @@ int event_encode_dict(struct odict *od, struct ua *ua, enum ua_event ev,
err |= odict_entry_add(od, "direction", ODICT_STRING, dir);
err |= odict_entry_add(od, "peeruri",
ODICT_STRING, call_peeruri(call));
+ err |= odict_entry_add(od, "id", ODICT_STRING, call_id(call));
if (err)
goto out;
}