Files
cheatsheet-tldr/tldr/sngrep
2025-05-05 00:21:02 +00:00

26 lines
597 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# 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}}`