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:[email protected]<sip%[email protected]>T=
sip:[email protected]
<sip%[email protected]>IP=192.168.1.101
ID=4346894F676048F0918F8B9D9C398F470xc0a80164
r...@voipbiznet:/home/amjad# NAT-Reply - S=183 D=Session Progress F=
sip:[email protected] <sip%[email protected]> T=
sip:[email protected]
<sip%[email protected]>IP=192.168.1.101
ID=4346894F676048F0918F8B9D9C398F470xc0a80164
New request - M=REGISTER RURI=sip:192.168.1.2
F=sip:[email protected]<sip%[email protected]>T=
sip:[email protected] <sip%[email protected]> IP=192.168.1.101
ID=7594792B0BEB4755AEC8DF5B0AE9F5DF0xc0a80165
Register authentication failed - M=REGISTER RURI=sip:192.168.1.2 F=
sip:[email protected] <sip%[email protected]> T=
sip:[email protected] <sip%[email protected]> IP=192.168.1.101
ID=7594792B0BEB4755AEC8DF5B0AE9F5DF0xc0a80165
New request - M=REGISTER RURI=sip:192.168.1.2
F=sip:[email protected]<sip%[email protected]>T=
sip:[email protected] <sip%[email protected]> IP=192.168.1.101
ID=7594792B0BEB4755AEC8DF5B0AE9F5DF0xc0a80165
Registration successful - M=REGISTER RURI=sip:192.168.1.2 F=
sip:[email protected] <sip%[email protected]> T=
sip:[email protected] <sip%[email protected]> IP=192.168.1.101
ID=7594792B0BEB4755AEC8DF5B0AE9F5DF0xc0a80165
NAT-Reply - S=183 D=Session Progress
F=sip:[email protected]<sip%[email protected]>T=
sip:[email protected]
<sip%[email protected]>IP=192.168.1.101
ID=4346894F676048F0918F8B9D9C398F470xc0a80164
r...@voipbiznet:/home/amjad# NAT-Reply - S=200 D=OK F=
sip:[email protected] <sip%[email protected]> T=
sip:[email protected]
<sip%[email protected]>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:[email protected]<sip%[email protected]>T=
sip:[email protected]
<sip%[email protected]>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:[email protected]<sip%[email protected]>T=
sip:[email protected]
<sip%[email protected]>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:[email protected]<sip%[email protected]>T=
sip:[email protected]
<sip%[email protected]>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
_______________________________________________
Users mailing list
[email protected]
http://lists.rtpproxy.org/mailman/listinfo/users