Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
H

homer

> DevOps
Open source

HOMER - 100% Open-Source SIP, VoIP, RTC Packet Capture & Monitoring

2.0K stars0 likes0 views
WebsiteGitHub

About

HOMER - 100% Open-Source SIP, VoIP, RTC Packet Capture & Monitoring

homer eleven

100% Opensource Telecom Observability since 2011

homer is the all-in-one HEP capture and API server monolith powering Homer 11.x data lake

Features

  • All-in-One Application (Writer, Reader, Coordinator, Compactor, API)
  • Modern Codebase in golang for X64/ARM64 on Linux/MacOS
  • Powered by DuckDB 1.5 and Apache Arrow/IPC/Parquet
  • Datalake design based on DuckLake Catalog and Local/Object Storage
  • End-to-End Columnar OTLP Design w/ on-demand query execution
  • Linear Scaling to query over shared Object Storage catalog/pool
  • Flexible Schema support for growing problems and protocols
  • Backwards compatible with all HEPv3 Agents
  • Optional VQRTCP SIP QoS collector (application/vq-rtcpxr → DuckLake + transaction QoS UI)
  • Optional SIPREC Signaling SRS (RFC 7865/7866 metadata capture)
  • Easy to maintain, operate and scale (down to zero!)
  • Cloud Native Design for K8s and standard deployments
  • Built-In User Interface for Humans
  • MCP support and LLM/Agent friendly design (steal our boring jobs)

Architecture

Homer uses a modular architecture with four main components:

…

Modules

Module Description
Ingest Receives HEP packets via UDP/TCP/TLS/HTTP/HTTPS; optional SIP listeners for VQRTCP and SIPREC
Storage Writes data to DuckLake (Parquet + catalog)
Node Airport gRPC + HTTP /query; optional Arrow FlightSQL for Grafana (docs/FLIGHTSQL.md)
Coordinator REST API gateway for UI and external applications

Quick Start

Install Options

  • Download a release and install the homer package on your OS/arch
  • Use the official docker builds and compose examples
  • Build your own release locally (keep reading)

All-in-One Deployment

…

For more storage options consult the available STORAGE POLICIES

Optional: VQRTCP collector & SIPREC support

Both features are disabled by default and require the writer module (DuckLake). Enable them under ingest in homer.json:

json
{
  "ingest": {
    "vqrtcp": {
      "enable": true,
      "bind_ip": "0.0.0.0",
      "sip_port": 5063,
      "transports": ["udp", "tcp"],
      "methods": ["PUBLISH", "MESSAGE"],
      "reply_200": true
    },
    "siprec": {
      "enable": true,
      "bind_ip": "0.0.0.0",
      "advertise_ip": "203.0.113.10",
      "sip_port": 5062,
      "transports": ["udp", "tcp"],
      "require_siprec": true
    }
  }
}
Feature Listener Storage UI
VQRTCP Dedicated SIP (default :5063) vqrtcpxr_stats Transaction QoS tab → VQRTCP
SIPREC In-process SRS (default :5062) hep_proto_1_siprec Protocol Search profile siprec

Point your SBC or media gateway at the VQRTCP SIP port for application/vq-rtcpxr reports. Point the SIPREC Session Recording Client (SRC) at the SIPREC port for recording signaling and rs-metadata.

See docs/VQRTCP.md and docs/SIPREC.md for format details, correlation, and tuning.

Build & Run

bash
# Build
make

# Run as server (default mode)
./homer --config-path /etc/homer/homer.json

# With debug logging
./homer --config-path /etc/homer/homer.json --log-level debug

Development Container

For an in-container development workflow (build + tests), see docs/DEVCONTAINER.md.

Subcommands

Homer uses a subcommand-based CLI. Running homer without arguments starts the server.

homer                         Run the server (default)
homer search [flags]          Search Homer data via coordinator API
homer cli [flags]             Interactive DuckLake SQL shell
homer system [flags]          System operations (compaction, extensions, reload)
homer wizard [flags]          Interactive config generator wizard
homer config show [flags]     Print effective config (file + env + defaults)
homer mcp [flags]             Start MCP stdio server
homer version                 Show version
homer help                    Show full help with all flags

Server Mode (default)

bash
homer --config-path /etc/homer/homer.json
homer --config-path /etc/homer/homer.json --log-level debug --syslog-disable
Flag Description
--config-path <path> Path to config file or directory
--log-level <level> Log level: debug, info, warn, error, trace
--syslog-disable Disable syslog, use only stdout
--pid-file <path> PID file path (default: /var/run/homer-core.pid)

