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