<!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>&nbsp;</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>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Feb&nbsp; 2 15:34:28 cdg8-ser1 ser: WARNING: could 
not read from /dev/random (5)<BR>Feb&nbsp; 2 15:34:28 cdg8-ser1 ./ser[20970]: 
ERROR: send_rtpp_command: can't connect to RTP proxy<BR>Feb&nbsp; 2 15:34:28 
cdg8-ser1 ./ser[32404]: ERROR: send_rtpp_command: can't connect to RTP 
proxy<BR>Feb&nbsp; 2 15:34:28 cdg8-ser1 ./ser[32404]: WARNING: rtpp_test: can't 
get version of the RTP proxy<BR>Feb&nbsp; 2 15:34:28 cdg8-ser1 ./ser[32404]: 
WARNING: rtpp_test: support for RTP proxyhas been disabled 
temporarily<BR>Feb&nbsp; 2 15:34:28 cdg8-ser1 ./ser[20970]: WARNING: rtpp_test: 
can't get version of the RTP proxy<BR>Feb&nbsp; 2 15:34:28 cdg8-ser1 
./ser[20970]: WARNING: rtpp_test: support for RTP proxyhas been disabled 
temporarily<BR>Feb&nbsp; 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>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>And the ps</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>USER&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PID %CPU 
%MEM&nbsp;&nbsp; VSZ&nbsp;&nbsp; RSS TT&nbsp;&nbsp; STAT 
STARTED&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TIME 
COMMAND<BR>ser&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 16586 99.0&nbsp; 0.5&nbsp; 
1744&nbsp; 2672 ??&nbsp; R&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
3:34PM&nbsp;&nbsp;&nbsp; 6:15.11 ./ser -P 
/var/run/ser.pid<BR>root&nbsp;&nbsp;&nbsp;&nbsp; 16613&nbsp; 0.0&nbsp; 
0.1&nbsp;&nbsp; 752&nbsp;&nbsp; 272 ??&nbsp; Ss&nbsp;&nbsp;&nbsp;&nbsp; 
3:33PM&nbsp;&nbsp;&nbsp; 0:00.01 ./rtpproxy -s 
/var/run/rtpproxy.sock</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>#./rtpproxy -v<BR>20040107<BR># ./ser 
-V<BR>version:&nbsp; 0.8.14 (i386/openbsd)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Nathelper config :</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</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>&nbsp;</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>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Thanks</DIV>
<DIV><BR></DIV></FONT>
<DIV><FONT face=Arial size=2>Christian</FONT></DIV></BODY></HTML>