From 3d64b04a87ef0fc06438af6d68d3ccb0a123cd42 Mon Sep 17 00:00:00 2001 From: Paul Azema Date: Sun, 19 Nov 2023 21:35:52 +0100 Subject: [PATCH] sngrep: add page (#11501) Co-authored-by: Juri Dispan Co-authored-by: K.B.Dharun Krishna Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com> --- pages/common/sngrep.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 pages/common/sngrep.md diff --git a/pages/common/sngrep.md b/pages/common/sngrep.md new file mode 100644 index 0000000000..b4139e7d2d --- /dev/null +++ b/pages/common/sngrep.md @@ -0,0 +1,20 @@ +# sngrep + +> Tool for displaying SIP calls message flows from terminal. +> More information: . + +- 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}}`