<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial, helvetica, sans-serif;font-size:10pt"><div>Hi,</div><div><br></div><div>Thanks for the fast answer, I have gnutls-2.10.0 and twisted 11.0.0.</div><div><br></div><div>Liviu</div><div style="font-family:arial, helvetica, sans-serif;font-size:10pt"><br><div style="font-family:arial, helvetica, sans-serif;font-size:10pt"><font size="2" face="Tahoma"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Saúl Ibarra Corretgé <saul@ag-projects.com><br><b><span style="font-weight: bold;">To:</span></b> OpenSIPS users mailling list <users@lists.opensips.org><br><b><span style="font-weight: bold;">Sent:</span></b> Wed, May 25, 2011 3:53:53 PM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [OpenSIPS-Users] media-dispatcher and media relay connection problem<br></font><br>
Hi,<br><br>On May 25, 2011, at 2:36 PM, Barsan Liviu wrote:<br><br>> Hello,<br>> <br>> I installed OpenSIPs and MediaProxy in order to have a far-end NAT traversal solution, unfortunately the server isn't stable, I can speak from one Blink client to another few times, but most of the time I can not call because media-relay and media proxy can not connect, I see in the logs the following error:<br>> <br>> May 25 10:43:16 P4025 media-dispatcher[2517]: Starting MediaProxy Dispatcher 2.4.4<br>> May 25 10:43:17 P4025 media-dispatcher[2517]: using set_wakeup_fd<br>> May 25 10:43:17 P4025 media-dispatcher[2517]: Twisted is using epollreactor<br>> May 25 10:43:17 P4025 media-dispatcher[2517]: mediaproxy.dispatcher.RelayFactory starting on 25060<br>> May 25 10:43:17 P4025 media-dispatcher[2517]: mediaproxy.dispatcher.OpenSIPSControlFactory starting on "'/tmp/dispatcher.sock'"<br>> May 25 10:43:17 P4025 media-dispatcher[2517]:
mediaproxy.dispatcher.ManagementControlFactory starting on 25061<br>> May 25 10:43:24 P4025 media-dispatcher[2517]: debug: Connection from relay at 80.97.161.39<br>> May 25 10:43:24 P4025 media-dispatcher[2517]: debug: Issuing "sessions" command to relay at 80.97.161.39<br>> May 25 10:43:24 P4025 media-relay[2493]: error: Could not connect to dispatcher at 80.97.161.39:25060 (retrying in 10 seconds): An unexpected TLS packet was received.<br>> May 25 10:43:24 P4025 media-dispatcher[2517]: error: Connection with relay at 80.97.161.39 was lost: Rehandshake was requested by the peer.<br>> May 25 10:43:24 P4025 media-dispatcher[2517]: error: Unhandled error in Deferred:<br>> May 25 10:43:24 P4025 media-dispatcher[2517]: RelayError: Relay at 80.97.161.39 disconnected<br>> <br>> This error I see even if just media-relay and media-dispatcher are started, opensips not.<br>> This is the only error, the opensipsctl ul show display two
registered blink clients and no other problems in logs.<br>> <br>> And here are my server settings:<br>> <br>> - Ubuntu 10.04 with public IP<br>> - iptables loaded for media relay with sudo modprobe ip_tables<br>> - OpenSIPs - opensips-1.6.4-2-tls and MediaProxy 2.4.4<br>> - MediaProxy tls dir copied to /etc/mediaproxy/tls<br>> <br><br>What version of python-gnutls and twisted are you running?<br><br>--<br>Saúl Ibarra Corretgé<br>AG Projects<br><br><br><br><br>_______________________________________________<br>Users mailing list<br><a ymailto="mailto:Users@lists.opensips.org" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br><span><a target="_blank" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a></span><br></div></div><div style="position:fixed"></div>
</div></body></html>