It&#39;s for v3.1.4. But I think the problem is also in devel.<br><br># diff -u presence.c.orig presence.c.patch<br>------ cut here ---------------<br>--- presence.c.orig     2011-06-10 15:35:49.000000000 +0200<br>+++ presence.c.patch    2011-06-17 18:44:05.000000000 +0200<br>
@@ -712,6 +712,13 @@<br>                (reason.s &amp;&amp; subs.reason.s &amp;&amp; strncmp(reason.s, subs.reason.s,<br>                                                                                 reason.len)))<br>        {<br>
+               if(subs.status!=status &amp;&amp; status==1)<br>+               {<br>+                    subs.status= TERMINATED_STATUS;<br>+                     subs.reason.s= &quot;deleted&quot;;<br>+                     subs.reason.len= 7;<br>
+               }<br>+<br>                /* update in watchers_table */<br>                query_vals[q_wuser_col].val.str_val= subs.from_user;<br>                query_vals[q_wdomain_col].val.str_val= subs.from_domain;<br>
--------- end cut ------------------------------<br>#<br><br><br><br><br><br><div class="gmail_quote">On Wed, Jul 6, 2011 at 2:23 PM, sip-router <span dir="ltr">&lt;<a href="mailto:admin@sip-router.org">admin@sip-router.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.<br>
<br>
The following task has a new comment added:<br>
<br>
FS#133 - kamailio 3.1.3 Presence + XCAP problem, is it a bug?<br>
User who did this - Daniel-Constantin Mierla (miconda)<br>
<br>
----------<br></div>
Can you send the unified diff, ie., taken as:<br>
<br>
diff -u presence.c.orig presence.c.patch<br>
<br>
Is it for v3.1.x or devel?<div class="im"><br>
----------<br>
<br>
More information can be found at the following URL:<br>
</div><a href="http://sip-router.org/tracker/index.php?do=details&amp;task_id=133#comment235" target="_blank">http://sip-router.org/tracker/<u></u>index.php?do=details&amp;task_id=<u></u>133#comment235</a><div><div></div>
<div class="h5"><br>
<br>
You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don&#39;t want to receive mails in future, you can change your notification settings at the URL shown above.<br>

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