---
title: "Get SIP analysis for a call"
method: GET
path: "/timelines/calls/{call_id}/sip-analysis"
tags: ["Timeline"]
---

# Get SIP analysis for a call

`GET /timelines/calls/{call_id}/sip-analysis`

Returns SIP messages and RTCP quality stats for the specified call from Homer SIP capture.
Internal-to-internal messages (where both src and dst IPs are RFC 1918 private addresses) are filtered out.
RTCP stats are extracted from X-RTP-Stat headers in BYE messages before filtering.

## Path parameters

- `call_id` string, uuid, required

## Response `200`

SIP analysis for the call.

- object
  - `sip_messages` object[], required
    - `timestamp` string, date-time
    - `method` string
    - `src_ip` string
    - `src_port` integer
    - `dst_ip` string
    - `dst_port` integer
    - `raw` string
  - `rtcp_stats` object, nullable — RTCP quality metrics parsed from X-RTP-Stat header in BYE messages. Null if no RTCP stats available.
    - `mos` number, double, required — Mean Opinion Score (1.0-5.0)
    - `jitter` integer, required — Jitter in milliseconds
    - `packet_loss_pct` number, double, required — Packet loss percentage
    - `rtt` integer, required — Round-trip time in microseconds as reported by RTPEngine (divide by 1000 for milliseconds)
    - `rtp_bytes` integer, required — Total RTP bytes transferred
    - `rtp_packets` integer, required — Total RTP packets transferred
    - `rtp_errors` integer, required — Total RTP errors
    - `rtcp_bytes` integer, required — Total RTCP bytes transferred
    - `rtcp_packets` integer, required — Total RTCP packets transferred
    - `rtcp_errors` integer, required — Total RTCP errors

## Other responses

- `400` — Invalid request (INVALID_ARGUMENT).
- `401` — Authentication required (UNAUTHENTICATED).
- `403` — Insufficient permission (PERMISSION_DENIED).
- `404` — Resource not found (NOT_FOUND).
- `500` — Internal error (INTERNAL).

---

[API](https://skmtc.net/voipbin/apis/voipbin-api.md) · [All operations](https://skmtc.net/voipbin/apis/voipbin-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/voipbin/voipbin-api/revisions/79e779080bcc/schema)
