[OpenSIPS-Devel] XML parse error when publishing message summary

Henk Hesselink opensips-devel at voipro.nl
Tue Nov 17 19:14:20 CET 2015


Hi Bogdan,

Any further thoughts on this?

Cheers,

Henk


On 11/2/15 22:49, Henk Hesselink wrote:
> Hi Bogdan,
> 
> We're publishing message-summary events, not BLA, so straight text.  It
> seems to me dialog_fix_remote_target shouldn't be called in that case.
> 
> Cheers,
> 
> Henk
> 
> 
> On 10/22/15 16:21, Bogdan-Andrei Iancu wrote:
>> Hi Henk,
>>
>> May sounds like a stupid question, but isn't body XML for BLA ?
>>
>> Best regards,
>>
>> Bogdan-Andrei Iancu
>> OpenSIPS Founder and Developer
>> http://www.opensips-solutions.com
>>
>> On 20.10.2015 13:00, Henk Hesselink wrote:
>>> Hi,
>>>
>>> When we publish message-summary events to OpenSIPS 1.11.2 we see this:
>>>
>>> ERROR:presence:dialog_fix_remote_target: Failed to parse xml dialog
>>> body: Start tag expected, '<' not found#012
>>> ERROR:presence:update_presentity: Failed to fix remote target
>>>
>>> in the logs.  The error comes from dialog_fix_remote_target():
>>>
>>> handle_publish => update_presentity => dialog_fix_remote_target
>>>
>>> which calls xmlParseMemory to parse the message-summary body as XML.
>>> The call to dialog_fix_remote_target is conditional on fix_remote_target
>>> (bla_fix_remote_target param from the presence module) and if we turn
>>> that off the error goes away.  Shouldn't dialog_fix_remote_target only
>>> be called on XML-type bodies?
>>>
>>> Regards,
>>>
>>> Henk Hesselink
>>> Voipro International
>>>
>>> _______________________________________________
>>> Devel mailing list
>>> Devel at lists.opensips.org
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
>>>
>>>
>>
>>
> 
> _______________________________________________
> Devel mailing list
> Devel at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
> 



More information about the Devel mailing list