Get rtpptoxy from their repo and compile it<br><div class="gmail_quote"><div dir="ltr">On Sat, Jun 3, 2017 at 3:06 AM sgy <<a href="mailto:nucsgy@163.com">nucsgy@163.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div style="line-height:1.7"><div style="color:rgb(0,0,0);font-family:Arial;font-size:14px"><br></div><div style="color:rgb(0,0,0);font-family:Arial;font-size:14px">I install rtpproxy and config as follow, but it didn't work, is my config OK ? </div><div style="color:rgb(0,0,0);font-family:Arial;font-size:14px"><br></div></div></div><div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div style="line-height:1.7"><div style="color:rgb(0,0,0);font-family:Arial;font-size:14px">errorlog:</div><div><div>Jun  3 15:00:56 iZ2ze3uk97m2bfv681kyx4Z /usr/local/sbin/kamailio[28971]: ERROR: rtpproxy [rtpproxy.c:2552]: force_rtp_proxy(): <b>incorrect port 0 in reply from rtp proxy</b></div><div>Jun  3 15:00:58 iZ2ze3uk97m2bfv681kyx4Z /usr/local/sbin/kamailio[28971]: ERROR: rtpproxy [rtpproxy.c:2552]: force_rtp_proxy(): incorrect port 0 in reply from rtp proxy</div></div></div></div><div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div style="line-height:1.7"><div style="color:rgb(0,0,0);font-family:Arial;font-size:14px"><br></div><div style="color:rgb(0,0,0);font-family:Arial;font-size:14px"><br></div><div style="color:rgb(0,0,0);font-family:Arial;font-size:14px">My config: </div><div style="color:rgb(0,0,0);font-family:Arial;font-size:14px"><br></div><div style="color:rgb(0,0,0);font-family:Arial;font-size:14px">PUB_IP:  public ip of kamailio</div><div style="color:rgb(0,0,0);font-family:Arial;font-size:14px">PVT_IP: private ip of kamailio</div><div style="color:rgb(0,0,0);font-family:Arial;font-size:14px"><br></div><div style="color:rgb(0,0,0);font-family:Arial;font-size:14px">1. start rtpproxy</div><div style="color:rgb(0,0,0);font-family:Arial;font-size:14px">rtpproxy -l PUB -s udp:localhost:7722 -F</div><br><div style="color:rgb(0,0,0);font-family:Arial;font-size:14px">2. kamailio.cfg</div><div style="color:rgb(0,0,0);font-family:Arial;font-size:14px"><div>#!define WITH_MYSQL</div><div>#!define WITH_AUTH</div><div>#!define WITH_ALIASDB</div><div>#!define WITH_USRLOCDB</div><div>#!define WITH_NAT</div></div><div style="color:rgb(0,0,0);font-family:Arial;font-size:14px"><br></div><div style="color:rgb(0,0,0);font-family:Arial;font-size:14px">listen=PVT_IP</div><div style="color:rgb(0,0,0);font-family:Arial;font-size:14px"><br></div><div style="color:rgb(0,0,0);font-family:Arial;font-size:14px">modparam("rtpproxy", "rtpproxy_sock", "udp:localhost:7722")</div><div style="color:rgb(0,0,0);font-family:Arial;font-size:14px"><br></div><div style="color:rgb(0,0,0);font-family:Arial;font-size:14px;zoom:1">--<br><div>Best Regards,</div><div>Shengy</div><div style="clear:both"></div></div></div></div><br><br><span title="neteasefooter"><p> </p></span>_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div>