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