[SR-Users] Rtpproxy didn't work

sgy nucsgy at 163.com
Sat Jun 3 14:49:30 CEST 2017


You are right. I try it and it works well, thank you!



--

Best Regards,
Shengy



At 2017-06-03 20:44:42, "Fred Posner" <fred at 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 at 163.com
>> <mailto:nucsgy at 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 at lists.kamailio.org
>https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20170603/b13f2820/attachment.html>


More information about the sr-users mailing list