I can try to test, I think that this would be an important feature to kamailio.

I know that I could do that in the client but it is better be arranged on the server side i guess.

best
João

2016-11-21 12:04 GMT+00:00 Daniel-Constantin Mierla <miconda@gmail.com>:

For the topic here I need to look a bit at the code in order to see what can be done now in an easier way. If I find it easier to just add some C code to simplify a bit kamailio.cfg, will you be interested in testing with kamailio master branch (devel version)? Because it would be rather impossible for me these days to setup quickly a testbed for such case..

If you control the client, one thing is to rely on push notifications to optimize some communication with the server. I will also write more once I know how they can be related with the internal structures we have.

Also, for battery life of the watcher as well as getting most up to date information, by subscribing only when the person it's looking at the contact in the body list and subscribe with expires=0 in order to get only one notification...

Cheers,
Daniel


On 21/11/16 12:43, João Resende wrote:
Sorry for the double email, 

I do not use UDP.

I can control also the client side, what do you think that is the simplest way to archive this goal?

best
João




2016-11-21 11:37 GMT+00:00 João Resende <ms92resende@gmail.com>:
Hello,

Can be both option TCP or TLS. I don't test with udp.

best,
João




-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Training, Berlin, Nov 28-30, 2016 - http://www.asipto.com