[OpenSIPS-Users] no TLS client domain found error

Ahmed Rehan ahmed.rehan at gmail.com
Tue May 17 19:19:37 UTC 2022

Hello Jehanzeb
You need to add your own domain name as client domain and server domain as
well . There will be two set of entries for tls_mgm , one set of entries
will be client_domain and one set of entries will be for Server_domain

Its flow is like , when an options is sent to MS servers, opensips is
acting as a client , and when a reply is sent from MS servers Opensips will
act as a server for your domain name

hope it clears

On Tue, May 17, 2022 at 6:32 PM Jehanzaib Younis <jehanzaib.kiani at gmail.com>

> Hi,
> I am having trouble to send/receive OPTIONS to ms teams.
> Using the dispatcher module. The socket is defined as tls:*mysbcip*:5061
> Looks like when my opensips (3.2.x) tries to send OPTIONS. it is giving me
> the following error
> ERROR:proto_tls:proto_tls_conn_init: no TLS client domain found
> ERROR:core:tcp_conn_create: failed to do proto 3 specific init for conn
> 0x7f00ef2a85a0
> ERROR:core:tcp_async_connect: tcp_conn_create failed
> ERROR:proto_tls:proto_tls_send: async TCP connect failed
> ERROR:tm:msg_send: send() to for proto tls/3 failed
> ERROR:tm:t_uac: attempt to send to 'sip:sip3.pstnhub.microsoft.com:5061;transport:tls'
> failed
> I am setting the Contact as <sip:mytlsdomain:5061;transport=tls>
> Looks like the client domain is used for outgoing TLS connection but no
> idea which domain i need to add here. The socket is my opensips ip address.
> Has anyone seen a similar kind of behaviour?
> Thank you.
> Regards,
> Jehanzaib
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Ahmed Rehan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20220518/7560d597/attachment.html>

More information about the Users mailing list