[OpenSIPS-Users] Multi domain registration.

Saúl Ibarra saghul at gmail.com
Wed Sep 9 18:57:31 CEST 2009


When adding a user add the domain part:

Opensipsctl add 1000 at sip1.domain.com password


2009/9/9, Chris Maciejewski <chris at wima.co.uk>:
> Hi,
>
> What would be the best/easiest way of preventing registrations into
> "wrong" domains?
>
> For example:
>
> subscriber table:
> | username  |     domain      |  password
> |    10000    |  sip1.domain  |     secret1
> |    10001    |  sip2.domain  |     secret2
>
> in my openser.cfg I got:
>
> modparam("usrloc", "use_domain", 1)
>
> yet still
> "REGISTER 10000 at sip2.domain"
> and
> "REGISTER 100001 at sip1.domain"
> are both allowed.
>
> How can I restrict users to REGISTER only into their own domain?
>
> Thanks
> Chris
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>

-- 
Enviado desde mi dispositivo móvil

/Saúl
http://www.saghul.net | http://www.sipdoc.net



More information about the Users mailing list