[SR-Users] R-R to MS Teams Proxy

Sergey Safarov s.safarov at gmail.com
Thu Feb 11 09:30:31 CET 2021


Maybe need to move into more global changes...

How about DNS hostname usage for all headers?
"Via", "Record-Route" maybe "Contact" when Kamailio with extra modules
play media?

how about global directive like
header_with_hostname=tue

Sergey

On Thu, Feb 11, 2021 at 10:44 AM Olle E. Johansson <oej at edvina.net> wrote:

>
>
> > On 10 Feb 2021, at 21:01, Juha Heinanen <jh at tutpro.com> wrote:
> >
> > When request is sent from Kamailio to MS Teams SIP Proxy, the top R-R
> > URI needs to contain FQDN of Kamailio SIP proxy instead of its IP
> > address.  Document
> >
> >  https://skalatan.de/de/blog/kamailio-sbc-teams
> >
> > suggest to replace record_route(); call with
> >
> >  record_route_preset("SBC-DNS-DOMAIN:5061;transport=tls",
> "SBC-IP-ADDR:5060");
> >
> > That works only in a very simple case where the request came in over UDP
> > or TCP and SIP Proxy has only one listening address, i.e., SBC-IP-ADDR.
> >
> > One way to solve the problem might be a new r_r function that would take
> > FQDN of the top R-R URI as argument or introduction of a pv from where
> > the current record_route() function would take the FQDN if it has been
> > set.
> >
> > Any comments or other solutions?
>
> This is needed for all TLS rr’s since we need to vallidate the cert
> with the FQDN.
>
> /O
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20210211/bac63f8c/attachment.htm>


More information about the sr-users mailing list