And if you don't want to force the socket, set the address as below: sip:[IP|FQDN];transport=tls And then here's no need to force the socket.
Hope this helps! -ovidiu On Mon, Mar 30, 2020 at 1:34 PM Ovidiu Sas <o...@voipembedded.com> wrote: > > Forcing the socket is enough. You don’t need to set sips in address column. > > -ovidiu > > On Mon, Mar 30, 2020 at 05:23 Jacek Konieczny <jaj...@jajcus.net> wrote: >> >> On 30.03.2020 09:53, Jacek Konieczny wrote: >> > Is there any known way to use drouting with TLS and with automated >> > gateway probing/disabling? >> >> After peeking into the source code and more trial and error I found a >> way. And I have tried a lot before sending my previous mail too. >> >> I had to add 'sips:' prefix to the 'address' column of the 'dr_gateways' >> table *and* to set the 'socket' field there (otherwise opensips would >> fail with 'ERROR:core:get_out_socket: no socket found'). >> >> I would prefer not to have any socket addresses in that database (I >> would keep that in the server configuration), but I can live with it. >> >> I find this quite confusing and documentation lacking a bit. >> >> Jacek >> >> _______________________________________________ >> Users mailing list >> Users@lists.opensips.org >> http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > -- > VoIP Embedded, Inc. > http://www.voipembedded.com -- VoIP Embedded, Inc. http://www.voipembedded.com _______________________________________________ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users