Re: [OpenSIPS-Users] Have one registration contact per device in usrloc

2014-10-10 Thread Bogdan-Andrei Iancu
Hi, SIP registration has nothing to do with SIP presence. There are totally individual mechanisms in SIP. In presence, when a device starts publishing for the first time, it gets an etag (a unique id) that will identify the device+publisher. Regards, Bogdan-Andrei Iancu OpenSIPS Founder an

Re: [OpenSIPS-Users] Have one registration contact per device in usrloc

2014-10-09 Thread Yuming Zheng
Yes ,GRUU can solve this situation. So, is there any similar mechanism with presence info to only keep the latest presence status of the same register. BR, Frank.zheng 2014-10-09 18:32 GMT+08:00 Bogdan-Andrei Iancu : > Hi Jayesh, > > Maybe you should look into GRUU stuff ;). > > On the TCP err

Re: [OpenSIPS-Users] Have one registration contact per device in usrloc

2014-10-09 Thread Bogdan-Andrei Iancu
Hi Jayesh, Maybe you should look into GRUU stuff ;). On the TCP error - even if you set the TCP persistence flag, the UAC may close the TCP conn -> you end up in the same situation. What you can do is to prevent OpenSIPS to open TCP conns when routing to end-users - the idea is to have end-us

Re: [OpenSIPS-Users] Have one registration contact per device in usrloc

2014-10-08 Thread Jayesh Nambiar
Hello, Wanted to correct the message below: I had added fc1 in the save("location") after I got this problem to avoid more than one registration. Before adding fc1, i had this problem of TCP timeout. Sorry for the wrong info. --- Jayesh On Wed, Oct 8, 2014 at 8:01 PM, Jayesh Nambiar wrote: > Hi

Re: [OpenSIPS-Users] Have one registration contact per device in usrloc

2014-10-08 Thread Jayesh Nambiar
Hi Bogdan, So I thought of doing this and I have another problem. Say if a device registered from IP 1.2.3.4, and then moved out to different network and re-registered from IP 4.3.2.1, there is a stale registration lying in opensips for the same device from 1.2.3.4. Now when I use TCP as transport,

Re: [OpenSIPS-Users] Have one registration contact per device in usrloc

2014-10-08 Thread Bogdan-Andrei Iancu
Hi Jayesh, Basically you do not what to have more registrations from the same IP, right ? Exactly the opposit of the is_other_contact() function : http://www.opensips.org/html/docs/modules/1.11.x/registrar.html#id294660 Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.o

[OpenSIPS-Users] Have one registration contact per device in usrloc

2014-10-01 Thread Jayesh Nambiar
Hi, I am trying to solve a problem of having one registration per AOR per device. So user 1234 can register from device A, device B and device C. But the user 1234 should not have multiple contacts from device A alone. At times when the device loses network, proxy doesn't receive de-register and th