<div dir="ltr"><a href="http://www.opensips.org/html/docs/modules/2.2.x/registrar.html#id294862">http://www.opensips.org/html/docs/modules/2.2.x/registrar.html#id294862</a><br><div><br></div><div>There are several functions in the registrar module to help you determine if a Contact is already registered using a given AOR.  After that you can use flags to the save command to indicate if you want to set a max number of contacts for an AOR (for example one contact) and if you want to throw away this registration or over ride the existing one in the event that max is already met.  </div><div><br></div><div><a href="http://www.opensips.org/html/docs/modules/2.2.x/registrar.html#id294033">http://www.opensips.org/html/docs/modules/2.2.x/registrar.html#id294033</a><br></div><div><br></div><div>Hope this helps.</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 29, 2017 at 7:10 AM, 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 ,<div>  I am using opensips-2.2.2 . I wanted to override a contact only by checking the username if its already registered earlier rather than adding another contact of same username .</div><div><br></div><div>   What should I do ? I am searching for this but I am not getting anything which can do this . Please help me if this is possible .</div><div>    <br clear="all"><div><div class="m_-2360212745587630464gmail_signature" data-smartmail="gmail_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>
<br>______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-<wbr>bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>