[OpenSIPS-Users] prevent multi-reg

2009-08-13 Thread Alex G
is there a way to prevent multi-reg of subscribers? ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Re: [OpenSIPS-Users] prevent multi-reg

2009-08-13 Thread Alex Balashov
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

Re: [OpenSIPS-Users] prevent multi-reg

2009-08-13 Thread Bogdan-Andrei Iancu
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

Re: [OpenSIPS-Users] prevent multi-reg

2009-08-13 Thread Alex G
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 bog...@voice-system.ro 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

Re: [OpenSIPS-Users] prevent multi-reg

2009-08-13 Thread Alex Balashov
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 bog...@voice-system.ro mailto:bog...@voice-system.ro wrote: Hi,

Re: [OpenSIPS-Users] prevent multi-reg

2009-08-13 Thread Alex G
could someone give me a proper syntax using the *cnn' (max Contacts)* flag? On Thu, Aug 13, 2009 at 12:07 PM, Alex Balashov abalas...@evaristesys.comwrote: Yes - provide a different argument to save(), as Bogdan says. Alex G wrote: is there a way to do this dynamically per subscriber?

Re: [OpenSIPS-Users] prevent multi-reg

2009-08-13 Thread Bogdan-Andrei Iancu
See http://lists.opensips.org/pipermail/users/2009-June/006532.html Regards, Bogdan Alex G wrote: could someone give me a proper syntax using the /cnn' (max Contacts)/ flag? On Thu, Aug 13, 2009 at 12:07 PM, Alex Balashov abalas...@evaristesys.com mailto:abalas...@evaristesys.com wrote: