[Users-br] Credential protection.

Thiago Rondon thiago em aware.com.br
Segunda Novembro 23 13:15:44 CET 2009


Hi,

I try to do this in my registrar with opensips:

1 - db_check_auth()

    Check credential for the user.

2 - check_if_user_is_logged()

    Check if there are same credential logged with the same username.

3 - kill_user_currently_logged()

    Kill the username (send a terminted session message) currently logged.

4 - Login OK.

    Do the login.

So, I doesn't allow simultaneos login, but when the same user logged in, 
I need to logout the previews logged session of user.

Suggestions ?

Thanks in advanced!
-Thiago Rondon





More information about the Users-br mailing list