[sr-dev] presence/mwi error

Daniel-Constantin Mierla miconda at gmail.com
Fri Sep 16 22:26:06 CEST 2016


Hello,

I pushed a patch to master, can you try to see if works? If all ok, you
can backport to 4.4 branch as well.

It was indeed a regression added by a commit trying to fix a race for
dialog related events.

Cheers,
Daniel


On 16/09/16 21:51, Juha Heinanen wrote:
> 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 at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

-- 
Daniel-Constantin Mierla
http://www.asipto.com - http://www.kamailio.org
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda




More information about the sr-dev mailing list