[SR-Users] setup dbtext issues

jaflong jaflong jaflong at yandex.com
Tue May 19 11:23:55 CEST 2015


I need some instructions on how to setup dbtext properly

I generated dbtext files through "./kamdbctl create"

I then add user through "./kamctrl add user1 user1"


It seems to have added the user because when I do the show './kamctl show user1' command it displays

[1, ' user1', '10.1.1.1', ' user1', '', 'ee2820706921ce44a3f760e03ff19a22', '9e2c9e7df27f474d2b995c7e94ab32f2', '']


However viewing the subscriber file /usr/local/etc/kamailio/dbtext/subscriber

id(int,auto) username(string) domain(string) password(string) email_address(string,null) ha1(string,null) ha1b(string,null) rpid(string,null)



There is no entry for 'user1'.

Where is it storing the user data and why is it not in the subscriber file?.
 

user1 is not recognised when trying to register
 3(20432) DEBUG: db_text [dbt_api.c:80]: dbt_get_columns(): allocate 16 bytes for RES_NAMES[0] at 0x7f9e0dd776c0 3(20432) DEBUG: auth_db [authorize.c:196]: get_ha1(): no result for user 'user1@'



Regards



More information about the sr-users mailing list