[Serusers] Restrict user for one login

ram talk2ram at gmail.com
Wed Aug 9 20:06:08 CEST 2006


Hi

thanks it works.

Ram


On 8/9/06, Alexandre Snarskii <snar at paranoia.ru> wrote:
>
> On Tue, Aug 08, 2006 at 07:35:47PM +0530, ram wrote:
> > Hi
> >
> > I have installed SER and testing
> > But in my both sipura config same Extension
> > both are registering, how can i restrict the extensions.
> >
> > If the user already loging, reject other user to login using same
> extension.
> >
> > any sample rules.
>
> From modules/registrar/README:
>
> 1.3.13. max_contacts (integer)
>
>   The parameter can be used to limit the number of contacts per
>   AOR (Address of Record) in the user location database. Value 0
>   disables the check.
>
>   Default value is 0.
>
>   Example 1-12. Set max_contacts parameter
> ...
> # Allow no more than 10 contacts per AOR
> modparam("registrar", "max_contacts", 10)
> ...
>     _________________________________________________________
>
> I suppose that setting this parameter to 1 will solve your problem.
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20060809/504203bc/attachment.htm>


More information about the sr-users mailing list