<div dir="ltr">Maybe need to move into more global changes...<div><br></div><div>How about DNS hostname usage for all headers?</div><div>"Via", "Record-Route" maybe "Contact" when Kamailio with extra modules play media?</div><div><br></div><div>how about global directive like</div><div><font color="#0000ff">header_with_hostname=tue</font></div><div><br></div><div>Sergey</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Feb 11, 2021 at 10:44 AM Olle E. Johansson <<a href="mailto:oej@edvina.net">oej@edvina.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
<br>
> On 10 Feb 2021, at 21:01, Juha Heinanen <<a href="mailto:jh@tutpro.com" target="_blank">jh@tutpro.com</a>> wrote:<br>
> <br>
> When request is sent from Kamailio to MS Teams SIP Proxy, the top R-R<br>
> URI needs to contain FQDN of Kamailio SIP proxy instead of its IP<br>
> address.  Document<br>
> <br>
>  <a href="https://skalatan.de/de/blog/kamailio-sbc-teams" rel="noreferrer" target="_blank">https://skalatan.de/de/blog/kamailio-sbc-teams</a><br>
> <br>
> suggest to replace record_route(); call with<br>
> <br>
>  record_route_preset("SBC-DNS-DOMAIN:5061;transport=tls", "SBC-IP-ADDR:5060");<br>
> <br>
> That works only in a very simple case where the request came in over UDP<br>
> or TCP and SIP Proxy has only one listening address, i.e., SBC-IP-ADDR.<br>
> <br>
> One way to solve the problem might be a new r_r function that would take<br>
> FQDN of the top R-R URI as argument or introduction of a pv from where<br>
> the current record_route() function would take the FQDN if it has been<br>
> set.<br>
> <br>
> Any comments or other solutions?<br>
<br>
This is needed for all TLS rr’s since we need to vallidate the cert <br>
with the FQDN.<br>
<br>
/O<br>
_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div>