<div dir="ltr"><div style>Muhammad Shahzad,</div><div style>I tried your solution and now can establish connection between clients via udp. But TLS is problem. </div><div style>Here is problematic part of log:</div><div><br>
</div><div><br></div><div><br></div><div>SIP/2.0 100 Giving a try</div><div>Via: SIP/2.0/TLS 10.78.90.72:52829;received=89.216.yy.yy;rport=36024;branch=z9hG4bK750366181</div><div>From: &lt;sip:1006@89.216.xx.xx&gt;;tag=1190324263</div>
<div>To: &lt;sip:1005@89.216.xx.xx&gt;</div><div>Call-ID: <a href="mailto:22475986@10.78.90.72">22475986@10.78.90.72</a></div><div>CSeq: 401 INVITE</div><div>Server: OpenSIPS (1.9.1-tls (x86_64/linux))</div><div>Content-Length: 0</div>
<div><br></div><div><br></div><div>Jun  7 09:47:25 [2564] DBG:tm:_reply_light: reply sent out. buf=0x7f56c69f7fc8: SIP/2.0 1..., shmem=0x7f56b38faf40: SIP/2.0 1</div><div>Jun  7 09:47:25 [2564] DBG:tm:_reply_light: finished</div>
<div>Jun  7 09:47:25 [2564] DBG:core:buf_init: initializing...</div><div>new branch at sip:1005@10.78.90.72:50753;transport=tcp</div><div>Jun  7 09:47:25 [2564] DBG:core:mk_proxy: doing DNS lookup...</div><div>Jun  7 09:47:25 [2564] DBG:core:get_send_socket: force_send_socket of different proto (2)!</div>
<div>Jun  7 09:47:25 [2564] WARNING:core:get_send_socket: protocol/port mismatch</div><div>Jun  7 09:47:25 [2564] DBG:core:parse_headers: flags=2000</div><div>Jun  7 09:47:25 [2564] DBG:core:build_req_buf_from_sip_req: id added: &lt;;i=a&gt;, rcv proto=3</div>
<div>Jun  7 09:47:25 [2564] DBG:core:tcp_send: no open tcp connection found, opening new one</div><div>Jun  7 09:47:25 [2564] DBG:core:probe_max_sock_buff: getsockopt: snd is initially 16384</div><div>Jun  7 09:47:25 [2564] DBG:core:probe_max_sock_buff: trying : 32768</div>
<div>Jun  7 09:47:25 [2564] DBG:core:probe_max_sock_buff: setting snd: set=32768,verify=65536</div><div>Jun  7 09:47:25 [2564] DBG:core:probe_max_sock_buff: trying : 65536</div><div>Jun  7 09:47:25 [2564] DBG:core:probe_max_sock_buff: setting snd: set=65536,verify=131072</div>
<div>Jun  7 09:47:25 [2564] DBG:core:probe_max_sock_buff: trying : 131072</div><div><br></div></div>