Thanks a lot...i&#39;m waiting for you.<br>In the meanwhile, i&#39;ve upgraded 
libxml2 at the last version, 2.7.7.<br>Looking deeply seems that the 
error is related to function xmlParseMemory, into parser.c of libxml2.<br>
But i&#39;ve no knowledge of C, than i need to stop here :)<br><br>Thanks.<br><br clear="all">:: Francesco Colista <br>:: Email : <a href="mailto:francesco.colista@gmail.com">francesco.colista@gmail.com</a>  <br>:: Jabber: <a href="mailto:francesco@jabber.org">francesco@jabber.org</a>            <br>

<br><br>                                                         <br><br><br><br>
<br><br><div class="gmail_quote">2010/5/5 Francesco <span dir="ltr">&lt;<a href="mailto:francesco.colista@gmail.com">francesco.colista@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

Thanks a lot...i&#39;m waiting for you.<br>In the meanwhile, i&#39;ve upgraded libxml2 at the last version, 2.7.7.<br>Looking deeply seems that the error is related to function xmlParseMemory, into parser.c of libxml2.<br>


But i&#39;ve no knowledge of C, than i need to stop here :)<div class="im"><br><br><br clear="all">:: Francesco Colista <br>:: Email : <a href="mailto:francesco.colista@gmail.com" target="_blank">francesco.colista@gmail.com</a>  <br>

:: Jabber: <a href="mailto:francesco@jabber.org" target="_blank">francesco@jabber.org</a>            <br>
<br><br>                                                         <br><br><br><br>
<br><br></div><div class="gmail_quote">2010/5/5 Daniel-Constantin Mierla <span dir="ltr">&lt;<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>&gt;</span><div><div></div><div class="h5"><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">





  

<div bgcolor="#ffffff" text="#000000">
Hello,<br>
<br>
at the first sight seems the size of the xml doc is bigger that it
should be. I will look deeper at it, just some busy days here currently.<br>
<br>
Cheers,<br><font color="#888888">
Daniel</font><div><div></div><div><br>
<br>
On 5/3/10 3:54 PM, Francesco wrote:
<blockquote type="cite">Thx for reply.<br>
This is what i get with patch applied (is not pretty readable, but what
i can see is &quot;^M&quot; char that could be the cause of the problem...)<br>
  <br>
  <br>
