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

_______________________________________________
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to