Hello,
I am struggling with rtpproxy and I would like some
help, because the documentation is rather scarce to be honest.
I am running ser on an OpenBSD 3.3 box, with one
internal interface (192.168.x.x) and a public interface (62.x.x.x).
I am not sure wether I have to force rtpproxy to
listen to a specific interface or not.
I launch rtpproxy rather basically with ./rtpproxy
-s /var/run/rtpproxy.sock
Then I launch ser, it spawns some process and then
run into race condition (see ps -aux below)
Here is log file :
Feb 2 15:34:28 cdg8-ser1 ser: WARNING: could
not read from /dev/random (5)
Feb 2 15:34:28 cdg8-ser1 ./ser[20970]:
ERROR: send_rtpp_command: can't connect to RTP proxy
Feb 2 15:34:28
cdg8-ser1 ./ser[32404]: ERROR: send_rtpp_command: can't connect to RTP
proxy
Feb 2 15:34:28 cdg8-ser1 ./ser[32404]: WARNING: rtpp_test: can't
get version of the RTP proxy
Feb 2 15:34:28 cdg8-ser1 ./ser[32404]:
WARNING: rtpp_test: support for RTP proxyhas been disabled
temporarily
Feb 2 15:34:28 cdg8-ser1 ./ser[20970]: WARNING: rtpp_test:
can't get version of the RTP proxy
Feb 2 15:34:28 cdg8-ser1
./ser[20970]: WARNING: rtpp_test: support for RTP proxyhas been disabled
temporarily
Feb 2 15:34:28 cdg8-ser1 ./ser[147]: ERROR:
send_rtpp_command: can't connect to RTP proxy
...
And the ps
USER PID %CPU
%MEM VSZ RSS TT STAT
STARTED TIME
COMMAND
ser 16586 99.0 0.5
1744 2672 ?? R
3:34PM 6:15.11 ./ser -P
/var/run/ser.pid
root 16613 0.0
0.1 752 272 ?? Ss
3:33PM 0:00.01 ./rtpproxy -s
/var/run/rtpproxy.sock
#./rtpproxy -v
20040107
# ./ser
-V
version: 0.8.14 (i386/openbsd)
Nathelper config :
#-------------- nathelper
parameters
modparam("nathelper", "natping_interval",
30)
modparam("nathelper", "ping_nated_only", 1)
modparam("nathelper",
"rtpproxy_sock", "/var/run/rtpproxy.sock")
Could it be that ser running as ser user cannot
read the rtpproxy socket (running as root) ?
Thanks
Christian