Example of a CDR from Expressway as a complete JSON file

{
    "_index": "expressway_cdrs-000001",
    "_type": "_doc",
    "_id": "d3d358e5-abb9-4c06-b779-6b8b008bda17",
    "_version": 1,
    "_score": null,
    "_source": {
        "initial_call": true,
        "protocol": "SIP <-> SIP",
        "protocol_summary": "SIP <-> SIP",
        "disconnect_reason": "200 OK",
        "licensed": true,
        "tag": "02622a83-65f9-4d86-a6ad-b4705dfec5d3",
        "aside_request_uri": "",
        "box_call_serial_number": "a2c6e206-88ff-4ee8-96c8-957c98d6eca4",
        "source_alias": "sip:mhorsley@free.calls.webex.com",
        "uuid": "d3d358e5-abb9-4c06-b779-6b8b008bda17",
        "last_updated_timestamp": 1617280260,
        "details": {
            "call": {
                "serial_number": "d3d358e5-abb9-4c06-b779-6b8b008bda17",
                "box_serial_number": "a2c6e206-88ff-4ee8-96c8-957c98d6eca4",
                "tag": "02622a83-65f9-4d86-a6ad-b4705dfec5d3",
                "sip_variant": "Standards-based",
                "state": "Disconnected",
                "start_time": "2021-04-01T12:24:35.7926470Z",
                "initial_call": true,
                "licensed": true,
                "licensed_as_traversal": true,
                "source_alias": "sip:mhorsley@free.calls.webex.com",
                "destination_alias": "sip:42@vqcomms.com",
                "to_local_b2bua": false,
                "audio": false,
                "license": {
                    "traversal": 0,
                    "non_traversal": 0,
                    "demoted_traversal": 0,
                    "collaboration_edge": 0,
                    "cloud": 2,
                    "microsoft_content": 0,
                    "microsoft_imp": 0
                },
                "duration": 385,
                "legs": [
                    {
                        "leg": {
                            "protocol": "SIP",
                            "sip": {
                                "address": "81.91.99.74:7001",
                                "transport": "TLS",
                                "aliases": [
                                    {
                                        "alias": {
                                            "type": "Url",
                                            "origin": "Unknown",
                                            "value": "sip:mhorsley@free.calls.webex.com"
                                        }
                                    }
                                ]
                            },
                            "targets": [
                                {
                                    "target": {
                                        "type": "Url",
                                        "origin": "Unknown",
                                        "value": "sip:42@vqcomms.com"
                                    }
                                }
                            ],
                            "bandwidth_node": "TraversalZone",
                            "encryption_type": "AES",
                            "cause": "200",
                            "reason": "OK"
                        }
                    },
                    {
                        "leg": {
                            "protocol": "SIP",
                            "sip": {
                                "address": "192.168.6.247:5061",
                                "transport": "TLS",
                                "aliases": [
                                    {
                                        "alias": {
                                            "type": "Url",
                                            "origin": "Unknown",
                                            "value": "sip:42@vqcomms.com"
                                        }
                                    }
                                ]
                            },
                            "bandwidth_node": "Neighbour to CMS",
                            "encryption_type": "AES",
                            "cause": "200",
                            "reason": "OK",
                            "source": {
                                "aliases": [
                                    {
                                        "alias": {
                                            "type": "Url",
                                            "origin": "Unknown",
                                            "value": "mhorsley@free.calls.webex.com"
                                        }
                                    }
                                ]
                            }
                        }
                    }
                ],
                "sessions": [
                    {
                        "session": {
                            "status": "Completed",
                            "media_routed": true,
                            "call_routed": true,
                            "participants": {
                                "leg": 2,
                                "incoming": {
                                    "leg": 1
                                },
                                "outgoing": {
                                    "leg": 2
                                }
                            },
                            "bandwidth": {
                                "requested": 16064,
                                "allocated": 4000
                            },
                            "route": [
                                {
                                    "hop": {
                                        "zone": "TraversalZone"
                                    }
                                },
                                {
                                    "hop": {
                                        "link": "Zone001ToTraversalSZ"
                                    }
                                },
                                {
                                    "hop": {
                                        "zone": "TraversalSubZone"
                                    }
                                },
                                {
                                    "hop": {
                                        "link": "Zone002ToTraversalSZ"
                                    }
                                },
                                {
                                    "hop": {
                                        "zone": "Neighbour to CMS"
                                    }
                                }
                            ],
                            "media": {
                                "channels": [
                                    {
                                        "channel": {
                                            "type": "Audio",
                                            "protocol": "DYNAMIC_98",
                                            "fax_mode": "None",
                                            "rate": 73465,
                                            "packets": {
                                                "forwarded": {
                                                    "total": 19347,
                                                    "rtp_and_rtcp": 19347,
                                                    "keep_alives": 0,
                                                    "unknown": 0
                                                },
                                                "keep_alives": {
                                                    "total": 0,
                                                    "assent": 0,
                                                    "h460": 0,
                                                    "stun": 0
                                                },
                                                "errors": {
                                                    "total": 0,
                                                    "media": {
                                                        "no_destination": 0,
                                                        "invalid_type": 0,
                                                        "filter_failure": 0,
                                                        "media_discarded": 0
                                                    },
                                                    "assent": {
                                                        "invalid_probe": 0
                                                    },
                                                    "ip": {
                                                        "send": 0
                                                    }
                                                },
                                                "analysis": {
                                                    "duplicate": 0,
                                                    "lost": 0,
                                                    "out_of_order": 0,
                                                    "unexpected": 0,
                                                    "jitter": 2,
                                                    "jitter_peak": 30,
                                                    "max_burst_pkt_lost": 0,
                                                    "avg_burst_pkt_lost": 0
                                                }
                                            },
                                            "incoming": {
                                                "leg": 2
                                            },
                                            "outgoing": {
                                                "leg": 1
                                            }
                                        }
                                    },
                                    {
                                        "channel": {
                                            "type": "Audio",
                                            "protocol": "DYNAMIC_98",
                                            "fax_mode": "None",
                                            "rate": 42228,
                                            "packets": {
                                                "forwarded": {
                                                    "total": 20234,
                                                    "rtp_and_rtcp": 20234,
                                                    "keep_alives": 0,
                                                    "unknown": 0
                                                },
                                                "keep_alives": {
                                                    "total": 42,
                                                    "assent": 42,
                                                    "h460": 0,
                                                    "stun": 0
                                                },
                                                "errors": {
                                                    "total": 0,
                                                    "media": {
                                                        "no_destination": 0,
                                                        "invalid_type": 0,
                                                        "filter_failure": 0,
                                                        "media_discarded": 0
                                                    },
                                                    "assent": {
                                                        "invalid_probe": 0
                                                    },
                                                    "ip": {
                                                        "send": 0
                                                    }
                                                },
                                                "analysis": {
                                                    "duplicate": 0,
                                                    "lost": 0,
                                                    "out_of_order": 0,
                                                    "unexpected": 0,
                                                    "jitter": 14,
                                                    "jitter_peak": 491,
                                                    "max_burst_pkt_lost": 0,
                                                    "avg_burst_pkt_lost": 0
                                                }
                                            },
                                            "incoming": {
                                                "leg": 1
                                            },
                                            "outgoing": {
                                                "leg": 2
                                            }
                                        }
                                    },
                                    {
                                        "channel": {
                                            "type": "Video",
                                            "protocol": "DYNAMIC_108",
                                            "fax_mode": "None",
                                            "rate": 1504270,
                                            "packets": {
                                                "forwarded": {
                                                    "total": 44718,
                                                    "rtp_and_rtcp": 44718,
                                                    "keep_alives": 0,
                                                    "unknown": 0
                                                },
                                                "keep_alives": {
                                                    "total": 0,
                                                    "assent": 0,
                                                    "h460": 0,
                                                    "stun": 0
                                                },
                                                "errors": {
                                                    "total": 0,
                                                    "media": {
                                                        "no_destination": 0,
                                                        "invalid_type": 0,
                                                        "filter_failure": 0,
                                                        "media_discarded": 0
                                                    },
                                                    "assent": {
                                                        "invalid_probe": 0
                                                    },
                                                    "ip": {
                                                        "send": 0
                                                    }
                                                },
                                                "analysis": {
                                                    "duplicate": 0,
                                                    "lost": 0,
                                                    "out_of_order": 0,
                                                    "unexpected": 0,
                                                    "jitter": 12,
                                                    "jitter_peak": 181,
                                                    "max_burst_pkt_lost": 0,
                                                    "avg_burst_pkt_lost": 0
                                                }
                                            },
                                            "incoming": {
                                                "leg": 2
                                            },
                                            "outgoing": {
                                                "leg": 1
                                            }
                                        }
                                    },
                                    {
                                        "channel": {
                                            "type": "Video",
                                            "protocol": "DYNAMIC_108",
                                            "fax_mode": "None",
                                            "rate": 1359498,
                                            "packets": {
                                                "forwarded": {
                                                    "total": 72348,
                                                    "rtp_and_rtcp": 72348,
                                                    "keep_alives": 0,
                                                    "unknown": 0
                                                },
                                                "keep_alives": {
                                                    "total": 42,
                                                    "assent": 42,
                                                    "h460": 0,
                                                    "stun": 0
                                                },
                                                "errors": {
                                                    "total": 0,
                                                    "media": {
                                                        "no_destination": 0,
                                                        "invalid_type": 0,
                                                        "filter_failure": 0,
                                                        "media_discarded": 0
                                                    },
                                                    "assent": {
                                                        "invalid_probe": 0
                                                    },
                                                    "ip": {
                                                        "send": 0
                                                    }
                                                },
                                                "analysis": {
                                                    "duplicate": 0,
                                                    "lost": 0,
                                                    "out_of_order": 0,
                                                    "unexpected": 0,
                                                    "jitter": 11,
                                                    "jitter_peak": 138,
                                                    "max_burst_pkt_lost": 0,
                                                    "avg_burst_pkt_lost": 0
                                                }
                                            },
                                            "incoming": {
                                                "leg": 1
                                            },
                                            "outgoing": {
                                                "leg": 2
                                            }
                                        }
                                    },
                                    {
                                        "channel": {
                                            "type": "Unknown",
                                            "protocol": "UNKNOWN",
                                            "fax_mode": "None",
                                            "rate": 0,
                                            "packets": {
                                                "forwarded": {
                                                    "total": 0,
                                                    "rtp_and_rtcp": 0,
                                                    "keep_alives": 0,
                                                    "unknown": 0
                                                },
                                                "keep_alives": {
                                                    "total": 0,
                                                    "assent": 0,
                                                    "h460": 0,
                                                    "stun": 0
                                                },
                                                "errors": {
                                                    "total": 0,
                                                    "media": {
                                                        "no_destination": 0,
                                                        "invalid_type": 0,
                                                        "filter_failure": 0,
                                                        "media_discarded": 0
                                                    },
                                                    "assent": {
                                                        "invalid_probe": 0
                                                    },
                                                    "ip": {
                                                        "send": 0
                                                    }
                                                },
                                                "analysis": {
                                                    "duplicate": 0,
                                                    "lost": 0,
                                                    "out_of_order": 0,
                                                    "unexpected": 0,
                                                    "jitter": 0,
                                                    "jitter_peak": 0,
                                                    "max_burst_pkt_lost": 0,
                                                    "avg_burst_pkt_lost": 0
                                                }
                                            },
                                            "incoming": {
                                                "leg": 2
                                            },
                                            "outgoing": {
                                                "leg": 1
                                            }
                                        }
                                    },
                                    {
                                        "channel": {
                                            "type": "Unknown",
                                            "protocol": "UNKNOWN",
                                            "fax_mode": "None",
                                            "rate": 0,
                                            "packets": {
                                                "forwarded": {
                                                    "total": 0,
                                                    "rtp_and_rtcp": 0,
                                                    "keep_alives": 0,
                                                    "unknown": 0
                                                },
                                                "keep_alives": {
                                                    "total": 42,
                                                    "assent": 42,
                                                    "h460": 0,
                                                    "stun": 0
                                                },
                                                "errors": {
                                                    "total": 0,
                                                    "media": {
                                                        "no_destination": 0,
                                                        "invalid_type": 0,
                                                        "filter_failure": 0,
                                                        "media_discarded": 0
                                                    },
                                                    "assent": {
                                                        "invalid_probe": 0
                                                    },
                                                    "ip": {
                                                        "send": 0
                                                    }
                                                },
                                                "analysis": {
                                                    "duplicate": 0,
                                                    "lost": 0,
                                                    "out_of_order": 0,
                                                    "unexpected": 0,
                                                    "jitter": 0,
                                                    "jitter_peak": 0,
                                                    "max_burst_pkt_lost": 0,
                                                    "avg_burst_pkt_lost": 0
                                                }
                                            },
                                            "incoming": {
                                                "leg": 1
                                            },
                                            "outgoing": {
                                                "leg": 2
                                            }
                                        }
                                    },
                                    {
                                        "channel": {
                                            "type": "Application",
                                            "protocol": "BFCP",
                                            "fax_mode": "None",
                                            "rate": 0,
                                            "packets": {
                                                "forwarded": {
                                                    "total": 5,
                                                    "rtp_and_rtcp": 0,
                                                    "keep_alives": 0,
                                                    "unknown": 5
                                                },
                                                "keep_alives": {
                                                    "total": 0,
                                                    "assent": 0,
                                                    "h460": 0,
                                                    "stun": 0
                                                },
                                                "errors": {
                                                    "total": 0,
                                                    "media": {
                                                        "no_destination": 0,
                                                        "invalid_type": 0,
                                                        "filter_failure": 0,
                                                        "media_discarded": 0
                                                    },
                                                    "assent": {
                                                        "invalid_probe": 0
                                                    },
                                                    "ip": {
                                                        "send": 0
                                                    }
                                                },
                                                "analysis": {
                                                    "duplicate": 0,
                                                    "lost": 0,
                                                    "out_of_order": 0,
                                                    "unexpected": 0,
                                                    "jitter": 0,
                                                    "jitter_peak": 0,
                                                    "max_burst_pkt_lost": 0,
                                                    "avg_burst_pkt_lost": 0
                                                }
                                            },
                                            "incoming": {
                                                "leg": 2
                                            },
                                            "outgoing": {
                                                "leg": 1
                                            }
                                        }
                                    },
                                    {
                                        "channel": {
                                            "type": "Application",
                                            "protocol": "BFCP",
                                            "fax_mode": "None",
                                            "rate": 0,
                                            "packets": {
                                                "forwarded": {
                                                    "total": 4,
                                                    "rtp_and_rtcp": 0,
                                                    "keep_alives": 0,
                                                    "unknown": 4
                                                },
                                                "keep_alives": {
                                                    "total": 42,
                                                    "assent": 42,
                                                    "h460": 0,
                                                    "stun": 0
                                                },
                                                "errors": {
                                                    "total": 0,
                                                    "media": {
                                                        "no_destination": 0,
                                                        "invalid_type": 0,
                                                        "filter_failure": 0,
                                                        "media_discarded": 0
                                                    },
                                                    "assent": {
                                                        "invalid_probe": 0
                                                    },
                                                    "ip": {
                                                        "send": 0
                                                    }
                                                },
                                                "analysis": {
                                                    "duplicate": 0,
                                                    "lost": 0,
                                                    "out_of_order": 0,
                                                    "unexpected": 0,
                                                    "jitter": 0,
                                                    "jitter_peak": 0,
                                                    "max_burst_pkt_lost": 0,
                                                    "avg_burst_pkt_lost": 0
                                                }
                                            },
                                            "incoming": {
                                                "leg": 1
                                            },
                                            "outgoing": {
                                                "leg": 2
                                            }
                                        }
                                    }
                                ]
                            }
                        }
                    }
                ],
                "end_time": "2021-04-01T12:31:00.1553960Z"
            }
        },
        "status": "Disconnected",
        "destination_alias": "sip:42@vqcomms.com",
        "licensed_as_traversal": true,
        "service_uuid": "e6723fd0-5ca2-11e1-b86c-0800200c9a66",
        "start_time": "2021-04-01T12:24:35.7926470Z",
        "traversal_license_tokens": 0,
        "bside_destination_alias": "",
        "active": false,
        "media_routed": true,
        "aside_destination_alias": "",
        "non_traversal_license_tokens": 0,
        "bside_request_uri": "",
        "end_time": "2021-04-01T12:31:00.1553960Z",
        "audio": false,
        "@timestamp": "2021-04-01T12:31:00.1553960Z",
        "expressway_address": "exp-core.vq.lab",
        "cluster_name": "cluster1",
        "node_name": "expressway1",
        "doc_type": "cdr"
    },
    "fields": {
        "start_time": [
            "2021-04-01T12:24:35.792Z"
        ],
        "@timestamp": [
            "2021-04-01T12:31:00.155Z"
        ],
        "details.call.end_time": [
            "2021-04-01T12:31:00.155Z"
        ],
        "end_time": [
            "2021-04-01T12:31:00.155Z"
        ],
        "details.call.start_time": [
            "2021-04-01T12:24:35.792Z"
        ]
    },
    "highlight": {
        "doc_type.keyword": [
            "@kibana-highlighted-field@cdr@/kibana-highlighted-field@"
        ]
    },
    "sort": [
        1617280260155
    ]
}