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

Jeff Pyle jpyle at fidelityvoice.com
Fri Feb 8 22:08:55 CET 2013


Hi Muhammed,


On Fri, Feb 8, 2013 at 3:19 PM, Muhammad Shahzad <shaheryarkh at gmail.com>wrote:

> In my previous experience, i see this error due to one of following
> reasons.
>
> 1. The media ports you have specified in media proxy configuration
> overlaps some other service port range, e.g. in case you are running media
> proxy and asterisk on same machine and RTP port range of asterisk overlaps
> media proxy port range.
>

Asterisk is running on the same machine.

/etc/asterisk/rtp.conf contains:
  rtpstart=16384
  rtpend=20480

/etc/mediaproxy/config.ini contains:
  port_range = 20482:32768

Having said that, one relay machine does see more Asterisk activity than
the other.  Still it's activity is in the calls-per-minute range, not
calls-per-second.

2. Check dmesg, do you see this message or any relevant message from
> network stack or ethernet driver there?
>

No.  The last relevant line is:
  [   44.905812] ctnetlink v0.93: registering with nfnetlink.

Most "irrelevant" lines are promiscuous mode reports from my tshark
testing.  Otherwise,
  [40380457.905028] Machine check events logged

The machine's uptime is just over 500 days.


> 3. Check syslog and see if you get following message or something similar
> from nf_conntrack.
>
> nf_conntrack: table full, dropping packet
>

Nothing of the sort.

4. Check ulimit and selinux, but seems from your previous posts on this
> issue that they are fine.
>

ulimit is handled by the application itself I believe.  selinux has never
been configured.


> 5. Do you have any SNAT or Multicast related rule in iptables?
>

No.  There is no *nat table defined at all, only *mangle (to remark DSCP
EF) and *filter (basic INPUT security).  No mention of multicast anywhere.
 There is IPv6 but it's not used for this application.


Saúl,

I'd be happy to add a logging line, but I'm not familiar enough with Python
to know what to add where.  Guidance is welcome!



- Jeff
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20130208/6246f6bc/attachment.htm>


More information about the Users mailing list