[sr-dev] [kamailio/kamailio] presentity table with 2 entry (#783)

jresende notifications at github.com
Wed Sep 14 19:38:29 CEST 2016


This is the problem:

```
> /* now we have all the necessary values */
> 	/* fill in the filds of the structure */
> 
> 	presentity= new_presentity(&pres_domain, &pres_user, lexpire, event,
> 			&etag, sender);
> 	if(presentity== NULL)
> 	{
> 		LM_ERR("creating presentity structure\n");
> 		goto error;
> 	}
> 
> 	/* querry the database and update or insert */
> 	if(update_presentity(msg, presentity, &body, etag_gen, &sent_reply, sphere) <0)
> 	{
> 		LM_ERR("when updating presentity\n");
> 		goto error;
> 	}
> 
```

Is located in the file publish.c

-- 
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/issues/783#issuecomment-247094431
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20160914/d7a1de46/attachment.html>


More information about the sr-dev mailing list