Yes, exactly this way, just to exclude or include destination IP for topology hiding.
I am not sure that there is a way to do it via internal flags, because the event socket
for SREV_NET_DATA_OUT will be called from retransmission function in the tm module and in
this case you don't have sip_msg structure anymore.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/1150#issuecomment-307379548