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

2015-11-17 Thread Henk Hesselink
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@lists.opensips.org
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
>>>
>>>
>>
>>
> 
> ___
> Devel mailing list
> Devel@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
> 

___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


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

2015-11-02 Thread Henk Hesselink
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@lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
>>
>>
> 
> 

___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


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

2015-10-22 Thread Bogdan-Andrei Iancu

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@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel





___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


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

2015-10-20 Thread Henk Hesselink
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@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel