<div dir="ltr"><div><div><div><div><div><div><div><div>Hi, <br></div>I have kamailio 4.2<br></div>with presence, auth, textdb activated. <br><br>The scenario is that Kamailio receives a SUBSCRIBE, sends 200ok then a NOTIFY. (like it should do)<br><br></div>The problem is what when I kill kamailio and run it again, it gives me this error: <br> 0(30580) ERROR: db_text [dbt_tb.c:474]: dbt_table_check_row(): null value not allowed - field 17<br> 0(30580) DEBUG: db_text [dbt_file.c:480]: dbt_load_file(): error at row=1 col=26 c=1<br> 0(30580) ERROR: db_text [dbt_lib.c:307]: dbt_db_get_table(): could not load database from file [active_watchers] 0(30580) ERROR: db_text [dbt_base.c:460]: dbt_delete(): failed to load table <active_watchers>!<br><br></div>The field with null values is record_route, so if I put some value I manage to run kamailio. <br><br></div><br></div>my conf, maybe I missed some field?<br><br>#!define DBURL "text:///etc/kamailio/dbtext"<br>#!ifdef WITH_PRESENCE<br>modparam("presence", "db_url", DBURL)<br>modparam("presence", "max_expires", 3600)<br>modparam("presence", "server_address", "sip:<a href="http://10.0.37.1:5060">10.0.37.1:5060</a>" )<br>modparam("pua_reginfo", "default_domain", "10.0.37.1")<br>modparam("pua_reginfo", "server_address", "sip:10.0.37.1")<br>modparam("pua_reginfo", "outbound_proxy", "sip:10.0.37.1")<br>modparam("pua_reginfo", "publish_reginfo", 1)<br>modparam("pua", "db_mode", 2)<br>modparam("pua", "hash_size", 11)<br>modparam("pua", "db_url", DBURL)<br>modparam("pua", "db_table", "pua")<br>modparam("pua", "min_expires", 0)<br>modparam("pua", "default_expires", 3600)<br>modparam("pua", "update_period", 1000)<br>modparam("pua", "dlginfo_increase_version", 1)<br>modparam("pua", "reginfo_increase_version", 1)<br>modparam("pua", "check_remote_contact", 0)<br>modparam("pua", "fetch_rows", 1000)<br>modparam("presence_xml", "db_url", DBURL)<br>modparam("presence_xml", "force_active", 1)<br>#!endif<br><br></div><div>Or as a workaround, can I reset the active_watchers table every time I start kamailio? because <b>kamdbctl create/drop/init</b>  wipes all the other tables...<br></div><div><br></div>thanks a lot!<br><br></div>Alex<br></div>