Search (via coordinator API)

Search Homer data from the command line with table, vertical, CSV, JSON, chart, call flow, or PCAP output (SIP only; use --format pcap with -o / --output).

…

See docs/SEARCH.md for full documentation and examples.

CLI (DuckLake SQL Shell)

Interactive SQL shell for direct DuckLake queries:

bash
# Start interactive CLI
homer cli --config-path /etc/homer/homer.json

# Execute single query and exit
homer cli --config-path /etc/homer/homer.json --query "SELECT COUNT(*) FROM homer_lake.main.hep_proto_1_call"
Command Description
help, \h, \? Show help
tables, \dt List available tables
clear, \c Clear screen
exit, quit, \q Exit CLI

System Operations

bash
# Run full compaction
homer system --config-path /etc/homer/homer.json --compaction-force

# Install DuckDB extensions
homer system --config-path /etc/homer/homer.json --install-extensions

# Show DuckDB version
homer system --config-path /etc/homer/homer.json --duckdb-version

# Generate example config
homer system --generate-example-config > homer.json

# Reload running process
homer system --reload

Catalog backup / restore

The DuckLake SQLite catalog is metadata only (parquet is not copied). Backup is safe while Homer is running; restore requires the writer to be stopped.

bash
homer catalog backup --config-path /etc/homer/homer.json
homer catalog list --config-path /etc/homer/homer.json
homer catalog restore --config-path /etc/homer/homer.json

See docs/CATALOG.md for flags, --out, and when to use restore vs --rebuild-catalog.

Config show

Print the effective config Homer would start with (JSON file + HOMER_* environment variables + struct defaults). This does not attach to a live process. Secrets (passwords, tokens, keys) are redacted unless --include-secrets is set.

bash
homer config show --config-path /etc/homer/homer.json
homer config show --config-path /etc/homer/homer.json --section storage.ducklake.compaction
Flag Description
--config-path <path> Path to config file or directory
--section <path> Dotted JSON path only
--include-secrets Do not redact credentials
--compact Single-line JSON

Wizard (Config Generator)

Interactive wizard that generates a complete homer.json config:

bash
# Interactive TUI wizard
homer wizard

# Non-interactive: generate config for a specific deployment profile
homer wizard --profile all-in-one --output homer.json
homer wizard --profile writer --output homer-writer.json
homer wizard --profile coordinator --output homer-coordinator.json
homer wizard --profile edge --output homer-edge.json
homer wizard --profile node --output homer-node.json
Profile Modules Enabled
all-in-one ingest + storage + node + coordinator
writer ingest + storage
edge ingest + storage + node
coordinator coordinator only
node node only

Configuration Examples

See the examples/ directory:

File Description
homer.json All-in-one deployment
homer-writer.json Ingest + Storage + Node
homer-node.json Node only (read-only)
homer-coordinator.json Coordinator only
homer-edge.json Edge deployment

Documentation

Published docs (GitHub Pages): https://sipcapture.github.io/homer/ — built from docs/ via MkDocs on push to homer11. Enable Settings → Pages → Build and deployment: GitHub Actions once after the first workflow run.

bash
python3 -m venv .venv-docs && .venv-docs/bin/pip install -r docs-requirements.txt
.venv-docs/bin/mkdocs serve   # http://127.0.0.1:8000
  • Search CLI - Search from the command line (examples, formats, call flow)
  • Catalog backup / restore - Snapshot and rewind the DuckLake SQLite catalog
  • Config Wizard - Interactive config generator (TUI + presets)
  • Ingest performance tuning - multicore, DuckLake batch size, Prometheus flush interval; scripts/profile_ingest_load.sh / make profile-ingest for repeatable CPU profiles
  • Coordinator Module - REST API gateway
  • MCP UI Guide - Natural-language query assistant (configuration + UI usage)
  • Node Module - FlightSQL data server
  • Storage Architecture - DuckLake storage
  • Storage Policies - Tiered storage (hot/cold)
  • Compaction Setup - File compaction
  • VQRTCP collector - SIP QoS reports (vqrtcpxr_stats, QoS UI)
  • SIPREC support - Signaling SRS (hep_proto_1_siprec)

License

Released under the AGPL-3.0 License

Copyright (C) 2010-2026 QXIP BV

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Goanalyticscallflowcapture-agentcdr

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
CategoryDevOps
PricingOpen source

> Related tools

D
Docker
容器化平台,标准化应用交付
G
GitHub Actions
GitHub 原生 CI/CD 工作流
N
Nginx
高性能 Web 服务器与反向代理