[OpenSIPS-Users] prevent multi-reg

Alex Balashov abalashov at evaristesys.com
Thu Aug 13 19:07:08 CEST 2009


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 
> <bogdan at voice-system.ro <mailto:bogdan at 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 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
>      >> Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>      >> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>      >>
>      >
>      >
>      >
> 
> 
>     _______________________________________________
>     Users mailing list
>     Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>     http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> 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



More information about the Users mailing list