<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1476" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hello,</FONT></DIV>
<DIV><FONT face=Arial size=2>I am struggling with rtpproxy and I would like some
help, because the documentation is rather scarce to be honest.</FONT></DIV>
<DIV><FONT face=Arial size=2>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).</FONT></DIV>
<DIV><FONT face=Arial size=2>I am not sure wether I have to force rtpproxy to
listen to a specific interface or not.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I launch rtpproxy rather basically with ./rtpproxy
-s /var/run/rtpproxy.sock</FONT></DIV>
<DIV><FONT face=Arial size=2>Then I launch ser, it spawns some process and then
run into race condition (see ps -aux below)</FONT></DIV>
<DIV><FONT face=Arial size=2>Here is log file :</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Feb 2 15:34:28 cdg8-ser1 ser: WARNING: could
not read from /dev/random (5)<BR>Feb 2 15:34:28 cdg8-ser1 ./ser[20970]:
ERROR: send_rtpp_command: can't connect to RTP proxy<BR>Feb 2 15:34:28
cdg8-ser1 ./ser[32404]: ERROR: send_rtpp_command: can't connect to RTP
proxy<BR>Feb 2 15:34:28 cdg8-ser1 ./ser[32404]: WARNING: rtpp_test: can't
get version of the RTP proxy<BR>Feb 2 15:34:28 cdg8-ser1 ./ser[32404]:
WARNING: rtpp_test: support for RTP proxyhas been disabled
temporarily<BR>Feb 2 15:34:28 cdg8-ser1 ./ser[20970]: WARNING: rtpp_test:
can't get version of the RTP proxy<BR>Feb 2 15:34:28 cdg8-ser1
./ser[20970]: WARNING: rtpp_test: support for RTP proxyhas been disabled
temporarily<BR>Feb 2 15:34:28 cdg8-ser1 ./ser[147]: ERROR:
send_rtpp_command: can't connect to RTP proxy<BR>...</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>And the ps</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>USER PID %CPU
%MEM VSZ RSS TT STAT
STARTED TIME
COMMAND<BR>ser 16586 99.0 0.5
1744 2672 ?? R
3:34PM 6:15.11 ./ser -P
/var/run/ser.pid<BR>root 16613 0.0
0.1 752 272 ?? Ss
3:33PM 0:00.01 ./rtpproxy -s
/var/run/rtpproxy.sock</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>#./rtpproxy -v<BR>20040107<BR># ./ser
-V<BR>version: 0.8.14 (i386/openbsd)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Nathelper config :</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>#-------------- nathelper
parameters<BR>modparam("nathelper", "natping_interval",
30)<BR>modparam("nathelper", "ping_nated_only", 1)<BR>modparam("nathelper",
"rtpproxy_sock", "/var/run/rtpproxy.sock")</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Could it be that ser running as ser user cannot
read the rtpproxy socket (running as root) ?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks</DIV>
<DIV><BR></DIV></FONT>
<DIV><FONT face=Arial size=2>Christian</FONT></DIV></BODY></HTML>