Hello! My goal is to create a mechanism for dynamic creation/deletion of SIP users on Kamailio. First question: is it possible to create users not via kamctl command, but directly inserting new entries to this tables? 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. Thank you
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))