could someone give me a proper syntax using the <span class="emphasis"><em>cnn' (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"><<a href="mailto:abalashov@evaristesys.com">abalashov@evaristesys.com</a>></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>
> is there a way to do this dynamically per subscriber? like an on/off switch?<br>
><br>
> On Thu, Aug 13, 2009 at 10:53 AM, Bogdan-Andrei Iancu<br>
</div><div class="im">> <<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a> <mailto:<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a>>> wrote:<br>
><br>
> 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>
> Bogdan<br>
><br>
> Alex Balashov wrote:<br>
> > Yes. Set max_contacts parameter in registrar module to 1.<br>
> ><br>
> > Alex G wrote:<br>
> ><br>
> ><br>
> >> is there a way to prevent multi-reg of subscribers?<br>
> >><br>
> >><br>
> >><br>
> ------------------------------------------------------------------------<br>
> >><br>
> >> _______________________________________________<br>
> >> Users mailing list<br>
</div>> >> <a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a> <mailto:<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>><br>
<div class="im">> >> <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>
> ><br>
> ><br>
><br>
><br>
> _______________________________________________<br>
> Users mailing list<br>
</div>> <a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a> <mailto:<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>><br>
<div class="im">> <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>
><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>
<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>