[OpenSIPS-Users] media-dispatcher and media relay connection problem
Saúl Ibarra Corretgé
saul at ag-projects.com
Wed May 25 14:53:53 CEST 2011
Hi,
On May 25, 2011, at 2:36 PM, Barsan Liviu wrote:
> Hello,
>
> 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:
>
> May 25 10:43:16 P4025 media-dispatcher[2517]: Starting MediaProxy Dispatcher 2.4.4
> May 25 10:43:17 P4025 media-dispatcher[2517]: using set_wakeup_fd
> May 25 10:43:17 P4025 media-dispatcher[2517]: Twisted is using epollreactor
> May 25 10:43:17 P4025 media-dispatcher[2517]: mediaproxy.dispatcher.RelayFactory starting on 25060
> May 25 10:43:17 P4025 media-dispatcher[2517]: mediaproxy.dispatcher.OpenSIPSControlFactory starting on "'/tmp/dispatcher.sock'"
> May 25 10:43:17 P4025 media-dispatcher[2517]: mediaproxy.dispatcher.ManagementControlFactory starting on 25061
> May 25 10:43:24 P4025 media-dispatcher[2517]: debug: Connection from relay at 80.97.161.39
> May 25 10:43:24 P4025 media-dispatcher[2517]: debug: Issuing "sessions" command to relay at 80.97.161.39
> 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.
> 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.
> May 25 10:43:24 P4025 media-dispatcher[2517]: error: Unhandled error in Deferred:
> May 25 10:43:24 P4025 media-dispatcher[2517]: RelayError: Relay at 80.97.161.39 disconnected
>
> This error I see even if just media-relay and media-dispatcher are started, opensips not.
> This is the only error, the opensipsctl ul show display two registered blink clients and no other problems in logs.
>
> And here are my server settings:
>
> - Ubuntu 10.04 with public IP
> - iptables loaded for media relay with sudo modprobe ip_tables
> - OpenSIPs - opensips-1.6.4-2-tls and MediaProxy 2.4.4
> - MediaProxy tls dir copied to /etc/mediaproxy/tls
>
What version of python-gnutls and twisted are you running?
--
Saúl Ibarra Corretgé
AG Projects
More information about the Users
mailing list