Hi All,
Could someone please tell me, what variable to I use to see what t_relay() fowarding in its message?
Thank you, -Steve
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
Hello,
before t_relay() you can't see what is going to the network, because some headers are added when knowing target address and local socket (e.g, Via, Record-Route). You can use onsend_route for seeing the request just before writing to the network.
https://www.kamailio.org/wiki/cookbooks/devel/core#onsend_route
$snd(buf) will give outgoing buffer -- for more see $sndfrom(...) and $sndto(...) vars.
Cheers, Daniel
On 09.02.18 11:24, Wilkins, Steve wrote:
Hi All,
Could someone please tell me, what variable to I use to see what t_relay() fowarding in its message?
Thank you,
-Steve
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users