I&#39;ve much better results forcing an unregister of my user before doing the register.<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; unregister(&quot;location&quot;, &quot;$fu&quot;);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (!save(&quot;location&quot;))<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sl_reply_error();<br>
<br>It looks that the unregister() cleans the presence tables.<br><br>I&#39;m not sure if this is the proper way to proceed by at least it works for me :-)<br><br>Any suggestion are welcome!<br>Pascal<br><br><br><br><div class="gmail_quote">
On Thu, Jan 22, 2009 at 8:50 PM, Iñaki Baz Castillo <span dir="ltr">&lt;<a href="mailto:ibc@aliax.net">ibc@aliax.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">El Jueves, 22 de Enero de 2009, Pascal Maugeri escribió:<br>
</div><div class="Ih2E3d">&gt; Well not really : if we use long publish expiration such as 3600s, we may<br>
&gt; have no presence update during 1 hour. Solution may be to reduce expires to<br>
&gt; few minutes but this generate a lot more SIP traffic.<br>
<br>
</div>Could you please paste the NOTIFY sent by the presence server after user B<br>
has &quot;crashed&quot; and the restarted again (sending a new PUBLISH)?<br>
<br>
I expect that NOTIFY will contain two status and it depends on the client<br>
implementation which one to select for that AoR (not sure anyway, a NOTIFY<br>
capture would be great).<br>
<font color="#888888"><br>
<br>
<br>
--<br>
</font><div><div></div><div class="Wj3C7c">Iñaki Baz Castillo<br>
<br>
_______________________________________________<br>
Kamailio (OpenSER) - Users mailing list<br>
<a href="mailto:Users@lists.kamailio.org">Users@lists.kamailio.org</a><br>
<a href="http://lists.kamailio.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.kamailio.org/cgi-bin/mailman/listinfo/users</a><br>
<a href="http://lists.openser-project.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.openser-project.org/cgi-bin/mailman/listinfo/users</a></div></div></blockquote></div><br>