Hello,
On 01/05/09 20:02, Luis Guaman wrote:
Thanks Alex,
Here is the configuration to allow 1 concurrent register:
modparam("registrar", "max_contacts", 1)
here you should pay attention to contact updates. In some cases, like
mobile phones with wi-fi and sip stack, if they crash/lose/migrate to
new AP connection, same phone sends a new register with different
contact without un-registering the previous one.
If you encounter this, you can use the enhancements of the registrar
module in Kamailio trunk (to be released as 1.5 in about 1.5-2months) --
here are more details:
http://openser.blogspot.com/2008/10/registrar-enhancements.html
Practically you can iterate through the existing contacts and do more
checks or use save() with the proper flag that will overwrite any
existing contact and will maintain only one in location table.
Cheers,
Daniel
Luis Guaman
InterlanCompu
Quito - Ecuador
+593-2-2526585
Alex Balashov escribió:
Yes; you can limit concurrent contacts to 1,
using a module parameter
for 'registrar.' See the documentation.
Luis Guaman wrote:
Hi all,
Does anybody let me know how to disable simultaneous registers, using
the same user login/password in two or more different machines?
thanks in advance
Luis Guaman
Interlancompu
_______________________________________________
Users mailing list
Users(a)lists.kamailio.org
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
Users(a)lists.kamailio.org
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
--
Daniel-Constantin Mierla
http://www.asipto.com