[OpenSIPS-Users] Issues with mediaproxy-dispatcher

Dan Pascu dan at ag-projects.com
Wed Jul 1 10:29:48 CEST 2015


This exception cannot happen unless you modified the mediaproxy code yourself and made a mistake or if the python interpreter you use is seriously broken (unlikely).

On 25 Jun 2015, at 17:26, Koldo Aingeru Marcos Fernández wrote:

> Hi everyone,
> 
> we are starting to have some strange issues with mediaproxy. Our setup is kamailio 4.2 + mediaproxy 2.6.1 on CentOS 6.6.
> 
> Recently we have two incidents were the communication between the dispatcher and the relays (we got two of them, one in the same server) get lost, digging in the logs we see this:
> 
> Jun 25 13:07:22 kamailio media-dispatcher[14459]: session with call_id 0bc0a5274d9f0f325e5d975a38ffd56b at XXX.XXX.XXX.XXX:5060 from relay AAA.AAA.AAA.AAA did timeout
> Jun 25 13:07:22 kamailio media-dispatcher[14459]: Traceback (most recent call last):
> Jun 25 13:07:22 kamailio media-dispatcher[14459]:   File "/usr/lib64/python2.6/site-packages/twisted/internet/posixbase.py", line 614, in _doReadOrWrite
> Jun 25 13:07:22 kamailio media-dispatcher[14459]:     why = selectable.doRead()
> Jun 25 13:07:22 kamailio media-dispatcher[14459]:   File "/usr/lib64/python2.6/site-packages/gnutls/interfaces/twisted/__init__.py", line 79, in doRead
> Jun 25 13:07:22 kamailio media-dispatcher[14459]:     return tcp.Connection.doRead(self)
> Jun 25 13:07:22 kamailio media-dispatcher[14459]:   File "/usr/lib64/python2.6/site-packages/twisted/internet/tcp.py", line 214, in doRead
> Jun 25 13:07:22 kamailio media-dispatcher[14459]:     return self._dataReceived(data)
> Jun 25 13:07:22 kamailio media-dispatcher[14459]:   File "/usr/lib64/python2.6/site-packages/twisted/internet/tcp.py", line 220, in _dataReceived
> Jun 25 13:07:22 kamailio media-dispatcher[14459]:     rval = self.protocol.dataReceived(data)
> Jun 25 13:07:22 kamailio media-dispatcher[14459]:   File "/usr/lib64/python2.6/site-packages/twisted/protocols/basic.py", line 454, in dataReceived
> Jun 25 13:07:22 kamailio media-dispatcher[14459]:     self.lineReceived(line)
> Jun 25 13:07:22 kamailio media-dispatcher[14459]:   File "/usr/lib64/python2.6/site-packages/mediaproxy/dispatcher.py", line 239, in lineReceived
> Jun 25 13:07:22 kamailio media-dispatcher[14459]:     session.expire_time = time()
> Jun 25 13:07:22 kamailio media-dispatcher[14459]: TypeError: 'module' object is not callable
> Jun 25 13:07:22 kamailio media-dispatcher[14459]: error: Connection with relay at AAA.AAA.AAA.AAA was lost: 'module' object is not callable

--
Dan







More information about the Users mailing list