[OpenSIPS-Users] Error on mediaproxy

pjgonzalez pgonzalez at dgtec.net.do
Wed Jan 7 23:48:57 CET 2009


Hi every body, I’m trying to configure mediaproxy 2.3.1  with
opensips-1.4.3-notls 
I’ve installed the following dependency 

Centos 5.2 kernel 2.6.18-92.1.22.el5
python2.4
Twisted-8.2.0
gnutls-2.6.3
libgcrypt-1.4.3
libnetfilter_conntrack-0.0.99
libnfnetlink-0.0.39
python-application-1.0.9
python-cjson-1.0.5
python-gnutls-1.1.6
setuptools-0.6c9
zope.interface-3.3.0

when I run media-dispatcher all is ok but when  I run media-relay I get the
following exception.

Jan  2 12:17:08 <opensips ip> media-dispatcher[4518]: [-] Log opened.
Jan  2 12:17:08 <opensips ip> media-dispatcher[4518]: [-] Starting
MediaProxy Dispatcher 2.3.1
Jan  2 12:17:08 <opensips ip> media-dispatcher[4518]: [-] Twisted is using
selectreactor
Jan  2 12:17:08 <opensips ip> media-dispatcher[4518]: [-]
mediaproxy.dispatcher.RelayFactory starting on 25060
Jan  2 12:17:08 <opensips ip> media-dispatcher[4518]: [-]
mediaproxy.dispatcher.OpenSIPSControlFactory starting on
"'/var/run/proxydispatcher.sock'"
Jan  2 12:17:08 <opensips ip> media-dispatcher[4518]: [-]
mediaproxy.dispatcher.ManagementControlFactory starting on 25061
Jan  2 12:17:50 <opensips ip> media-dispatcher[4518]:
[mediaproxy.dispatcher.RelayFactory] Connection from relay at <opensips ip>
Jan  2 12:17:50 <opensips ip> media-dispatcher[4518]:
[mediaproxy.dispatcher.RelayFactory] Traceback (most recent call last):
Jan  2 12:17:50 <opensips ip> media-dispatcher[4518]:
[mediaproxy.dispatcher.RelayFactory]       File
"/usr/lib/python2.4/site-packages/Twisted-8.2.0-py2.4-linux-i686.egg/twisted/python/log.py",
line 69, in callWithContext
Jan  2 12:17:50 <opensips ip> media-dispatcher[4518]:
[mediaproxy.dispatcher.RelayFactory]         return
context.call({ILogContext: newCtx}, func, *args, **kw)
Jan  2 12:17:50 <opensips ip> media-dispatcher[4518]:
[mediaproxy.dispatcher.RelayFactory]       File
"/usr/lib/python2.4/site-packages/Twisted-8.2.0-py2.4-linux-i686.egg/twisted/python/context.py",
line 59, in callWithContext
Jan  2 12:17:50 <opensips ip> media-dispatcher[4518]:
[mediaproxy.dispatcher.RelayFactory]         return
self.currentContext().callWithContext(ctx, func, *args, **kw)
Jan  2 12:17:50 <opensips ip> media-dispatcher[4518]:
[mediaproxy.dispatcher.RelayFactory]       File
"/usr/lib/python2.4/site-packages/Twisted-8.2.0-py2.4-linux-i686.egg/twisted/python/context.py",
line 37, in callWithContext
Jan  2 12:17:50 <opensips ip> media-dispatcher[4518]:
[mediaproxy.dispatcher.RelayFactory]         return func(*args,**kw)
Jan  2 12:17:50 <opensips ip> media-dispatcher[4518]:
[mediaproxy.dispatcher.RelayFactory]       File
"/usr/lib/python2.4/site-packages/Twisted-8.2.0-py2.4-linux-i686.egg/twisted/internet/selectreactor.py",
line 146, in _doReadOrWrite
Jan  2 12:17:50 <opensips ip> media-dispatcher[4518]:
[mediaproxy.dispatcher.RelayFactory]         why = getattr(selectable,
method)()
Jan  2 12:17:50 <opensips ip> media-dispatcher[4518]:
[mediaproxy.dispatcher.RelayFactory]     --- <exception caught here> ---
Jan  2 12:17:50 <opensips ip> media-dispatcher[4518]:
[mediaproxy.dispatcher.RelayFactory]       File
"/usr/lib/python2.4/site-packages/Twisted-8.2.0-py2.4-linux-i686.egg/twisted/internet/tcp.py",
line 938, in doRead
Jan  2 12:17:50 <opensips ip> media-dispatcher[4518]:
[mediaproxy.dispatcher.RelayFactory]         transport = self.transport(skt,
protocol, addr, self, s, self.reactor)
Jan  2 12:17:50 <opensips ip> media-dispatcher[4518]:
[mediaproxy.dispatcher.RelayFactory]     exceptions.TypeError: __init__()
takes exactly 6 arguments (7 given)
Jan  2 12:18:00 <opensips ip> media-dispatcher[4518]:
[mediaproxy.dispatcher.RelayFactory] Connection from relay at <opensips ip>
Jan  2 12:18:00 <opensips ip> media-dispatcher[4518]:
[mediaproxy.dispatcher.RelayFactory] error: Connection to relay <opensips
ip> is already present, disconnecting
Could not connect to dispatcher at <opensips ip>:25060 (retrying in 10
seconds): A TLS packet with unexpected length was received.


-- 
View this message in context: http://n2.nabble.com/Error-on-mediaproxy-tp2125184p2125184.html
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.




More information about the Users mailing list