May  3 15:50:36 ocs /usr/sbin/kamailio[1858]:
ERROR:presence_xml:agregate_xmls: while parsing xml body message
[[&lt;?xml version=&#39;1.0&#39; encoding=&#39;UTF-8&#39;?&gt;&lt;presence
xmlns=&#39;urn:ietf:params:xml:ns:pidf&#39;
xmlns:dm=&#39;urn:ietf:params:xml:ns:pidf:data-model&#39;
xmlns:rpid=&#39;urn:ietf:params:xml:ns:pidf:rpid&#39;
xmlns:c=&#39;urn:ietf:params:xml:ns:pidf:cipid&#39; entity=&#39;<a href="mailto:sip%3Aamusso@ocs.ita.wtbts.net" target="_blank">sip:amusso@ocs.ita.wtbts.net</a>&#39;&gt;&lt;tuple
id=&#39;t7164a248&#39;&gt;&lt;status&gt;&lt;basic&gt;open&lt;/basic&gt;&lt;/status&gt;&lt;/tuple&gt;&lt;dm:person
id=&#39;pf31ded47&#39;&gt;&lt;rpid:activities&gt;&lt;rpid:unknown/&gt;&lt;/rpid:activities&gt;&lt;/dm:person&gt;&lt;/presence&gt;P
Server^M Content-Length: 0^M ^M ]] <br>
May  3 15:50:36 ocs /usr/sbin/kamailio[1858]:
ERROR:presence_xml:pres_agg_nbody: while aggregating body <br>
May  3 15:51:22 ocs /usr/sbin/kamailio[1855]:
ERROR:presence_xml:pres_agg_nbody: while aggregating body <br>
May  3 15:51:22 ocs /usr/sbin/kamailio[1856]:
ERROR:presence_xml:offline_nbody: while parsing xml memory <br>
May  3 15:51:22 ocs /usr/sbin/kamailio[1856]:
ERROR:presence_xml:pres_agg_nbody: while constructing offline body <br>
May  3 15:51:51 ocs /usr/sbin/kamailio[1857]:
ERROR:presence_xml:agregate_xmls: while parsing xml body message
[[&lt;?xml version=&#39;1.0&#39; encoding=&#39;UTF-8&#39;?&gt;&lt;presence
xmlns=&#39;urn:ietf:params:xml:ns:pidf&#39;
xmlns:dm=&#39;urn:ietf:params:xml:ns:pidf:data-model&#39;
xmlns:rpid=&#39;urn:ietf:params:xml:ns:pidf:rpid&#39;
xmlns:c=&#39;urn:ietf:params:xml:ns:pidf:cipid&#39; entity=&#39;<a href="mailto:sip%3Afcolista@ocs.ita.wtbts.net" target="_blank">sip:fcolista@ocs.ita.wtbts.net</a>&#39;&gt;&lt;tuple
id=&#39;tdd57124f&#39;&gt;&lt;status&gt;&lt;basic&gt;open&lt;/basic&gt;&lt;/status&gt;&lt;/tuple&gt;&lt;dm:person
id=&#39;pe22c066e&#39;&gt;&lt;rpid:activities&gt;&lt;rpid:unknown/&gt;&lt;/rpid:activities&gt;&lt;/dm:person&gt;&lt;/presence&gt;resence&gt;]]
  <br>
May  3 15:51:51 ocs /usr/sbin/kamailio[1857]:
ERROR:presence_xml:pres_agg_nbody: while aggregating body <br>
May  3 15:52:32 ocs /usr/sbin/kamailio[1856]:
ERROR:presence_xml:agregate_xmls: while parsing xml body message
[[&lt;?xml version=&#39;1.0&#39; encoding=&#39;UTF-8&#39;?&gt;&lt;presence
xmlns=&#39;urn:ietf:params:xml:ns:pidf&#39;
xmlns:dm=&#39;urn:ietf:params:xml:ns:pidf:data-model&#39;
xmlns:rpid=&#39;urn:ietf:params:xml:ns:pidf:rpid&#39;
xmlns:c=&#39;urn:ietf:params:xml:ns:pidf:cipid&#39; entity=&#39;<a href="mailto:sip%3Aamusso@ocs.ita.wtbts.net" target="_blank">sip:amusso@ocs.ita.wtbts.net</a>&#39;&gt;&lt;tuple
id=&#39;t7164a248&#39;&gt;&lt;status&gt;&lt;basic&gt;open&lt;/basic&gt;&lt;/status&gt;&lt;/tuple&gt;&lt;dm:person
id=&#39;pf31ded47&#39;&gt;&lt;rpid:activities&gt;&lt;rpid:unknown/&gt;&lt;/rpid:activities&gt;&lt;/dm:person&gt;&lt;/presence&gt;resence&gt;P
Server^M Content-Length: 0^M ^M 74fe7e7c241d&quot;^M Server: AlpineLinux SIP
Server^M Content-Length: 0^M ^M ]] <br>
May  3 15:52:32 ocs /usr/sbin/kamailio[1856]:
ERROR:presence_xml:pres_agg_nbody: while aggregating body <br>
May  3 15:53:26 ocs /usr/sbin/kamailio[1858]:
ERROR:presence_xml:agregate_xmls: while parsing xml body message
[[&lt;?xml version=&#39;1.0&#39; encoding=&#39;UTF-8&#39;?&gt;&lt;presence
xmlns=&#39;urn:ietf:params:xml:ns:pidf&#39;
xmlns:dm=&#39;urn:ietf:params:xml:ns:pidf:data-model&#39;
xmlns:rpid=&#39;urn:ietf:params:xml:ns:pidf:rpid&#39;
xmlns:c=&#39;urn:ietf:params:xml:ns:pidf:cipid&#39; entity=&#39;<a href="mailto:sip%3Aamusso@ocs.ita.wtbts.net" target="_blank">sip:amusso@ocs.ita.wtbts.net</a>&#39;&gt;&lt;tuple
id=&#39;t7164a248&#39;&gt;&lt;status&gt;&lt;basic&gt;open&lt;/basic&gt;&lt;/status&gt;&lt;/tuple&gt;&lt;dm:person
id=&#39;pf31ded47&#39;&gt;&lt;rpid:activities&gt;&lt;rpid:unknown/&gt;&lt;/rpid:activities&gt;&lt;/dm:person&gt;&lt;/presence&gt;e&gt;<a href="http://tbts.net" target="_blank">tbts.net</a>&quot;,
nonce=&quot;4bded515000000284f85e37237864bdc5da8d6836da5a769&quot;^M Server:
AlpineLinux SIP Server^M Content-Length: 0^M ^M ]] <br>
May  3 15:53:26 ocs /usr/sbin/kamailio[1858]:
ERROR:presence_xml:pres_agg_nbody: while aggregating body <br>
  <br>
  <br>
  <br>
  <br clear="all">
:: Francesco Colista <br>
:: Email : <a href="mailto:francesco.colista@gmail.com" target="_blank">francesco.colista@gmail.com</a>
 <br>
:: Jabber: <a href="mailto:francesco@jabber.org" target="_blank">francesco@jabber.org</a>
           <br>
  <br>
  <br>
                                                        <br>
  <br>
  <br>
  <br>
  <br>
  <br>
  <div class="gmail_quote">2010/4/30 Daniel-Constantin Mierla <span dir="ltr">&lt;<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>&gt;</span><br>
  <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
    <div bgcolor="#ffffff" text="#000000">Hello,<br>
    <br>
can you get the xml doc for that case and paste it here?<br>
    <br>
I attached a patch that should be print the xml doc.<br>
    <br>
Thanks,<br>
Daniel
    <div>
    <div><br>
    <br>
    <br>
    <br>
On 4/29/10 4:52 PM, Francesco wrote:
    </div>
    </div>
    <blockquote type="cite">
      <div>
      <div>Hi to all.<br>
I&#39;m new here.<br>
I&#39;m getting crazy with presence_xml error.<br>
I&#39;m using kamailio 1.5.4 notls with xlite 3.0 (winXP client) softphone
and postgresql 8.4 as db backend.<br>
      <br>
Seems that presence works, but i have error in parsing xml:<br>
      <br>
those are the relevant log:<br>
      <br>
Apr 29 16:42:54 ocs /usr/sbin/kamailio[2462]:
INFO:presence:send_notify_request: NOTIFY <a href="mailto:sip%3Auser1@ocs.ita.domain.net" target="_blank">sip:user1@ocs.ita.domain.net</a>
via <a href="http://sip:user1@10.44.17.145:24258" target="_blank">sip:user1@10.44.17.145:24258</a>
on behalf of <a href="mailto:sip%3Auser2@ocs.ita.domain.net" target="_blank">sip:user2@ocs.ita.domain.net</a>
for event presence <br>
Apr 29 16:42:54 ocs /usr/sbin/kamailio[2463]:
ERROR:presence_xml:agregate_xmls: while parsing xml body message <br>
Apr 29 16:42:54 ocs /usr/sbin/kamailio[2463]:
ERROR:presence_xml:pres_agg_nbody: while aggregating body <br>
      <br>
When i login on kamailio, the users are not immediatly notified to my
presence...but, when there&#39;s a change of status, the client are
notified and on softphone the status change.<br>
      <br>
Other that, if the client close softphone, i can watch this on the log:<br>
      <br>
Apr 29 16:42:41 ocs /usr/sbin/kamailio[2461]:
ERROR:presence_xml:offline_nbody: while parsing xml memory <br>
Apr 29 16:42:41 ocs /usr/sbin/kamailio[2461]:
ERROR:presence_xml:pres_agg_nbody: while constructing offline body <br>
Apr 29 16:42:41 ocs /usr/sbin/kamailio[2461]:
INFO:presence:send_notify_request: NOTIFY <a href="mailto:sip%3Auser1@ocs.ita.domain.net" target="_blank">sip:user1@ocs.ita.domain.net</a>
via <a href="http://sip:user1@10.44.17.145:24258" target="_blank">sip:user1@10.44.17.145:24258</a>
on behalf of <a href="mailto:sip%3Auser3@ocs.ita.domain.net" target="_blank">sip:user3@ocs.ita.domain.net</a>
for event presence <br>
      <br>
And the client, on the other softphone, results on line, rather then
offline.<br>
      <br>
I&#39;m thinking about encoding database, i&#39;ve tryied with SQL ASCII and
UTF-8 too. Same behaviour.<br>
I try different releases (1.5.3 no tls) on different distribution
(debian, lucid, alpine linux). Same behaviour.<br>
      <br>
Obiouvsly, the softphone are right configured (presence agent is
enabled).<br>
      <br>
Any hints?<br>
      <br>
Thanks for you kind attention.<br>
      <br>
      <br clear="all">
:: Francesco Colista <br>
:: Email : <a href="mailto:francesco.colista@gmail.com" target="_blank">francesco.colista@gmail.com</a>
 <br>
:: Jabber: <a href="mailto:francesco@jabber.org" target="_blank">francesco@jabber.org</a>
           <br>
      <br>
      <br>
                                                        <br>
      <br>
      <br>
      <br>
      </div>
      </div>
      <pre><fieldset></fieldset>
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
  </pre>
    </blockquote>
    <br>
    <pre cols="72">-- 
Daniel-Constantin Mierla
* <a href="http://www.asipto.com/" target="_blank">http://www.asipto.com/</a>
* <a href="http://twitter.com/miconda" target="_blank">http://twitter.com/miconda</a>
* <a href="http://www.linkedin.com/in/danielconstantinmierla" target="_blank">http://www.linkedin.com/in/danielconstantinmierla</a> 
    </pre>
    </div>
  </blockquote>
  </div>
  <br>
  <pre><fieldset></fieldset>
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
  </pre>
</blockquote>
<br>
<pre cols="72">-- 
Daniel-Constantin Mierla
* <a href="http://www.asipto.com/" target="_blank">http://www.asipto.com/</a>
* <a href="http://twitter.com/miconda" target="_blank">http://twitter.com/miconda</a>
* <a href="http://www.linkedin.com/in/danielconstantinmierla" target="_blank">http://www.linkedin.com/in/danielconstantinmierla</a> 
</pre>
</div></div></div>

</blockquote></div></div></div><br>
</blockquote></div><br>