[RTPproxy Users] RTPproxy is not running
Khan
khansfriend at gmail.com
Tue Feb 10 20:59:47 PST 2009
Hello everyone,
I am new to VoIP technology, I 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")
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:16336380000 at voipbiznet.com<sip%3A16336380000 at voipbiznet.com>T=
sip:16336380005 at voipbiznet.com
<sip%3A16336380005 at voipbiznet.com>IP=192.168.1.101
ID=4346894F676048F0918F8B9D9C398F470xc0a80164
root at voipbiznet:/home/amjad# NAT-Reply - S=183 D=Session Progress F=
sip:16336380000 at voipbiznet.com <sip%3A16336380000 at voipbiznet.com> T=
sip:16336380005 at voipbiznet.com
<sip%3A16336380005 at voipbiznet.com>IP=192.168.1.101
ID=4346894F676048F0918F8B9D9C398F470xc0a80164
New request - M=REGISTER RURI=sip:192.168.1.2
F=sip:16336380005 at 192.168.1.2<sip%3A16336380005 at 192.168.1.2>T=
sip:16336380005 at 192.168.1.2 <sip%3A16336380005 at 192.168.1.2> IP=192.168.1.101
ID=7594792B0BEB4755AEC8DF5B0AE9F5DF0xc0a80165
Register authentication failed - M=REGISTER RURI=sip:192.168.1.2 F=
sip:16336380005 at 192.168.1.2 <sip%3A16336380005 at 192.168.1.2> T=
sip:16336380005 at 192.168.1.2 <sip%3A16336380005 at 192.168.1.2> IP=192.168.1.101
ID=7594792B0BEB4755AEC8DF5B0AE9F5DF0xc0a80165
New request - M=REGISTER RURI=sip:192.168.1.2
F=sip:16336380005 at 192.168.1.2<sip%3A16336380005 at 192.168.1.2>T=
sip:16336380005 at 192.168.1.2 <sip%3A16336380005 at 192.168.1.2> IP=192.168.1.101
ID=7594792B0BEB4755AEC8DF5B0AE9F5DF0xc0a80165
Registration successful - M=REGISTER RURI=sip:192.168.1.2 F=
sip:16336380005 at 192.168.1.2 <sip%3A16336380005 at 192.168.1.2> T=
sip:16336380005 at 192.168.1.2 <sip%3A16336380005 at 192.168.1.2> IP=192.168.1.101
ID=7594792B0BEB4755AEC8DF5B0AE9F5DF0xc0a80165
NAT-Reply - S=183 D=Session Progress
F=sip:16336380000 at voipbiznet.com<sip%3A16336380000 at voipbiznet.com>T=
sip:16336380005 at voipbiznet.com
<sip%3A16336380005 at voipbiznet.com>IP=192.168.1.101
ID=4346894F676048F0918F8B9D9C398F470xc0a80164
root at voipbiznet:/home/amjad# NAT-Reply - S=200 D=OK F=
sip:16336380000 at voipbiznet.com <sip%3A16336380000 at voipbiznet.com> T=
sip:16336380005 at voipbiznet.com
<sip%3A16336380005 at 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:16336380000 at voipbiznet.com<sip%3A16336380000 at voipbiznet.com>T=
sip:16336380005 at voipbiznet.com
<sip%3A16336380005 at 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:16336380000 at voipbiznet.com<sip%3A16336380000 at voipbiznet.com>T=
sip:16336380005 at voipbiznet.com
<sip%3A16336380005 at 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:16336380000 at voipbiznet.com<sip%3A16336380000 at voipbiznet.com>T=
sip:16336380005 at voipbiznet.com
<sip%3A16336380005 at 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!!!
Khan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rtpproxy.org/pipermail/users/attachments/20090210/0e00e1c7/attachment.html
More information about the Users
mailing list