<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/4.2.3">
</HEAD>
<BODY>
Hi Anca,<BR>
<BR>
I just tried this change on my system.&nbsp; With the change present and two presence/RLS clients signed in I get some error messages displayed when I log one of the clients out:<BR>
<BLOCKQUOTE>
    Mar 13 15:36:09 pd-laptop-linux ./kamailio[1493]: ERROR: presence_xml [notify_body.c:176]: while parsing the xml body message<BR>
    Mar 13 15:36:09 pd-laptop-linux ./kamailio[1493]: ERROR: presence_xml [notify_body.c:133]: in function get_final_notify_body<BR>
    Mar 13 15:36:09 pd-laptop-linux ./kamailio[1493]: ERROR: presence [notify.c:1396]: in function apply_auth_nbody<BR>
    Mar 13 15:36:09 pd-laptop-linux ./kamailio[1493]: ERROR: presence [notify.c:1583]: sending Notify not successful<BR>
    Mar 13 15:36:09 pd-laptop-linux ./kamailio[1493]: ERROR: presence [notify.c:1288]: Could not send notify for presence<BR>
</BLOCKQUOTE>
I reversed out the change and the errors stopped happening, they started up again as soon as I put it back.<BR>
<BR>
Thanks,<BR>
<BR>
Peter<BR>
<BR>
On Tue, 2012-03-13 at 10:40 +0100, Anca Vamanu wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
Module: sip-router
Branch: master
Commit: 42f2d990d022cb67b051ac563ee8cde916a0d14a
URL:    <A HREF="http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=42f2d990d022cb67b051ac563ee8cde916a0d14a">http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=42f2d990d022cb67b051ac563ee8cde916a0d14a</A>

Author: Dragos Dinu &lt;<A HREF="mailto:dragos.dinu@1and1.ro">dragos.dinu@1and1.ro</A>&gt;
Committer: Anca Vamanu &lt;<A HREF="mailto:anca.vamanu@1and1.ro">anca.vamanu@1and1.ro</A>&gt;
Date:   Tue Mar 13 11:33:06 2012 +0200

modules_k/presence Used affected_rows SQL statement

In case affected_rows function is available in the DB driver, this
function is used instead of an extra query in presentity table that only
verified if the record existed.

Patch author Dragos Dinu &lt;<A HREF="mailto:dragos.dinu@1and1.ro">dragos.dinu@1and1.ro</A>&gt;

---

 modules_k/presence/presentity.c |  436 ++++++++++++++++++++++----------------
 1 files changed, 252 insertions(+), 184 deletions(-)

Diff:   <A HREF="http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=42f2d990d022cb67b051ac563ee8cde916a0d14a">http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=42f2d990d022cb67b051ac563ee8cde916a0d14a</A>

_______________________________________________
sr-dev mailing list
<A HREF="mailto:sr-dev@lists.sip-router.org">sr-dev@lists.sip-router.org</A>
<A HREF="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev</A>
</PRE>
</BLOCKQUOTE>
<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<PRE>
-- 
Peter Dunkley
Technical Director
Crocodile RCS Ltd
</PRE>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>