<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body 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<br>
<br>
<br>
<br>
On 4/29/10 4:52 PM, Francesco wrote:
<blockquote
 cite="mid:k2vd912327e1004290752u9c46108cj9db68a8048f68d0f@mail.gmail.com"
 type="cite">Hi to all.<br>
I'm new here.<br>
I'm getting crazy with presence_xml error.<br>
I'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 moz-do-not-send="true"
 href="mailto:sip%3Auser1@ocs.ita.domain.net">sip:user1@ocs.ita.domain.net</a>
via <a moz-do-not-send="true"
 href="http://sip:user1@10.44.17.145:24258">sip:user1@10.44.17.145:24258</a>
on behalf of <a moz-do-not-send="true"
 href="mailto:sip%3Auser2@ocs.ita.domain.net">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'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 moz-do-not-send="true"
 href="mailto:sip%3Auser1@ocs.ita.domain.net">sip:user1@ocs.ita.domain.net</a>
via <a moz-do-not-send="true"
 href="http://sip:user1@10.44.17.145:24258">sip:user1@10.44.17.145:24258</a>
on behalf of <a moz-do-not-send="true"
 href="mailto:sip%3Auser3@ocs.ita.domain.net">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'm thinking about encoding database, i'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 moz-do-not-send="true"
 href="mailto:francesco.colista@gmail.com">francesco.colista@gmail.com</a>
 <br>
:: Jabber: <a moz-do-not-send="true" href="mailto:francesco@jabber.org">francesco@jabber.org</a>
           <br>
  <br>
  <br>
                                                        <br>
  <br>
  <br>
  <br>
  <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
  </pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla
* <a class="moz-txt-link-freetext" href="http://www.asipto.com/">http://www.asipto.com/</a>
* <a class="moz-txt-link-freetext" href="http://twitter.com/miconda">http://twitter.com/miconda</a>
* <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/danielconstantinmierla">http://www.linkedin.com/in/danielconstantinmierla</a> 
</pre>
</body>
</html>