<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">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>