[sr-dev] [kamailio/kamailio] presence: functions to keep presentity records in memory (f917318)

Daniel-Constantin Mierla notifications at github.com
Tue Apr 21 10:14:54 CEST 2020


@eschmidbauer - can you help testing somehow? Not having the possibility to test properly here, working mainly from home these days I can't use many devices. First would be to make sure existing your existing config is still working fine. I tried to be very non-intrusive as much as possible in the old code and operation mode.

Then, to test in-memory only presentity records, set:

```
modparam("presence", "publ_cache", 2)
```

You have to use latest master branch. I did basic tests with baresip for handling the PUBLISH requests and I could see they are in database presentity table if publ_cache!=2 as well as in memory via rpc command if publ_cache==2.

You can set also subscription records in memory with:

```
modparam("presence", "subs_db_mode", 0)
```


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/commit/f917318c1e5fefa4106eaaf46123506d77dc02ba#commitcomment-38634371
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20200421/5a3f0565/attachment.html>


More information about the sr-dev mailing list