<div dir="ltr">Hey Alex - not sure I'm quite following what you mean. The bindings are only for web clients. Are you suggesting the clients themselves de-register? I'd have no problem with that with the exception of the fact that there's simply no way to guarantee that happens. It's a race condition between whether the unregistration can be sent before the browser kills the websocket connection on refresh.</div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec 1, 2016 at 5:57 PM, Alex Balashov <span dir="ltr"><<a href="mailto:abalashov@evaristesys.com" target="_blank">abalashov@evaristesys.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Wouldn't it be more fruitful to delete and reach old bindings in such a scenario? Or are these bindings not only for web clients?<br>
<div><div class="h5"><br>
On December 1, 2016 5:54:06 PM EST, Colin Morelli <<a href="mailto:colin.morelli@gmail.com">colin.morelli@gmail.com</a>> wrote:<br>
>Hey all,<br>
><br>
>I know Kamailio's registrar module has a max_contacts parameter that<br>
>will<br>
>limit the number of active contacts for an AOR. However, is there any<br>
>mechanism to control what happens when that number is hit?<br>
><br>
>When using a web client where every page refresh registers a new<br>
>contact<br>
>with Kamailio, it would be useful to automatically roll off the oldest<br>
>registrations and replace to make room for the new ones. I know this<br>
>can be<br>
>manually accomplished with sqlops, but I was hoping something like this<br>
>already existed.<br>
><br>
>Best,<br>
>Colin<br>
><br>
><br>
</div></div>>-----------------------------<wbr>------------------------------<wbr>-------------<br>
><br>
>_____________________________<wbr>__________________<br>
>SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
><a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
><a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">http://lists.sip-router.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a><br>
<br>
<br>
-- Alex<br>
<br>
--<br>
Principal, Evariste Systems LLC (<a href="http://www.evaristesys.com" rel="noreferrer" target="_blank">www.evaristesys.com</a>)<br>
<br>
Sent from my Google Nexus.<br>
<br>
<br>
______________________________<wbr>_________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">http://lists.sip-router.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a><br>
</blockquote></div><br></div>