Thank you for your reply, maybe I don't express correctly the concept.

when I create a user with kamctl, the subscriber table:

ha1 string 128 '' no

md5(username:realm:password)

ha1b string 128 '' no

md5(username@domain:realm:password)

How can I create a user using sha-256 hash?

Regards

---
I'm SoCIaL, MayBe
El 4/03/2025 a las 9:20 a. m., Daniel-Constantin Mierla escribió:
Hello,

On 04.03.25 15:08, Social Boh via sr-users wrote:
Hello list,

is it possible create a user using sha-256 hash?

My goal is Asterisk PBX Register ----- sha-256 digest authentication
-> Kamailio
yes, you can specify the auth algorithm per user with the function:

  -
https://www.kamailio.org/docs/modules/devel/modules/auth.html#auth.f.auth_algorithm

Cheers,
Daniel