[OpenSIPS-Users] Dynamic Routing and TLS

Ovidiu Sas osas at voipembedded.com
Mon Mar 30 17:34:59 EST 2020


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 <jajcus at 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 at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
-- 
VoIP Embedded, Inc.
http://www.voipembedded.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20200330/ba3e6766/attachment.html>


More information about the Users mailing list