<div class="gmail_quote">On Fri, Jan 23, 2009 at 11:52 AM, 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;">
2009/1/23 Pascal Maugeri &lt;<a href="mailto:pascal.maugeri@gmail.com">pascal.maugeri@gmail.com</a>&gt;:<br>
<div class="Ih2E3d">&gt; I&#39;ve much better results forcing an unregister of my user before doing the<br>
&gt; register.<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; unregister(&quot;location&quot;, &quot;$fu&quot;);<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (!save(&quot;location&quot;))<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; sl_reply_error();<br>
<br>
</div>If you do that, you are un-registering *all* the contacts for that<br>
AoR, is it what you want?<br>
<div class="Ih2E3d"></div></blockquote><div><br>yes.<br>&nbsp;</div><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"><br>
<br>
&gt; It looks that the unregister() cleans the presence tables.<br>
<br>
</div>It&#39;s not possible at all, nothing to do.<br>
Perhaps you are using pua_usrloc module? That&#39;s important.</blockquote><div><br>Hum, good point. Thanks I&#39;m going to check that.<br><br>-pascal<br>&nbsp;</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<font color="#888888"><br>
<br>
<br>
--<br>
</font><div class="Ih2E3d">Iņaki Baz Castillo<br>
&lt;<a href="mailto:ibc@aliax.net">ibc@aliax.net</a>&gt;<br>
<br>
</div><div><div></div><div class="Wj3C7c">_______________________________________________<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>