could someone give me a proper syntax using the <span class="emphasis"><em>cnn&#39; (max Contacts)</em></span>  flag? <br><br><br><div class="gmail_quote">On Thu, Aug 13, 2009 at 12:07 PM, Alex Balashov <span dir="ltr">&lt;<a href="mailto:abalashov@evaristesys.com">abalashov@evaristesys.com</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;">Yes - provide a different argument to save(), as Bogdan says.<br>
<div class="im"><br>
Alex G wrote:<br>
<br>
&gt; is there a way to do this dynamically per subscriber? like an on/off switch?<br>
&gt;<br>
&gt; On Thu, Aug 13, 2009 at 10:53 AM, Bogdan-Andrei Iancu<br>
</div><div class="im">&gt; &lt;<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a> &lt;mailto:<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt;     Hi,<br>
&gt;<br>
&gt;     actually with OpenSIPS 1.6 (devel), this is no longer a global param,<br>
&gt;     but a per AOR. The save() function takes as parameters a set of flags<br>
&gt;     and one of them is the number of maximum contacts. See<br>
&gt;     <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>
&gt;<br>
&gt;     Regards,<br>
&gt;     Bogdan<br>
&gt;<br>
&gt;     Alex Balashov wrote:<br>
&gt;      &gt; Yes.  Set max_contacts parameter in registrar module to 1.<br>
&gt;      &gt;<br>
&gt;      &gt; Alex G wrote:<br>
&gt;      &gt;<br>
&gt;      &gt;<br>
&gt;      &gt;&gt; is there a way to prevent multi-reg of subscribers?<br>
&gt;      &gt;&gt;<br>
&gt;      &gt;&gt;<br>
&gt;      &gt;&gt;<br>
&gt;     ------------------------------------------------------------------------<br>
&gt;      &gt;&gt;<br>
&gt;      &gt;&gt; _______________________________________________<br>
&gt;      &gt;&gt; Users mailing list<br>
</div>&gt;      &gt;&gt; <a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a> &lt;mailto:<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>&gt;<br>
<div class="im">&gt;      &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;&gt;<br>
&gt;      &gt;<br>
&gt;      &gt;<br>
&gt;      &gt;<br>
&gt;<br>
&gt;<br>
&gt;     _______________________________________________<br>
&gt;     Users mailing list<br>
</div>&gt;     <a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a> &lt;mailto:<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>&gt;<br>
<div class="im">&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;<br>
&gt;<br>
&gt;<br>
&gt; ------------------------------------------------------------------------<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Users mailing list<br>
&gt; <a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
&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>
<br>
<br>
</div><div class="im">--<br>
Alex Balashov<br>
Evariste Systems<br>
Web     : <a href="http://www.evaristesys.com/" target="_blank">http://www.evaristesys.com/</a><br>
Tel     : (+1) (678) 954-0670<br>
Direct  : (+1) (678) 954-0671<br>
<br>
_______________________________________________<br>
</div><div><div></div><div class="h5">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>