Juha Heinanen writes:
Still have not figured out why xml document parsing.
"failed to parse xml document" error comes from this call in handle_publish:
/* 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;
}
i then checked that function in presentity.c and noticed that two
months ago commit
https://github.com/kamailio/kamailio/commit/839cf89b02f8817156487a960ff6201…
had added parse_dialog_state_from_body() function that calls xml
parser. perhaps it has something to do with the error message?
-- juha