How to mirror sip traffic for recording

looking for the best way to record the SIP packets.
is Homer still a thing and could it capture the audio or just the SIP messages?

I use

https://pcapsipdump.sourceforge.net/

Homer is still a thing. Asterisk has built in support for it and it can capture RTP packets.

that look very easy to deploy. Thanks

It is, there is also

to play the media without fireing up wireshark, media doesn’t work with srtp of course.