All apps/sngrep

sngrep

sngrep

sngrep is a tool for displaying SIP calls message flows from terminal.

Runs as sngrep|macOS, Linux, Windows|github.com

Command form

ai-draft · 3 tasks · 13 fields

Capture live SIP traffic or read a pcap file in the sngrep viewer. HEP/Homer, TLS key and config-file options are left out.

Opens the form; the finished command lands at your prompt, unrun
otty gui sngrep
Capture SIP trafficExample values, fixed in this page — nothing here reaches a terminal
Basic
Capture device
string
Only dialogs starting with INVITE
-c
Match expression
string
Advanced
Case-insensitive match
-i
TasksEach one presets the form for one job
Watch a device
deviceinvites_onlymatchcase_insensitive
Open a pcap file
read_pcapmatchcase_insensitiveinvert
Record to pcap
devicewrite_pcapno_interfacequiet
ParametersOnly these flags are editable in the form
Capture device
any, a device like eth0, or a comma-separated list.
string
-d
Read from pcap file
path
-I
Save capture to pcap file
path
-O
Dialog limit
integer
-l
Only dialogs starting with INVITE
boolean
-c
Capture RTP payload
boolean
-r
Capture only, no interface
boolean
-N
Quiet (with no interface)
boolean
-q
Case-insensitive match
boolean
-i
Invert match
boolean
-v
Ignore default config file
boolean
-F
Match expression
Matched against message payloads.
string · positional 0
BPF filter
For example: port 5060. Needs a match expression first (use "" for none).
string · positional 1
SourcesEvery flag above is checked against these
sngrep-man
sngrep [-hVcivNqrD] [-IO pcap_dump ] [-d dev ] [-l limit ] [-B buffer ] [-k keyfile ] [-f config_file ] [-F] [-T text_file ] [-t] [-P] [-R] [-LHE capture_url ] [ <match expression> ] [ <bpf filter> ] -c Only display dialogs starting with an INVITE request. -r Capture RTP packets payload. -i Make match expression case insensitive. -v Invert match expression.…
manualDebian sngrep(8) 1.9.0

manpages.debian.org

Before it fills your prompt, Otty checks the installed sngrep against its version. A form that does not match your version is not offered.