[SR-Users] Rtpproxy didn't work
Fred Posner
fred at palner.com
Sat Jun 3 14:44:42 CEST 2017
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
>
More information about the sr-users
mailing list