<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sat, Apr 5, 2014 at 2:03 AM, MrIhaveAnOpinionOnEverything <span dir="ltr"><<a href="mailto:melryanf@gmail.com" target="_blank">melryanf@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br><div dir="ltr"><div><div><div>Hi Everyone:<br><br></div>     I am a newbie in kamailio. Basically I am looking for a way to restrict the registration or login in kamailio per user to just one.<br>
<br></div>    The experience I want to setup is to unregister an older register/login to kamailio by a new login/register after the register command has already passed the authentication leg.<br>
<br></div>   Is there an example for this? Thanks.<span class=""></span></div></blockquote><div><br><a href="http://kamailio.org/docs/modules/stable/modules/registrar.html">http://kamailio.org/docs/modules/stable/modules/registrar.html</a><br>
<br></div><div>Take a look at the registrar module. There's a "max_contacts" option. There are also functions "registered()" and "unregister()" which you can use to manipulate the saved locations.<br>
</div><div><br></div>Corey<br><div><br></div></div></div></div>