kpimanagement.KDR kdr = udrCreate(kpimanagement.KDR);
kdr.type = input.type;
kdr.timestamp = input.start_time;
kdr.values = mapCreate(string, any);
mapSet(kdr.values, "dimension_1", input.end_time);
mapSet(kdr.values, "dimension_2", input.end_time);
mapSet(kdr.values, "call_length", input.call_length);
mapSet(kdr.values, "connect_latency", input.connect_latency); |