Hello!

2014-06-09 19:06 GMT+04:00 Richard Fuchs <rfuchs@sipwise.com>:

Hard to tell what the problem is without looking at the RTP traffic. The
log looks fine. The delay you mentioned could indicate that it might be
the kernel module that's misbehaving. Perhaps you can try the same thing
again, but without the iptables rules installed (and/or without the
kernel module loaded), and see if that makes a difference.

Richard, thank you. I believe the problem is related to the kernel module. Media flows smoothly without it. (Just have tried with no module loaded and no iptables' rules).
I have sent rtp dump to your email. May be you would have the time to check it. As the problem occurs on encrypted RTP (DTLS-SRTP) only, I suppose that 'glitched' media is  wrong encrypted or unencrypted payload for some unknown reason.

That's curious, perhaps something went wrong when compiling the kernel
module then? I have to admit that I have zero experience with rtpengine
on Red Hat myself.

However there were no errors during the module compilation:

$ MEDIAPROXY_VERSION="\"3.3.0.0\"" make
make -C /lib/modules/2.6.32-358.el6.x86_64/build M=/usr/src/rtpengine/kernel-module O=/lib/modules/2.6.32-358.el6.x86_64/build modules
make[1]: Entering directory `/usr/src/kernels/2.6.32-358.el6.x86_64'
  CC [M]  /usr/src/rtpengine/kernel-module/xt_MEDIAPROXY.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /usr/src/rtpengine/kernel-module/xt_MEDIAPROXY.mod.o
  LD [M]  /usr/src/rtpengine/kernel-module/xt_MEDIAPROXY.ko.unsigned
  NO SIGN [M] /usr/src/rtpengine/kernel-module/xt_MEDIAPROXY.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.32-358.el6.x86_64'

regards,
Alexey