[sr-dev] [kamailio/kamailio] Presence: Fix startup inconsistency in presentity hash table (#809)

Emmanuel Schmidbauer notifications at github.com
Thu Nov 3 21:12:21 CET 2016


@lazedo 
you can see that we sending expires=1 in our NSQ message and in nsq_pua.c
```C
	struct json_object *ExpiresObj =  nsq_json_get_object(json_obj, BLF_JSON_EXPIRES);
	if (ExpiresObj != NULL) {
		expires = json_object_get_int(ExpiresObj);
		if (expires > 0)
			expires += (int)time(NULL);
	}
```
you can see expires will be set to time + 1

-- 
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/pull/809#issuecomment-258260016
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20161103/96d6037c/attachment.html>


More information about the sr-dev mailing list