[SR-Users] Kamailio users creation mechanism

Daniel Tryba d.tryba at pocos.nl
Fri May 29 11:19:59 CEST 2015


On Thursday 28 May 2015 19:48:20 Alexandru Covalschi wrote:
> First question: is it possible to create users not via kamctl command, but
> directly inserting new entries to this tables?

Yes.

> And the second one: if it is possible, which hash alghorythm Kamailio uses
> when creating a new user on subscriber table? Becase I see 2 fields with
> hashes.

http://lists.opensips.org/pipermail/users/2009-July/006872.html

update subscriber
set ha1 = md5(concat(username, ':', domain, ':', password)),
ha1b = md5(concat(username, '@', domain, ':', domain, ':', password))


-- 

Telefoon: 088 0100 700
Sales: sales at pocos.nl | Service: servicedesk at pocos.nl
http://www.pocos.nl/ | Croy 9c, 5653 LC Eindhoven | Kamer van Koophandel 
17097024




More information about the sr-users mailing list