is there a way to do this dynamically per subscriber? like an on/off switch?<br><br><div class="gmail_quote">On Thu, Aug 13, 2009 at 10:53 AM, Bogdan-Andrei Iancu <span dir="ltr">&lt;<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br>
<br>
actually with OpenSIPS 1.6 (devel), this is no longer a global param,<br>
but a per AOR. The save() function takes as parameters a set of flags<br>
and one of them is the number of maximum contacts. See<br>
<a href="http://www.opensips.org/html/docs/modules/devel/registrar.html#id228526" target="_blank">http://www.opensips.org/html/docs/modules/devel/registrar.html#id228526</a><br>
<br>
Regards,<br>
<font color="#888888">Bogdan<br>
</font><div><div></div><div class="h5"><br>
Alex Balashov wrote:<br>
&gt; Yes.  Set max_contacts parameter in registrar module to 1.<br>
&gt;<br>
&gt; Alex G wrote:<br>
&gt;<br>
&gt;<br>
&gt;&gt; is there a way to prevent multi-reg of subscribers?<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; ------------------------------------------------------------------------<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Users mailing list<br>
&gt;&gt; <a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
&gt;&gt; <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
<br>
<br>
_______________________________________________<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" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</div></div></blockquote></div><br>