Binary package “sipgrep” in ubuntu mantic

command line tool to sniff, capture, display SIP messages

 Powerful pcap-aware tool command line tool to sniff, capture, display
 and troubleshoot SIP signaling over IP networks, allowing the user to
 specify extended regular expressions matching against SIP headers.