Processing incoming RTP packets

When I establish a connection using SIP clients are 2 endpoints
Is there a way to receive RTP packets, process it and send it to the destination (asterisk server) ?

How do I view the incoming RTP packet frame.


WIreshark is a good utility for inspecting packets.

If an end-to-end call is established where the media is flowing directly between two SIP endpoints, then Asterisk is not capable of reinviting the media back onto it.