Hello, was kamailio running? db_text keeps the records in memory and writes to file at shutdown of kamailio.
Cheers, Daniel On 19/05/15 11:23, jaflong jaflong wrote: > 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 > > _______________________________________________ > SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list > sr-users@lists.sip-router.org > http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users -- Daniel-Constantin Mierla http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda Kamailio World Conference, May 27-29, 2015 Berlin, Germany - http://www.kamailioworld.com _______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users