[OpenSIPS-Users] tls -> udp

Johan De Clercq Johan at democon.be
Fri Mar 8 04:07:14 EST 2019


Thanks for the additional clarification Bogdan.

Op do 7 mrt. 2019 om 10:48 schreef Bogdan-Andrei Iancu <bogdan at opensips.org
>:

> Hi John,
>
> For (2), there is nothing special you need to do - the double_rr is by
> default enabled and you just need to do record_route() - opensips is
> automatically figure out that there is a protocol changing and do a
> double RR headers.
>
> Regarding (1) and (3) - the proto info in RURI/destination is overriding
> the info in forced socket - if you have a explicit UDP destination, but
> a TLS socket forced, the socket will be discarded and a proper one (UDP)
> will be found.
>
> Shortly said, you need only (1).
>
> Regards,
>
> Bogdan-Andrei Iancu
>
> OpenSIPS Founder and Developer
>    https://www.opensips-solutions.com
> OpenSIPS Summit 2019
>    https://www.opensips.org/events/Summit-2019Amsterdam/
>
> On 02/13/2019 11:15 AM, John Quick wrote:
> > Hi Johan,
> >
> > I've configured Proxy servers to do this a few times.
> > You should do the following:
> > 1) For Requests going from TLS to UDP, change any occurrence of
> > "transport=tls" in the R-URI parameters. I use the following to do this:
> > subst_uri('/transport=tls/transport=udp/I');
> >
> > 2) Make sure OpenSIPS adds correct Record-Route headers.
> > Default behaviour in this case is to add 2 RR headers when you call
> > record_route(). Make sure double_rr has not been disabled in the modparam
> > section.
> > One header describes the TLS socket and the other header describes the
> UDP
> > socket. These are needed for sequential Loose-Routed requests later in
> the
> > dialogue.
> >
> > 3) Just before you relay the request over UDP, call the
> force_send_socket()
> > function. For example:
> > force_send_socket(udp:12.34.56.78:5060);
> >
> > Hope this helps.
> >
> > John Quick
> > Smartvox Limited
> >
> >
> >
> > _______________________________________________
> > Users mailing list
> > Users at lists.opensips.org
> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20190308/e4eb5884/attachment.html>


More information about the Users mailing list