Khan, Most likely there is some logical mistake in your routing script. The '0' reply from RTPproxy means that there is no such session in there. Possible cause of this is not invoking force_rtp_proxy on INVITE, I can only see 200 OK and 183 Session Progress in your log.
Khan wrote: > Hello everyone, > > I am new to VoIP technology, iI had a successful opensips running before > installing rtpproxy and making changes in opensips.cfg file. > > ### > modparam("nathelper", "natping_interval", 60) > modparam("nathelper", "ping_nated_only", 1) > modparam("nathelper", "rtpproxy_sock", "udp:127.0.0.1:8899 > <http://127.0.0.1:8899>") > modparam("nathelper", "force_socket", "udp:localhost:8899") > > modparam("nathelper", "rtpproxy_disable_tout", 60) > modparam("nathelper", "rtpproxy_tout", 1) > modparam("nathelper", "rtpproxy_retr", 5) > modparam("nathelper", "sipping_method", "OPTIONS") > modparam("nathelper", "received_avp", "$avp(i:801)") > ### > > I ran rtpproxy manually as follows: > > root# rtpproxy -f -l 192.168.1.2 -s udp:localhost:8899 & > > I tried to see if rtpproxy is running using following command > > # ps -ef |grep rtp > root 11570 5786 0 22:35 pts/0 00:00:00 rtpproxy -s > udp:127.0.0.1 8899 -f -l 192.168.1.2 > root 11583 5786 0 22:40 pts/0 00:00:00 grep rtp > > this is what i see, Im not sure if its running or not i see > rtpproxy.pid in /var/run directory but no rtpproxy.sock file. > > but when i make call, i get error of 407 proxy authentication faiure and > get the following dump: > > # NAT-Reply - S=183 D=Session Progress F=sip:16336380...@voipbiznet.com > <mailto:sip%3a16336380...@voipbiznet.com> > T=sip:16336380...@voipbiznet.com > <mailto:sip%3a16336380...@voipbiznet.com> IP=192.168.1.101 > ID=4346894F676048F0918F8B9D9C398F470xc0a80164 > > r...@voipbiznet:/home/amjad# NAT-Reply - S=183 D=Session Progress > F=sip:16336380...@voipbiznet.com > <mailto:sip%3a16336380...@voipbiznet.com> > T=sip:16336380...@voipbiznet.com > <mailto:sip%3a16336380...@voipbiznet.com> IP=192.168.1.101 > ID=4346894F676048F0918F8B9D9C398F470xc0a80164 > New request - M=REGISTER RURI=sip:192.168.1.2 > F=sip:16336380...@192.168.1.2 <mailto:sip%3a16336380...@192.168.1.2> > T=sip:16336380...@192.168.1.2 <mailto:sip%3a16336380...@192.168.1.2> > IP=192.168.1.101 ID=7594792B0BEB4755AEC8DF5B0AE9F5DF0xc0a80165 > Register authentication failed - M=REGISTER RURI=sip:192.168.1.2 > F=sip:16336380...@192.168.1.2 <mailto:sip%3a16336380...@192.168.1.2> > T=sip:16336380...@192.168.1.2 <mailto:sip%3a16336380...@192.168.1.2> > IP=192.168.1.101 ID=7594792B0BEB4755AEC8DF5B0AE9F5DF0xc0a80165 > New request - M=REGISTER RURI=sip:192.168.1.2 > F=sip:16336380...@192.168.1.2 <mailto:sip%3a16336380...@192.168.1.2> > T=sip:16336380...@192.168.1.2 <mailto:sip%3a16336380...@192.168.1.2> > IP=192.168.1.101 ID=7594792B0BEB4755AEC8DF5B0AE9F5DF0xc0a80165 > Registration successful - M=REGISTER RURI=sip:192.168.1.2 > F=sip:16336380...@192.168.1.2 <mailto:sip%3a16336380...@192.168.1.2> > T=sip:16336380...@192.168.1.2 <mailto:sip%3a16336380...@192.168.1.2> > IP=192.168.1.101 ID=7594792B0BEB4755AEC8DF5B0AE9F5DF0xc0a80165 > NAT-Reply - S=183 D=Session Progress F=sip:16336380...@voipbiznet.com > <mailto:sip%3a16336380...@voipbiznet.com> > T=sip:16336380...@voipbiznet.com > <mailto:sip%3a16336380...@voipbiznet.com> IP=192.168.1.101 > ID=4346894F676048F0918F8B9D9C398F470xc0a80164 > > r...@voipbiznet:/home/amjad# NAT-Reply - S=200 D=OK > F=sip:16336380...@voipbiznet.com > <mailto:sip%3a16336380...@voipbiznet.com> > T=sip:16336380...@voipbiznet.com > <mailto:sip%3a16336380...@voipbiznet.com> IP=192.168.1.101 > ID=4346894F676048F0918F8B9D9C398F470xc0a80164 > Feb 10 22:43:51 [6837] ERROR:nathelper:force_rtp_proxy2_f: incorrect > port 0 in reply from rtp proxy > NAT-Reply - S=200 D=OK F=sip:16336380...@voipbiznet.com > <mailto:sip%3a16336380...@voipbiznet.com> > T=sip:16336380...@voipbiznet.com > <mailto:sip%3a16336380...@voipbiznet.com> IP=192.168.1.101 > ID=4346894F676048F0918F8B9D9C398F470xc0a80164 > Feb 10 22:43:51 [6840] ERROR:nathelper:force_rtp_proxy2_f: incorrect > port 0 in reply from rtp proxy > NAT-Reply - S=200 D=OK F=sip:16336380...@voipbiznet.com > <mailto:sip%3a16336380...@voipbiznet.com> > T=sip:16336380...@voipbiznet.com > <mailto:sip%3a16336380...@voipbiznet.com> IP=192.168.1.101 > ID=4346894F676048F0918F8B9D9C398F470xc0a80164 > Feb 10 22:43:52 [6842] ERROR:nathelper:force_rtp_proxy2_f: incorrect > port 0 in reply from rtp proxy > NAT-Reply - S=200 D=OK F=sip:16336380...@voipbiznet.com > <mailto:sip%3a16336380...@voipbiznet.com> > T=sip:16336380...@voipbiznet.com > <mailto:sip%3a16336380...@voipbiznet.com> IP=192.168.1.101 > ID=4346894F676048F0918F8B9D9C398F470xc0a80164 > Feb 10 22:43:54 [6844] ERROR:nathelper:force_rtp_proxy2_f: incorrect > port 0 in reply from rtp proxy > > > I need to know what am I doing wrong here? Please help!!! Regards, -- Maksym Sobolyev Sippy Software, Inc. Internet Telephony (VoIP) Experts T/F: +1-646-651-1110 Web: http://www.sippysoft.com MSN: sa...@sippysoft.com Skype: SippySoft _______________________________________________ Users mailing list Users@rtpproxy.org http://lists.rtpproxy.org/mailman/listinfo/users