Hi Thiago, why do you want to achieve such behaviour? more or less it is against SIP idea, where you have parallel registrations for a single account.
I'm just curios of the reasons, to see if it really pays of to work out a solution for it :) Regards, Bogdan Thiago Rondon wrote: > 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 > > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > > -- Bogdan-Andrei Iancu www.voice-system.ro _______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
