[OpenSIPS-Users] prevent multi-reg

Bogdan-Andrei Iancu bogdan at voice-system.ro
Thu Aug 13 19:27:05 CEST 2009


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 
> <abalashov at evaristesys.com <mailto:abalashov at evaristesys.com>> wrote:
>
>     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>
>     <mailto: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> <mailto: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>
>     <mailto: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
>
>
>     --
>     Alex Balashov
>     Evariste Systems
>     Web     : http://www.evaristesys.com/
>     Tel     : (+1) (678) 954-0670
>     Direct  : (+1) (678) 954-0671
>
>     _______________________________________________
>     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
>   




More information about the Users mailing list