HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

sngrep — Display SIP calls message flows from terminal. More information: <https://manned.org/sngrep>.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandsipsngrepclicallsflowsdisplaymessage

Problem

How to use the sngrep command: Display SIP calls message flows from terminal. More information: <https://manned.org/sngrep>.

Solution

sngrep — Display SIP calls message flows from terminal. More information: <https://manned.org/sngrep>.

Visualize SIP packets from a PCAP file:
sngrep -I {{path/to/file.pcap}}


Visualize only dialogs starting with INVITE packets with RTP packets from a PCAP file:
sngrep -crI {{path/to/file.pcap}}


Real-time interface with only dialogs starting with INVITE packets with RTP packets:
sngrep -cr


Only capture packets without interface to a file:
sngrep -NO {{path/to/file.pcap}}

Code Snippets

Visualize SIP packets from a PCAP file

sngrep -I {{path/to/file.pcap}}

Visualize only dialogs starting with INVITE packets with RTP packets from a PCAP file

sngrep -crI {{path/to/file.pcap}}

Real-time interface with only dialogs starting with INVITE packets with RTP packets

sngrep -cr

Only capture packets without interface to a file

sngrep -NO {{path/to/file.pcap}}

Context

tldr-pages: common/sngrep

Revisions (0)

No revisions yet.