Extract only SIP packets for one Call-ID
Answers
-
You can follow
tshark -r capture.pcap -Y 'sip.Call-ID == "CALLID@example.com"' -w callid_only.pcap
Replace CALLID@example.com with the Call-ID you want (exact match). The resulting callid_only.pcap contains only packets that match that display filter (SIP messages carrying that Call-ID).
- Use single quotes around the whole -Y expression to avoid shell interpolation.
- If the Call-ID contains characters the shell treats specially, escape them or wrap properly.
You can further check it with sngrep
sngrep -I callid_only.pcap
0
Howdy, Stranger!
Categories
- 98 All Categories
- 24 VoIP
- 11 SIP
- 16 asterisk
- 44 Programming
- 1 Nodejs
- 4 javascript
- 19 PHP
- 8 Codeigniter
- 14 database
- 1 UI/UX
- 2 Flutter
- 28 OS
- 26 Linux
- 1 Virtualization
- 1 Android
- 1 Windows
- 2 legal