Thanks — I want to make sure I answer the right part of your question: when you say “get SIP from when SIP invite happens,” do you mean you want to capture the raw SIP INVITE message (headers, body, timestamps) as it arrives, or do you mean you want to get call-level data/metrics (who called, call start time, call id) at the moment a call is created?
Quick answer for both:
• LiveKit does not provide access to raw SIP protocol messages (for example the full INVITE headers/body) through its APIs or observability features.
• If you only need call metadata (call ID, timestamp, caller/callee, call state), LiveKit’s call-level observability, transcripts, and agent events can provide call information rather than raw SIP messages.
If you need the raw SIP INVITE, here are practical alternatives:
• Place an intermediary SIP proxy / SBC or SIP trunk logger in front of LiveKit that records SIP signaling. That component can capture and store INVITE messages for inspection.
• Use packet capture (e.g., tcpdump/pcap and Wireshark) on the network interface that receives SIP traffic to record INVITEs and other SIP messages.
If you want call-level data from LiveKit (not raw SIP), tell me which data points you need (examples: caller number, timestamp, call SID, room name, agent ID) and whether you want them in real time (webhook/stream) or as historical logs. I can then outline how to retrieve or stream that information and what LiveKit observability features would be relevant.
Sources:
Agents telephony integration | LiveKit Documentation |
How to do call transfers with Five9 | LiveKit |
Streamline troubleshooting with Agent Observability