diff options
author | 2017-07-14 16:02:58 -0400 | |
---|---|---|
committer | 2017-07-14 17:38:57 -0400 | |
commit | 65c3a02cf2b1083debdd087fef9a656d3e3c6cea (patch) | |
tree | e9b3ea16f8c584e70a2d33a7c080b994b85e5491 /vnfs/VES5.0/evel/evel-library/code/evel_library/evel_event.c | |
parent | 1a92cb5c28ba17b4a57e4c02ad7223119c810c4a (diff) |
Fixed bugs with VoiceQuality and TCA
Change-Id: I0d839079b3a97116db05fa261146998200eb9ae3
Signed-Off-By: Gokul Singaraju <goksing@gmail.com>
Diffstat (limited to 'vnfs/VES5.0/evel/evel-library/code/evel_library/evel_event.c')
-rw-r--r-- | vnfs/VES5.0/evel/evel-library/code/evel_library/evel_event.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/vnfs/VES5.0/evel/evel-library/code/evel_library/evel_event.c b/vnfs/VES5.0/evel/evel-library/code/evel_library/evel_event.c index 817e2288..6d025abe 100644 --- a/vnfs/VES5.0/evel/evel-library/code/evel_library/evel_event.c +++ b/vnfs/VES5.0/evel/evel-library/code/evel_library/evel_event.c @@ -20,8 +20,7 @@ * Implementation of EVEL functions relating to Event Headers - since * Heartbeats only contain the Event Header, the Heartbeat factory function is * here too. - * - ****************************************************************************/ + *****************************************************************************/ #include <string.h> #include <assert.h> @@ -484,7 +483,11 @@ int evel_json_encode_event(char * json, break; case EVEL_DOMAIN_VOICE_QUALITY: - evel_json_encode_other(jbuf, (EVENT_VOICE_QUALITY *)event); + evel_json_encode_voice_quality(jbuf, (EVENT_VOICE_QUALITY *)event); + break; + + case EVEL_DOMAIN_THRESHOLD_CROSS: + evel_json_encode_threshold_cross(jbuf, (EVENT_THRESHOLD_CROSS *)event); break; case EVEL_DOMAIN_INTERNAL: @@ -639,7 +642,7 @@ void evel_json_encode_vendor_field(EVEL_JSON_BUFFER * jbuf, assert(vfield != NULL); assert(vfield->vendorname != NULL); - evel_json_open_named_object(jbuf, "vendorVnfNamedFields"); + evel_json_open_named_object(jbuf, "vendorVnfNameFields"); /***************************************************************************/ /* Mandatory fields. */ |