[OpenSIPS-Users] No voice in mediaproxy 2.3.8

Jiang Jinke jiangjinke at gmail.com
Fri Mar 12 06:04:52 CET 2010


Dear All,

I'm having the following error with mediaproxyx 2.3.8, and all the call
will have no voice after running mediaproxy for a few days in a high
loading (40 calls) server.

I check the new mediaproxy with the same line in send, there is no
such getHost call.
Is this a fixed issue in the latest version ?
I haven't tried the new mediaproxy yet because I need to do some tests
to make sure it
will running fine in the production environment before upgrade.

Exception caught:

Mar 12 12:22:54 hkcn-p2 media-relay[3373]: --- <exception caught here> ---
Mar 12 12:22:54 hkcn-p2 media-relay[3373]:   File
"/usr/lib/python2.4/site-packages/Twisted-8.2.0-py2.4-linux-x86_64.egg/twisted/internet/udp.py",
line 126, in doRead
Mar 12 12:22:54 hkcn-p2 media-relay[3373]:
self.protocol.datagramReceived(data, addr)
Mar 12 12:22:54 hkcn-p2 media-relay[3373]:   File
"/usr/lib64/python2.4/site-packages/mediaproxy/mediacontrol.py", line
127, in datagramReceived
Mar 12 12:22:54 hkcn-p2 media-relay[3373]:     self.cb_func(host, port, data)
Mar 12 12:22:54 hkcn-p2 media-relay[3373]:   File
"/usr/lib64/python2.4/site-packages/mediaproxy/mediacontrol.py", line
184, in got_data
Mar 12 12:22:54 hkcn-p2 media-relay[3373]:
self.substream.send_data(self, data)
Mar 12 12:22:54 hkcn-p2 media-relay[3373]:   File
"/usr/lib64/python2.4/site-packages/mediaproxy/mediacontrol.py", line
264, in send_data
Mar 12 12:22:54 hkcn-p2 media-relay[3373]:     dest.listener.protocol.send(data)
Mar 12 12:22:54 hkcn-p2 media-relay[3373]:   File
"/usr/lib64/python2.4/site-packages/mediaproxy/mediacontrol.py", line
136, in send
Mar 12 12:22:54 hkcn-p2 media-relay[3373]:     host = self.transport.getHost()
Mar 12 12:22:54 hkcn-p2 media-relay[3373]: exceptions.AttributeError:
'NoneType' object has no attribute 'getHost'
Mar 12 12:22:54 hkcn-p2 media-relay[3373]: Traceback (most recent call last):
Mar 12 12:22:54 hkcn-p2 media-relay[3373]:   File
"/usr/lib/python2.4/site-packages/Twisted-8.2.0-py2.4-linux-x86_64.egg/twisted/python/log.py",
line 69, in callWithContext
Mar 12 12:22:54 hkcn-p2 media-relay[3373]:     return
context.call({ILogContext: newCtx}, func, *args, **kw)
Mar 12 12:22:54 hkcn-p2 media-relay[3373]:   File
"/usr/lib/python2.4/site-packages/Twisted-8.2.0-py2.4-linux-x86_64.egg/twisted/python/context.py",
line 59, in callWithContext
Mar 12 12:22:54 hkcn-p2 media-relay[3373]:     return
self.currentContext().callWithContext(ctx, func, *args, **kw)
Mar 12 12:22:54 hkcn-p2 media-relay[3373]:   File
"/usr/lib/python2.4/site-packages/Twisted-8.2.0-py2.4-linux-x86_64.egg/twisted/python/context.py",
line 37, in callWithContext
Mar 12 12:22:54 hkcn-p2 media-relay[3373]:     return func(*args,**kw)
Mar 12 12:22:54 hkcn-p2 media-relay[3373]:   File
"/usr/lib/python2.4/site-packages/Twisted-8.2.0-py2.4-linux-x86_64.egg/twisted/internet/epollreactor.py",
line 231, in _doReadOrWrite
Mar 12 12:22:54 hkcn-p2 media-relay[3373]:     why = selectable.doRead()

Regards,
Jinke Jiang



More information about the Users mailing list