Yes - provide a different argument to save(), as Bogdan says. Alex G wrote:
> is there a way to do this dynamically per subscriber? like an on/off switch? > > On Thu, Aug 13, 2009 at 10:53 AM, Bogdan-Andrei Iancu > <[email protected] <mailto:[email protected]>> wrote: > > Hi, > > actually with OpenSIPS 1.6 (devel), this is no longer a global param, > but a per AOR. The save() function takes as parameters a set of flags > and one of them is the number of maximum contacts. See > http://www.opensips.org/html/docs/modules/devel/registrar.html#id228526 > > Regards, > Bogdan > > Alex Balashov wrote: > > Yes. Set max_contacts parameter in registrar module to 1. > > > > Alex G wrote: > > > > > >> is there a way to prevent multi-reg of subscribers? > >> > >> > >> > ------------------------------------------------------------------------ > >> > >> _______________________________________________ > >> Users mailing list > >> [email protected] <mailto:[email protected]> > >> http://lists.opensips.org/cgi-bin/mailman/listinfo/users > >> > > > > > > > > > _______________________________________________ > Users mailing list > [email protected] <mailto:[email protected]> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > > > ------------------------------------------------------------------------ > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opensips.org/cgi-bin/mailman/listinfo/users -- Alex Balashov Evariste Systems Web : http://www.evaristesys.com/ Tel : (+1) (678) 954-0670 Direct : (+1) (678) 954-0671 _______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
