Hi,
I want to ask you if it would make sense for kamailio upstream code to
generate_avps() (got from the database) also when the user failed to
register?
Please have a look in src/modules/auth_db/authorize.c line 303.
If it makes sense, I'll do a pull request for it.
Thank you,
Stefan