[SR-Users] You must register first with a S-CSCF/Server error on LIR select next S-CSCF

2016-05-04 Thread
Hello, I'm using kamailio and OpenImsCore HSS module to set up an IMS enviroment(P/I/S-CSCF and HSS). All these four modules are set up in one cloud server in public network with different ports(4060/4061 5060 6060 3869 3870) to commonicate with each other. Now I have two users Alice and Bob, they

[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

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

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
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
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
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
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-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-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
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