Re: [SR-Users] User offline

2016-05-06 Thread ycaner
hello;     you can start rtpproxy like "rtpproxy -l 120.76.118.128 -s udp:127.0.0.1:7722 -F -m 1 -M 2 -d DBUG:LOG_DAEMON"  and check message log. After authantication ,  test only INVITE packets with nat_uac_client(8) , rtpproxy_manage can handl

Re: [SR-Users] User offline

2016-05-06 Thread 王欣鑫
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

Re: [SR-Users] User offline

2016-05-06 Thread 王欣鑫
Hello ycaner! Thank you very much! Now, what I think is maybe I should setup a rtpproxy server first, and then modify some configuration in pcscf.cfg and kamailio.cfg. But I will do a study into the reference you give me first. -- View this message in context: http://sip-router.1086192.n5.

Re: [SR-Users] User offline

2016-05-06 Thread ycaner
Hello; you can use rtpproxy or rtpengine. you need to search how to use on google. rtpproxy/rtpengine fixes sdp packets that has tons of flags and there is a lot of option on sdpops module to change it. for example; you can check with nat_uac_client(8) an

Re: [SR-Users] User offline

2016-05-06 Thread 王欣鑫
Hello,ycaner! Now I use a real IMS user data to register this user(for example 18616278715) to China Unicom's IMS through kamailio. I can register successsfully, and can make call using this number, the callee can pick up phone. However neither party can hear counter part. So, this should be

Re: [SR-Users] User offline

2016-05-05 Thread 王欣鑫
Hello,ycaner! Now I use a real IMS user data to register this user(for example 18616278715) to China Unicom's IMS through kamailio. I can register successsfully, and can make call using this number, the callee can pick up phone. However neither party can hear counter part. So, this should be rtp

Re: [SR-Users] User offline

2016-05-05 Thread 王欣鑫
Hello ycaner! I did as you told me and finally it worked! Here are my finall config files. hss_config.zip kamailio.zip Thank you very much!!! -- View

Re: [SR-Users] User offline

2016-05-05 Thread ycaner
Hello; at registration route , you can use nat traversal function , there is a sample on kamailio.cfg that parameter is just adding from and request header for information on OPTIONS packet. you can add your 120.XXX.XXX.XXX Cheers.

Re: [SR-Users] User offline

2016-05-05 Thread 王欣鑫
Hello,ycaner! Thanks for your advice! I searched nat_traversal in kamailio.cfg in PCSCF module, and found that I should define WITH_NATPING. After doing this, a new problem came. What does this line mean? What should I configure to replace "sip:keepalive@HOSTNAME" ? Is this HOSTNAME a turn/stun

Re: [SR-Users] User offline

2016-05-05 Thread 王欣鑫
Thanks for your reply! I found nat_traversal.so in /usr/local/lib64/kamailio/modules/ directory. But didn't find a switch in pcscf.cfg or kamailio.cfg. So how can I open nat_travesal module? -- View this message in context: http://sip-router.1086192.n5.nabble.com/User-offline-tp148166p148176

Re: [SR-Users] User offline

2016-05-05 Thread ycaner
hello; try to open nat_travesal module on registrar server. your analyz is right in my view. INVITE packets never reach to BOB. cheers. -- View this message in context: http://sip-router.1086192.n5.nabble.com/User-offline-tp148166p148175.html Sent from the Users mailing list archive at Nabble.

Re: [SR-Users] User offline

2016-05-05 Thread 王欣鑫
Is this a NAT issue? The network is like this: alice--192.168.199.214 company ip--116.228.89.198kamailio IMS(cloud server)--120.76.118.128 bob--192.168.199.124 I can see INVITE was sent from 116.228.89.198(company ip) to 120.76.118.128(kamailio IMS), then 120.76.118.128(kamailio IMS

Re: [SR-Users] User offline

2016-05-05 Thread 王欣鑫
Is this a NAT issue? The network is like this: alice--192.168.199.214 company ip--116.228.89.198kamailio IMS(cloud server)--120.76.118.128 bob--192.168.199.124 I can see INVITE was sent from 116.228.89.198(company ip) to 120.76.118.128(kamailio IMS), then 120.76.118.128(kamailio IMS

Re: [SR-Users] User offline

2016-05-05 Thread 王欣鑫
Is this a NAT issue? The network is like this: alice--192.168.199.214 company ip--116.228.89.198kamailio IMS(cloud server)--120.76.118.128 bob--192.168.199.124 I can see INVITE was sent from 116.228.89.198(alice) to 120.76.118.128(kamailio IMS), then 120.76.118.128(kamailio IMS) reply a

[SR-Users] User offline

2016-05-05 Thread 王欣鑫
Hello, I use kamailio set up an IMS on a cloud server in a public network, and have alice and bob registered on the server using ImsDroid in a private network. When I use alice to call bob, I got "User offline" error. Below are .pcap file captured from 4060 port and pcscf.log/icscf.log/scscf.lo