vidyo_cdr = { plugin_version = "1.0" # 2015-14-01 - 1.0 - gas - New format. info.1.manufacturer = "Vidyo" info.1.device = "CDR" info.1.version.1 = "1.0" # The name of the log format log.format.format_label = "Vidyo" log.miscellaneous.log_data_type = "application" log.miscellaneous.log_format_type = "application" # The log is in this format if any of the first ten lines match this regular expression log.format.autodetect_regular_expression = ".UniqueCallID.,.ConferenceName.,.TenantName.,.ConferenceType.,.EndpointType.,.CallerID.,.CallerName.,.JoinTime.,.LeaveTime.,.CallState.,.Direction.,.RouterID.,.GWID.,.GWPrefix.,.ReferenceNumber.,.ApplicationName.,.ApplicationVersion.,.ApplicationOS.,.DeviceModel.,.EndpointPublicIPAddress.,.AccessType.,.RoomType.,.RoomOwner.,.CallCompletionCode.,.Extension.,.EndpointGUID." log.format.parsing_regular_expression = '^.([^"]*).,.([^"]*).,.([^"]*).,.([^"]*).,.([^"]*).,.([^"]*).,.([^"]*).,.([^"]*).,.([^"]*).,.([^"]*).,.([^"]*).,.([^"]*).,.([^"]*).,.([^"]*).,.([^"]*).,.([^"]*).,.([^"]*).,.([^"]*).,.([^"]*).,.([^"]*).,.([^"]*).,.([^"]*).,.([^"]*).,.([^"]*).,.([^"]*).,.([^"]*).$' log.format.ignore_format_lines = "true" log.format.date_format = "auto" log.format.time_format = "auto" # Log fields log.fields = { uniquecallid = "" conferencename = "" tenantname = "" conferencetype = "" endpointtype = "" callerid = "" callername = "" jointime = "" leavetime = "" callstate = "" direction = "" routerid = "" gwid = "" gwprefix = "" referencenumber = "" applicationname = "" applicationversion = "" applicationos = "" devicemodel = "" endpointpublicipaddress = "" accesstype = "" roomtype = "" roomowner = "" callcompletioncode = "" extension = "" endpointguid = "" date = "" time = "" } # log.fields # Database fields database.fields = { date_time = "" day_of_week = "" hour_of_day = "" uniquecallid = "" conferencename = "" tenantname = "" conferencetype = "" endpointtype = "" callerid = "" callername = "" # leavetime = "" callstate = "" direction = "" routerid = "" gwid = "" gwprefix = "" referencenumber = "" applicationname = "" applicationversion = "" applicationos = "" devicemodel = "" endpointpublicipaddress = "" accesstype = "" roomtype = "" roomowner = "" callcompletioncode = "" extension = "" endpointguid = "" } # database.fields log.parsing_filters.parse = { value = ` date = substr(jointime, 0, 10); time = substr(jointime, 11); v.join_datetime = normalize_date(substr(jointime, 0, 10), 'yyyy-mm-dd') . ' ' . substr(jointime, 11); v.leave_datetime = normalize_date(substr(leavetime, 0, 10), 'yyyy-mm-dd') . ' ' . substr(leavetime, 11); if ((leavetime eq '(empty)') or (jointime eq '(empty)')) then ( duration = 0; ); else duration = date_time_to_epoc(v.leave_datetime) - date_time_to_epoc(v.join_datetime); ` } database.numerical_fields = { calls = { label = "$lang_stats.field_labels.calls" default = true requires_log_field = false type = "int" display_format_type = "integer" entries_field = true } # calls duration = { label = "$lang_stats.field_labels.duration" default = false requires_log_field = false type = "int" integer_bits = 64 display_format_type = "duration_compact" } # duration } # database.numerical_fields log.filters = { mark_entry = { label = '$lang_admin.log_filters.mark_entry_label' comment = '$lang_admin.log_filters.mark_entry_comment' value = 'calls = 1;' } # mark_entry } # log.filters create_profile_wizard_options = { # How the reports should be grouped in the report menu report_groups = { date_time_group = "" } # report_groups } # create_profile_wizard_options } # vidyo_cdr