It seems that callid is empty. Output after applying patch:

Nov  3 15:54:51 b6174a49bae4 kamailio[2539]: DEBUG: presence [publish.c:75]: msg_presentity_clean(): cleaning expired presentity information
Nov  3 15:54:51 b6174a49bae4 kamailio[2539]: DEBUG: db_sqlite [dbase.c:183]: db_sqlite_submit_query(): submit_query: select username,domain,etag,event from presentity where expires<?1 AND expires>?2 order by username
Nov  3 15:54:51 b6174a49bae4 kamailio[2539]: DEBUG: <core> [db_res.c:116]: db_new_result(): allocate 56 bytes for result set at 0x7fb7c2b94c30
Nov  3 15:54:51 b6174a49bae4 kamailio[2539]: DEBUG: presence [publish.c:116]: msg_presentity_clean(): found n= 0 expires messages#012
Nov  3 15:54:51 b6174a49bae4 kamailio[2539]: DEBUG: <core> [db_res.c:79]: db_free_columns(): freeing 0 columns
Nov  3 15:54:51 b6174a49bae4 kamailio[2539]: DEBUG: <core> [db_res.c:134]: db_free_result(): freeing result set at 0x7fb7c2b94c30
Nov  3 15:54:51 b6174a49bae4 kamailio[2539]: DEBUG: db_sqlite [dbase.c:183]: db_sqlite_submit_query(): submit_query: delete from presentity where expires<?1 AND expires>?2
Nov  3 15:54:51 b6174a49bae4 kamailio[2539]: DEBUG: presence [subscribe.c:734]: msg_watchers_clean(): cleaning pending subscriptions
Nov  3 15:54:51 b6174a49bae4 kamailio[2539]: DEBUG: db_sqlite [dbase.c:183]: db_sqlite_submit_query(): submit_query: delete from watchers where inserted_time<?1 AND status=?2
Nov  3 15:54:51 b6174a49bae4 kamailio[2539]: DEBUG: presence [subscribe.c:2318]: timer_db_update(): db_update timer
Nov  3 15:54:51 b6174a49bae4 kamailio[2539]: DEBUG: presence [subscribe.c:1984]: update_db_subs_timer_dbnone(): update_db_subs_timer_dbnone: start
Nov  3 15:54:51 b6174a49bae4 kamailio[2539]: DEBUG: pua [pua.c:1098]: db_update(): INSERTDB_FLAG
Nov  3 15:54:51 b6174a49bae4 kamailio[2539]: DEBUG: pua [pua.c:1106]: db_update(): p->callid is empty
Nov  3 15:54:51 b6174a49bae4 kamailio[2539]: DEBUG: db_sqlite [dbase.c:183]: db_sqlite_submit_query(): submit_query: insert into pua (pres_uri,pres_id,flag,event,watcher_uri,call_id,to_tag,from_tag,etag,tuple_id,cseq,expires,desired_expires,record_route,contact,remote_contact,version,extra_headers ) values (?1,?2,?3,?4,?5,?6,?7,?8,?9,?10,?11,?12,?13,?14,?15,?16,?17,?18)
Nov  3 15:54:51 b6174a49bae4 kamailio[2539]: ERROR: db_sqlite [dbase.c:489]: db_sqlite_commit(): sqlite commit failed: NOT NULL constraint failed: pua.from_tag
Nov  3 15:54:51 b6174a49bae4 kamailio[2539]: ERROR: db_sqlite [dbase.c:138]: db_sqlite_cleanup_query(): finalize failed: NOT NULL constraint failed: pua.from_tag
Nov  3 15:54:51 b6174a49bae4 kamailio[2539]: ERROR: pua [pua.c:1186]: db_update(): while inserting in db table pua


Reply to this email directly or view it on GitHub.