Hi list
i'm trying to set a session timeout in kamailio 4.0 debian repository, i'm new with kamailio
i got this error, when established a call
- CRITICAL: dialog [dlg_timer.c:205]: update_dlg_timer(): Trying to update a bogus dlg tl=0xb29bb454 tl->next=(nil) tl->prev=(nil)
- dialog [dlg_hash.c:987]: update_dlg_timeout(): failed to update dialog lifetime
the config i applied are:
mod parameters:
# ---- dialog ---- modparam("dialog", "enable_stats",1) modparam("dialog", "dlg_flag",4) modparam("dialog", "db_url",DBURL) modparam("dialog", "table_name", "dialog") modparam("dialog", "db_mode",0) #modparam("dialog", "default_timeout", 10) modparam("dialog", "send_bye", 1) modparam("dialog", "profiles_with_value", "caller") modparam("dialog", "timeout_avp", "$avp(i:10)") modparam("dialog", "dlg_match_mode",2) modparam("dialog","detect_spirals",1)
route block:
# account only INVITEs if (is_method("INVITE")) {
setflag(FLT_ACC); # do accounting
#!ifdef WITH_DIALOG
dlg_manage(); dlg_set_timeout("10","$dlg(h_entry)","$dlg(h_id)");
$var(SIZE)=0; get_profile_size("caller", "$rU", "$var(SIZE)");
if( $var(SIZE) >= 1 ){ xlog("DEBUG: Simultaneous calls limit reached for $rU: $var(SIZE)\n"); sl_send_reply("503", "Simultaneous calls limit reached"); exit; }
set_dlg_profile("caller","$rU");
if(get_profile_size("caller","$var(SIZE)")) { xlog("DEBUG: there are $var(SIZE) total $dlg(h_id) calls for $rU\n");
}
#!endif
I hope could you help me thanks in advance