<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<tt>Moving this discussion to github:<br>
<br>
<a class="moz-txt-link-freetext" href="https://github.com/OpenSIPS/opensips/issues/1136">https://github.com/OpenSIPS/opensips/issues/1136</a><br>
<br>
Best regards,<br>
</tt>
<pre class="moz-signature" cols="72">Răzvan Crainea
OpenSIPS Solutions
<a class="moz-txt-link-abbreviated" href="http://www.opensips-solutions.com">www.opensips-solutions.com</a></pre>
<div class="moz-cite-prefix">On 06/05/2017 01:46 PM, Sasmita Panda
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CALf-Q44O0aivMqMN0TrDxX+_CaktHU2nf_wzDkFuZLGAL=pGQQ@mail.gmail.com">
<div dir="ltr">I was just checked this flag in opensips-1.6 . And
its working fine as for my expectation . When I am setting flag
to "c1f" , one contact with same AOR is already registered then
its remove that older contact and register the new one .
<div><br>
</div>
<div> Why this is not happening in opensips-2.2.2 ?</div>
</div>
<div class="gmail_extra"><br clear="all">
<div>
<div class="gmail_signature" data-smartmail="gmail_signature">
<div dir="ltr"><b><i>Thanks & Regards</i></b>
<div><i>Sasmita Panda</i></div>
<div><i>Network Testing and Software Engineer</i></div>
<div><i>3CLogic , ph:07827611765</i></div>
</div>
</div>
</div>
<br>
<div class="gmail_quote">On Mon, Jun 5, 2017 at 2:57 PM, Sasmita
Panda <span dir="ltr"><<a href="mailto:spanda@3clogic.com"
target="_blank" moz-do-not-send="true">spanda@3clogic.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hi All .
<div><br>
</div>
<div> I am using opensips-2.2.2 . In registrar module
I had set the max_contact parameter to 1 . </div>
<div>modparam("registrar", "max_contacts", 1)</div>
<div><br>
</div>
<div> And while saving in location table , I am using
the bellow flag .</div>
<div><br>
</div>
<div>save("location","c1fp1")</div>
<div><br>
</div>
<div> As for the document , when we use "f" flag it
saves the contact forcefully . I such case , it removes
the older contact and make space for the new contact
without exceeding the maximum allowed number .</div>
<div><br>
</div>
<div> So in my case I am expecting , it must be remove
the old contact and save the newer one . But what it is
doing is , its adding the new contact without removing
the older one . The older one get removed when its
expire time reaches .</div>
<div> Is this the right behavior ? If I am doing
something wrong according to my expectation then please
let me know . </div>
<div><br clear="all">
<div>
<div class="m_-183859066730841408gmail_signature">
<div dir="ltr"><b><i>Thanks & Regards</i></b><span
class="HOEnZb"><font color="#888888">
<div><i>Sasmita Panda</i></div>
<div><i>Network Testing and Software Engineer</i></div>
<div><i>3CLogic , ph:07827611765</i></div>
</font></span></div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>