[OpenSIPS-Users] Multi domain registration.

Chris Maciejewski chris at wima.co.uk
Wed Sep 9 17:45:39 CEST 2009


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



More information about the Users mailing list