<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hello,</p>
<p>see comments inline ...<br>
</p>
<br>
<div class="moz-cite-prefix">On 01/02/2017 01:12, Aqs Younas wrote:<br>
</div>
<blockquote
cite="mid:CAGVOjVW-8C+6O=GvkdFT2Te0Sf9aSQBHSVNspaAHoHuXEbE5vw@mail.gmail.com"
type="cite">
<div dir="ltr">Greetings list,
<div><br>
</div>
<div>I am trying to remove a specific contact from memory but
always resulted in vain. </div>
<div><br>
</div>
<div>root@debian:/usr/local/kamailio/sbin# ./kamctl ul show<br>
</div>
<div>
<div>Domain:: location table=1024 records=1 max_slot=1</div>
<div> AOR:: <a moz-do-not-send="true"
href="mailto:1040@192.168.0.101">1040@192.168.0.101</a></div>
<div> Contact::
<a class="moz-txt-link-freetext" href="sip:1040@192.168.0.102:36619;rinstance=1dfaed088d873a18;transport=tcp">sip:1040@192.168.0.102:36619;rinstance=1dfaed088d873a18;transport=tcp</a>
Q=</div>
<div> Expires:: 2416</div>
<div> Callid:: _3595KDc1PinhUGFpSf4Dg..</div>
<div> Cseq:: 2</div>
<div> User-agent:: Z 3.9.32144 r32121</div>
<div> State:: CS_SYNC</div>
<div> Flags:: 0</div>
<div> Cflag:: 0</div>
<div> Socket:: tcp:<a
moz-do-not-send="true" href="http://192.168.0.101:5060">192.168.0.101:5060</a></div>
<div> Methods:: 5087</div>
<div> Ruid:: uloc-58911db0-f45-1</div>
<div> Reg-Id:: 0</div>
<div> Last-Keepalive:: 1485905402</div>
<div> Last-Modified:: 1485905402</div>
</div>
<div>
<div>.</div>
<div>/kamctl fifo ul_rm_contact location <a
moz-do-not-send="true" href="mailto:1040@191.168.0.101">1040@191.168.0.101</a>
<a class="moz-txt-link-freetext" href="sip:1040@192.168.0.102:36619;rinstance=1dfaed088d873a18;transport=tcp">sip:1040@192.168.0.102:36619;rinstance=1dfaed088d873a18;transport=tcp</a></div>
<div>404 AOR not found</div>
</div>
<div><br>
</div>
<div>Tried another command </div>
<div>
<div><br>
</div>
<div>root@debian:/usr/local/kamailio/sbin# ./kamctl fifo ul_rm
location <a moz-do-not-send="true"
href="mailto:1040@192.168.0.101">1040@192.168.0.101</a></div>
<div>root@debian:/usr/local/kamailio/sbin# ./kamctl ul show</div>
<div>Domain:: location table=1024 records=1 max_slot=1</div>
<div> AOR:: <a moz-do-not-send="true"
href="mailto:1040@192.168.0.101">1040@192.168.0.101</a></div>
<div> Contact::
<a class="moz-txt-link-freetext" href="sip:1040@192.168.0.102:36619;rinstance=1dfaed088d873a18;transport=tcp">sip:1040@192.168.0.102:36619;rinstance=1dfaed088d873a18;transport=tcp</a>
Q=</div>
<div> Expires:: deleted</div>
</div>
</div>
</blockquote>
<br>
See above line, the contact is "deleted". But I guess you have a db
mode that relies on the timer for complete removal from memory and
database, which should happen in max 60 sec if you haven't changed
the related parameters for usrloc.<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<blockquote
cite="mid:CAGVOjVW-8C+6O=GvkdFT2Te0Sf9aSQBHSVNspaAHoHuXEbE5vw@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div> Callid:: _3595KDc1PinhUGFpSf4Dg..</div>
<div> Cseq:: 2</div>
<div> User-agent:: Z 3.9.32144 r32121</div>
<div> State:: CS_SYNC</div>
<div> Flags:: 0</div>
<div> Cflag:: 0</div>
<div> Socket:: tcp:<a
moz-do-not-send="true" href="http://192.168.0.101:5060">192.168.0.101:5060</a></div>
<div> Methods:: 5087</div>
<div> Ruid:: uloc-58911db0-f45-1</div>
<div> Reg-Id:: 0</div>
<div> Last-Keepalive:: 1485905402</div>
<div> Last-Modified:: 1485905402</div>
</div>
<div><br>
</div>
<div>
<div>And this. .</div>
<div><br>
</div>
<div>/kamctl ul rm <a moz-do-not-send="true"
href="mailto:1040@192.168.0.1">1040@192.168.0.1</a>
<a class="moz-txt-link-freetext" href="sip:1040@192.168.0.102:36619;rinstance=1dfaed088d873a18;transport=tcp">sip:1040@192.168.0.102:36619;rinstance=1dfaed088d873a18;transport=tcp</a></div>
<div>404 AOR not found</div>
</div>
<div><br>
</div>
<div>Can someone help me know to remove a contact from memory?</div>
<div>Any pointer is much appreciated. </div>
<div><br>
</div>
<div>Best Regards. </div>
<div><br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
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-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - Mar 6-8 (Europe) and Mar 20-22 (USA) - <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
Kamailio World Conference - May 8-10, 2017 - <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a></pre>
</body>
</html>