<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi All,<div class=""><br class=""></div><div class="">Is there an equivalent to corex's send_tcp (<a href="https://kamailio.org/docs/modules/5.2.x/modules/corex.html#corex.f.send_tcp" class="">https://kamailio.org/docs/modules/5.2.x/modules/corex.html#corex.f.send_tcp</a>) for TLS? </div><div class=""><br class=""></div><div class="">I have a bit of an odd edge case where I can't add Via headers etc, and send_udp and send_tcp allow me to achieve what I want, but it doesn't seem to have a means of doing the same with TLS? </div><div class=""><br class=""></div><div class="">Essentially I want to transparently proxy what is received by Kamailio on one interface to a TLS connection e.g. </div><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space: pre;">      </span>A = (TCP) => Kamailio = (TLS) => Remote Host </div><div class=""><br class=""></div><div class="">(A) in this instance is already setting a Via header of the Kamailio's external IP and transport tis. I appreciate this is a non-standard way of doing it, but (A) is a black box that I can't change, what I'm essentially trying to do is have Kamailio handle the TLS but essentially (A) thinks it's at the edge.</div><div class=""><br class=""></div><div class="">I can make it work with send_tcp for a standard TCP connection, but if I use t_relay or even forward() to send onwards by TLS then Kamailio obviously adds its own headers as you'd expect.</div><div class=""><br class=""></div><div class="">Ross</div></body></html>