What about TLS, i can establish the call using TLS, but audio not heard. TLS is also behind NAT. I can RTP packets from TLS client to Opensips. I believe RTP is Peer to peer.<br>But, in my setup, since asterisk doesn't support TLS/TCP, i forward the call to opensips for protocol switching to connect to TLS client.<br>
<br>I dono why audio is not heard. Is it also related to NAT. Do i need to change anything in opensips.cfg ?<br><br><div class="gmail_quote">On Thu, Jul 29, 2010 at 9:02 PM, Andrew Pogrebennyk <span dir="ltr"><<a href="mailto:andrew.pogrebennyk@portaone.com">andrew.pogrebennyk@portaone.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">On 29.07.2010 18:12, Bogdan-Andrei Iancu wrote:<br>
> oh yes, you need to use the nathelper module to fix the signalling - to<br>
> replace the private ips with public Ips in contact - during registration<br>
> and during calls..<br>
<br>
</div>IIRC UA which uses TCP behind NAT shall create connection to proxy<br>
and keep it forever. And proxy shall reuse this connection, instead<br>
of attempt to create new one. This means proxy shall maintain<br>
map of translation of registered AORs to current TCP (or SCTP)<br>
connections and pass requests to the connection which corresponds to<br>
this AOR. This is the implication of running the connection-aware<br>
protocols. As for the first part, many UAs do offer TCP connection<br>
keeping, as for second - I'd be surprised if OpenSIPS keeps the<br>
connections map. I didn't have a chance to try it though.<br>
<br>
--<br>
Sincerely,<br>
<font color="#888888">Andrew Pogrebennyk<br>
</font><div><div></div><div class="h5"><br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</div></div></blockquote></div><br>