[sr-dev] presence/mwi error

Juha Heinanen jh at tutpro.com
Fri Sep 16 21:51:55 CEST 2016


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/839cf89b02f8817156487a960ff62013e3cde530

had added parse_dialog_state_from_body() function that calls xml
parser.  perhaps it has something to do with the error message?

-- juha



More information about the sr-dev mailing list