Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Real-Time Communications
  3. sngrep

sngrep

GPL-3.0Cv1.8.3

A terminal-based SIP message flow viewer with ncurses interface for real-time VoIP debugging.

GitHubGitHub
1.2k stars212 forks0 contributors

What is sngrep?

sngrep is a terminal-based network tool specifically designed for analyzing SIP (Session Initiation Protocol) message flows in VoIP systems. It captures and displays SIP signaling messages in real-time, allowing developers and network engineers to visualize call setups, teardowns, and other SIP transactions. The tool helps debug VoIP communication issues by providing clear flow diagrams of SIP dialogs directly in the command line interface.

Target Audience

VoIP developers, telecommunications engineers, and network administrators who work with SIP-based systems and need efficient terminal-based tools for protocol analysis and debugging.

Value Proposition

Unlike general packet analyzers, sngrep specializes in SIP protocol visualization with an intuitive ncurses interface that shows complete call flows. It's lightweight, runs entirely in terminal, and provides SIP-specific features not available in broader network tools.

Overview

Ncurses SIP Messages flow viewer

Use Cases

Best For

  • Debugging SIP call setup failures in VoIP systems
  • Monitoring real-time SIP traffic on production servers
  • Analyzing SIP message sequences from packet capture files
  • Troubleshooting VoIP quality issues at the signaling layer
  • Teaching SIP protocol through visual flow examples
  • Quick inspection of SIP headers and parameters during development

Not Ideal For

  • Analyzing non-SIP network protocols like HTTP or TCP where broader tools like Wireshark are required
  • Teams preferring graphical user interfaces for network packet inspection and visualization
  • Scenarios involving encrypted SIP traffic that requires built-in decryption capabilities

Pros & Cons

Pros

Terminal Efficiency

Runs entirely in the terminal with an ncurses interface, making it lightweight and ideal for headless servers or remote debugging without GUI overhead.

SIP-Specific Visualization

Displays SIP dialogs as connected message sequences, providing clear flow diagrams that are not available in general packet analyzers like tcpdump.

Real-time Capture

Monitors SIP traffic in real-time from network interfaces, allowing immediate inspection of call setups and teardowns as they happen.

Advanced Filtering

Supports applying filters to focus on specific calls, users, or message types, and includes regex search for detailed content inspection.

Cons

Protocol Limitation

Exclusively handles SIP; for analyzing other protocols, users must switch to broader tools, adding complexity to multi-protocol workflows.

No GUI Option

Lacks a graphical interface, which can be a barrier for users who prefer visual tools or need more intuitive navigation for complex analyses.

Setup Complexity

Requires appropriate network permissions (e.g., root access) to capture live traffic, and may need additional configuration for encrypted SIP handling.

Open Source Alternative To

sngrep is an open-source alternative to the following products:

Wireshark (for SIP-specific analysis)
Wireshark (for SIP-specific analysis)

Wireshark (for SIP-specific analysis) refers to using Wireshark's features and filters specifically for analyzing Session Initiation Protocol (SIP) traffic in VoIP networks.

Frequently Asked Questions

Quick Stats

Stars1,170
Forks212
Contributors0
Open Issues74
Last commit3 months ago
CreatedSince 2013

Tags

#pcap#sip#network-debugging#ncurses#terminal#debug#flow#telecommunications#real-time-monitoring#terminal-tool#packet-capture

Built With

l
libpcap
n
ncurses
P
PCRE
C
C++

Included in

Real-Time Communications471
Auto-fetched 6 hours ago

Related Projects

HOMERHOMER

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

Stars1,924
Forks252
Last commit13 hours ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub