[SR-Users] User offline

王欣鑫 winer632 at qq.com
Fri May 6 12:14:13 CEST 2016


Hello ycaner!

I download rtpproxy-2.0-RC1.tar.gz from
https://github.com/winer632/rtpproxy/releases/tag/V2.0-RC1
and did the following command:

tar -xzvf rtpproxy-2.0-RC1.tar.gz
cd rtpproxy-2.0-RC1
./configure
make all
make install

Then I start rtpproxy with this command:

rtpproxy -l 120.76.118.128 -s udp:localhost:7722


Then I edit kamailio.cfg in PCSCF module like this(added this
line*loadmodule "rtpproxy"* and *modparam("rtpproxy", "rtpproxy_sock",
"udp:127.0.0.1:7722") * )


#!ifdef WITH_NAT
loadmodule "path"
loadmodule "rtpengine"
*loadmodule "rtpproxy"*
loadmodule "nathelper"
#!endif

#!ifdef WITH_NAT
# ----- rtpproxy-ng params -----
#modparam("rtpengine", "rtpengine_sock", RTPPROXY_ADDRESS)
#modparam("path", "use_received", 1)
*modparam("rtpproxy", "rtpproxy_sock", "udp:127.0.0.1:7722")*
#!endif


Next, I register a real number(18616278715) in China unicom's IMS , this
step was success.Then call another real number 18019398639, no phone
ringing, but failed with "Status-Line: SIP/2.0 407 Proxy Authentication
Required". Before I add rtpproxy, there is no 407 error. 

5060_unicom_407_error.pcap
<http://sip-router.1086192.n5.nabble.com/file/n148198/5060_unicom_407_error.pcap>  

 Before I add rtpproxy, I can hear the callee phone ringing, and the SIP
route is like this:

5060_unicom.pcap
<http://sip-router.1086192.n5.nabble.com/file/n148198/5060_unicom.pcap>  

Am I doing wrong with rtpproxy? Maybe the problem is not here?




--
View this message in context: http://sip-router.1086192.n5.nabble.com/User-offline-tp148166p148198.html
Sent from the Users mailing list archive at Nabble.com.



More information about the sr-users mailing list