[OpenSIPS-Users] media-relay error - operation not permitted

Saúl Ibarra Corretgé saul at ag-projects.com
Fri Feb 8 09:24:45 CET 2013


Hi Jeff,

On Feb 7, 2013, at 10:52 PM, Jeff Pyle wrote:

> Hello,
> 
> On a media relay from Mediaproxy 2.4.4, we've noticed a lot of errors like the following today:
> 
> media-relay[10351]: Traceback (most recent call last):
> media-relay[10351]:   File "/usr/lib/python2.5/site-packages/twisted/internet/udp.py", line 126, in doRead
> media-relay[10351]:     self.protocol.datagramReceived(data, addr)
> media-relay[10351]:   File "/usr/lib/pymodules/python2.5/mediaproxy/mediacontrol.py", line 130, in datagramReceived
> media-relay[10351]:     self.cb_func(host, port, data)
> media-relay[10351]:   File "/usr/lib/pymodules/python2.5/mediaproxy/mediacontrol.py", line 226, in got_data
> media-relay[10351]:     self.substream.send_data(self, data, is_stun)
> media-relay[10351]:   File "/usr/lib/pymodules/python2.5/mediaproxy/mediacontrol.py", line 311, in send_data
> media-relay[10351]:     dest.listener.protocol.send(data, is_stun)
> media-relay[10351]:   File "/usr/lib/pymodules/python2.5/mediaproxy/mediacontrol.py", line 159, in send
> media-relay[10351]:     self.transport.write(data, (ip, port))
> media-relay[10351]:   File "/usr/lib/python2.5/site-packages/twisted/internet/udp.py", line 155, in write
> media-relay[10351]:     return self.socket.sendto(datagram, addr)
> media-relay[10351]: error: (1, 'Operation not permitted')
> 
> Is there a limit within the OS that might cause this if media sessions exceeded a certain threshold?  It seems to happen around 500 calls.
> 

I have never seen this. The error you are getting is EPERM, which is kind of odd for UDP. Do you have any firewall on that machine?


Regards,

--
Saúl Ibarra Corretgé
AG Projects






More information about the Users mailing list