On 8/7/13 8:35 AM, Juha Heinanen wrote:
in kamailio 4.0, what could cause these kind of error messages:
Aug 2 09:31:04 voip /usr/sbin/sip-proxy[1779]: ERROR: usrloc [ucontact.c:842]: db_update_ucontact_ruid(): updating record in database failed - empty ruid Aug 2 09:31:04 voip /usr/sbin/sip-proxy[1779]: ERROR: usrloc [urecord.c:363]: wb_timer(): updating contact in db failed Aug 2 09:32:04 voip /usr/sbin/sip-proxy[1779]: ERROR: usrloc [ucontact.c:842]: db_update_ucontact_ruid(): updating record in database failed - empty ruid Aug 2 09:32:04 voip /usr/sbin/sip-proxy[1779]: ERROR: usrloc [urecord.c:363]: wb_timer(): updating contact in db failed
relevant usrloc params are:
modparam("usrloc", "db_mode", 1) modparam("usrloc", "db_ops_ruid", 1) modparam("usrloc", "db_check_update", 1) modparam("usrloc", "timer_procs", 2)
how is it possible that ruid in memory record is empty?
when db_mode=1, why kamailio does try to update (rather than delete) a record in database by timer?
is this with latest branch 4.0? Do you add contacts via mi/rpc or they are added only by sip registrations?
Cheers, Daniel