hi!
one of the ways (not related to t_relay, rather general solution), use this event_route: https://www.kamailio.org/docs/modules/5.0.x/modules/corex.html#async.evr.net...
in the event route to print the message's content you can use $mb to print what is sent/received.
hope this helped.
cheers!
-- Sent from: http://sip-router.1086192.n5.nabble.com/Users-f3.html