<div dir="ltr">We have run into similar situations where transport changes. The most common reason that we have found is due to non-explicit transport. We have implemented explicit setting of transport in the contact / record-route to make sure that transport is honored. If there is no transport, the RFC says that UDP should be used.<div>
<br></div><div>Some examples:<br><div><br></div><div>add_rr_param(";transport=$pr");<br></div><div><br></div><div style>and</div><div style><br></div><div>search_append("Contact:.*sip:[^>[:cntrl:]]*", ";transport=tls");<br>
</div><div><br></div><div style>These are just some examples, you will of course need to play around with your config based on your needs and logic.</div><div style><br></div></div></div><div class="gmail_extra"><br clear="all">
<div><br>-dg</div>
<br><br><div class="gmail_quote">On Wed, Mar 6, 2013 at 8:47 AM, Chris Martineau <span dir="ltr"><<a href="mailto:chris@ghosttelecom.com" target="_blank">chris@ghosttelecom.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-GB" link="blue" vlink="purple">
<div>
<p class="MsoNormal">Hi,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I have configured an incoming TLS service from the client which is working fine.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Opensips converts it to UPD and feeds it to some freeswitch servers.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">All works okay until cleardown, whereby if the far end clears, the BYE message is not converted from UDP back to TLS.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Should opensips remember the dialog path in this instance and route the BYE back over TLS or do I have to create a route in the config to handle this?<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">If I have to create a route how do identify the BYE as needing to be returned over TLS? I have mixed calls on the server, some tls some udp and the udp works fine.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Any examples would be great.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I am on 1.6.4.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Regards<span class="HOEnZb"><font color="#888888"><u></u><u></u></font></span></p><span class="HOEnZb"><font color="#888888">
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Chris<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
</font></span></div>
</div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>