<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial">You are right. I try it and it works well, thank you!<br><br><br><div style="position:relative;zoom:1">--<br><div>Best Regards,</div><div>Shengy</div><div style="clear:both"></div></div><div id="divNeteaseMailCard"></div><br><pre><br>At 2017-06-03 20:44:42, "Fred Posner" <fred@palner.com> wrote:
>If you're running natted, make sure you use the A flag for the public ip.
>
>rtpproxy -A PUBLICIP -F -l PRIVATEIP -s udp:localhost:7722
>
>--fred
>
>On 06/03/2017 07:21 AM, David Villasmil wrote:
>> Get rtpptoxy from their repo and compile it
>> On Sat, Jun 3, 2017 at 3:06 AM sgy <nucsgy@163.com
>> <mailto:nucsgy@163.com>> wrote:
>>
>>
>> I install rtpproxy and config as follow, but it didn't work, is my
>> config OK ?
>>
>> errorlog:
>> Jun 3 15:00:56 iZ2ze3uk97m2bfv681kyx4Z
>> /usr/local/sbin/kamailio[28971]: ERROR: rtpproxy [rtpproxy.c:2552]:
>> force_rtp_proxy(): *incorrect port 0 in reply from rtp proxy*
>> 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
>>
>>
>> My config:
>>
>> PUB_IP: public ip of kamailio
>> PVT_IP: private ip of kamailio
>>
>> 1. start rtpproxy
>> rtpproxy -l PUB -s udp:localhost:7722 -F
>>
>> 2. kamailio.cfg
>> #!define WITH_MYSQL
>> #!define WITH_AUTH
>> #!define WITH_ALIASDB
>> #!define WITH_USRLOCDB
>> #!define WITH_NAT
>>
>> listen=PVT_IP
>>
>> modparam("rtpproxy", "rtpproxy_sock", "udp:localhost:7722")
>>
>> --
>> Best Regards,
>> Shengy
>>
>
>
>_______________________________________________
>Kamailio (SER) - Users Mailing List
>sr-users@lists.kamailio.org
>https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
</pre></div><br><br><span title="neteasefooter"><p> </p></span>