<div dir="ltr"><div>I'm trying to use <span class="" id=":9oj.1" tabindex="-1" style="background:yellow">dlg</span>_set_timeout_by_profile and it doesn't do nothing on <span class="" id=":9oj.2" tabindex="-1" style="background:yellow">Kamailio</span> 4.1.5</div><div><br></div><div>If i try to use the <span class="" id=":9oj.3" tabindex="-1" style="background:yellow">dlg</span>_set_timeout, it also doesn't work, but it gives the following error</div><div><br></div><div><div>CRITICAL: dialog [<span class="" id=":9oj.4" tabindex="-1" style="background:yellow">dlg</span>_timer.c:205]: update_<span class="" id=":9oj.5" tabindex="-1" style="background:yellow">dlg</span>_timer(): Trying to update a bogus <span class="" id=":9oj.6" tabindex="-1" style="background:yellow">dlg</span> <span class="" id=":9oj.7" tabindex="-1" style="background:yellow">tl</span>=0x7f9825ac6880 <span class="" id=":9oj.8" tabindex="-1" style="background:yellow">tl</span>->next=(nil) <span class="" id=":9oj.9" tabindex="-1" style="background:yellow">tl</span>->prev=(nil)</div><div>ERROR: dialog [<span class="" id=":9oj.10" tabindex="-1" style="background:yellow">dlg</span>_hash.c:1094]: update_<span class="" id=":9oj.11" tabindex="-1" style="background:yellow">dlg</span>_timeout(): failed to update dialog lifetime</div></div><div><br></div><div>If i set the timeout with the $<span class="" id=":9oj.12" tabindex="-1" style="background:yellow">avp</span>, it only works before <span class="" id=":9oj.13" tabindex="-1" style="background:yellow">dlg</span>_manage(), but also with a Warning</div><div><br></div><div>WARNING: dialog [<span class="" id=":9oj.14" tabindex="-1" style="background:yellow">dlg</span>_handlers.c:1245]: <span class="" id=":9oj.15" tabindex="-1" style="background:yellow">dlg</span>_<span class="" id=":9oj.16" tabindex="-1" style="background:yellow">onroute</span>(): <span class="" id=":9oj.17" tabindex="-1" style="background:yellow">inconsitent</span> <span class="" id=":9oj.18" tabindex="-1" style="background:yellow">dlg</span> timer data on <span class="" id=":9oj.19" tabindex="-1" style="background:yellow">dlg</span> 0x7f9da0dc7f08 [4066:9857] with <span class="" id=":9oj.20" tabindex="-1" style="background:yellow">clid</span> 'bba73ace3ee94b95bf5b1782406047bd' and tags '6460df6b8b3947ba96b1cf65330bf524' 'm2pmrUpHN06Fc'<br></div><div><br></div><div><br></div><div>The dialog module configurations are:</div><div><br></div><div><div><span class="" id=":9oj.21" tabindex="-1" style="background:yellow">modparam</span>("dialog", "db_<span class="" id=":9oj.22" tabindex="-1" style="background:yellow">url</span>", <span class="" id=":9oj.23" tabindex="-1" style="background:yellow">DBURL</span>)</div><div><span class="" id=":9oj.24" tabindex="-1" style="background:yellow">modparam</span>("dialog", "<span class="" id=":9oj.25" tabindex="-1" style="background:yellow">dlg</span>_flag", FLT_<span class="" id=":9oj.26" tabindex="-1" style="background:yellow">DLG</span>)</div><div><span class="" id=":9oj.27" tabindex="-1" style="background:yellow">modparam</span>("dialog", "db_mode", 0)<br></div><div><span class="" id=":9oj.28" tabindex="-1" style="background:yellow">modparam</span>("dialog", "enable_stats", 1)<br></div><div><span class="" id=":9oj.29" tabindex="-1" style="background:yellow">modparam</span>("dialog", "<span class="" id=":9oj.30" tabindex="-1" style="background:yellow">dlg</span>_match_mode", 1)</div><div><span class="" id=":9oj.31" tabindex="-1" style="background:yellow">modparam</span>("dialog", "profiles_with_value", "user ; domain ; permissions")</div><div><span class="" id=":9oj.32" tabindex="-1" style="background:yellow">modparam</span>("dialog", "profiles_no_value", "inbound ; outbound ; all")</div><div><span class="" id=":9oj.33" tabindex="-1" style="background:yellow">modparam</span>("dialog", "send_bye", 1)</div><div><span class="" id=":9oj.34" tabindex="-1" style="background:yellow">modparam</span>("dialog", "default_timeout", 21600)</div><div><span class="" id=":9oj.35" tabindex="-1" style="background:yellow">modparam</span>("dialog", "<span class="" id=":9oj.36" tabindex="-1" style="background:yellow">ka</span>_timer", 0)</div><div><span class="" id=":9oj.37" tabindex="-1" style="background:yellow">modparam</span>("dialog", "<span class="" id=":9oj.38" tabindex="-1" style="background:yellow">ka</span>_interval", 0)</div><div><span class="" id=":9oj.39" tabindex="-1" style="background:yellow">modparam</span>("dialog", "timeout_<span class="" id=":9oj.40" tabindex="-1" style="background:yellow">avp</span>", "$<span class="" id=":9oj.41" tabindex="-1" style="background:yellow">avp</span>(<span class="" id=":9oj.42" tabindex="-1" style="background:yellow">dlgtimeout</span>)")</div></div><div><br></div><div><br></div><div>I'm very interested to use dlg_set_timeout_by_profile,  any idea about what is wrong with that ?</div><div><br></div><div>Regards,</div><br clear="all"><div><div dir="ltr"><p style="margin:0px;line-height:18pt"><b><span style="font-size:9pt;font-family:'Trebuchet MS',sans-serif;color:rgb(19,55,112)"><span class="" id=":9oj.43" tabindex="-1" style="background:yellow">José</span> <span class="" id=":9oj.44" tabindex="-1" style="background:yellow">Ferreira</span> | Technical Manager</span></b><b><span style="font-size:9pt;font-family:'Trebuchet MS',sans-serif;color:rgb(31,73,125)"> </span></b><span style="color:rgb(31,73,125)"><u></u><u></u></span></p><p style="margin:0px 0px 12pt"><span style="font-size:8pt;font-family:'Trebuchet MS',sans-serif;color:rgb(19,55,112)">M. <a value="+351910371130">+351 91 775 7166</a> | </span><span style="font-size:8pt;font-family:'Trebuchet MS',sans-serif;color:rgb(31,73,125)"><a href="mailto:jferreira@wavecom.pt" target="_blank"><span class="" id=":9oj.45" tabindex="-1" style="background:yellow">jferreira</span>@<span class="" id=":9oj.46" tabindex="-1" style="background:yellow">wavecom</span>.pt</a></span><span style="font-size:8pt;color:rgb(31,73,125)"><u></u><u></u></span></p><p style="margin:0px"><span style="font-size:8pt;font-family:'Trebuchet MS',sans-serif;color:rgb(19,55,112)"><span class="" id=":9oj.47" tabindex="-1" style="background:yellow">Wavecom</span>, <span class="" id=":9oj.48" tabindex="-1" style="background:yellow">Soluções</span> <span class="" id=":9oj.49" tabindex="-1" style="background:yellow">Rádio</span>, SA<u></u><u></u></span></p><p style="margin:0px"><span style="font-size:8pt;font-family:'Trebuchet MS',sans-serif;color:rgb(19,55,112)"><span class="" id=":9oj.50" tabindex="-1" style="background:yellow">Cacia</span> Park | <span class="" id=":9oj.51" tabindex="-1" style="background:yellow">Rua</span> do <span class="" id=":9oj.52" tabindex="-1" style="background:yellow">Progresso</span>, <span class="" id=":9oj.53" tabindex="-1" style="background:yellow">Lote</span> 15</span><span style="color:rgb(31,73,125)"><u></u><u></u></span></p><p style="margin:0px"><span style="font-size:8pt;font-family:'Trebuchet MS',sans-serif;color:rgb(19,55,112)">3800-639 <span class="" id=":9oj.54" tabindex="-1" style="background:yellow">AVEIRO</span> | Portugal</span><span style="color:rgb(31,73,125)"><u></u><u></u></span></p><p style="margin:0px"><span style="font-size:8pt;font-family:'Trebuchet MS',sans-serif;color:rgb(19,55,112)">T. <a value="+351234919190">+351 234 919 190</a> | F. <a value="+351234919191">+351 234 919 191</a></span><span style="color:rgb(31,73,125)"><u></u><u></u></span></p><p style="margin:0px"><b><span style="font-size:9pt;font-family:'Trebuchet MS',sans-serif;color:rgb(31,73,125)"><a href="http://www.wavecom.pt/" target="_blank">www.<span class="" id=":9oj.55" tabindex="-1" style="background:yellow">wavecom</span>.pt</a></span></b><span style="color:rgb(31,73,125)"><u></u><u></u></span></p><p style="margin:0px"><span style="color:rgb(31,73,125)"><u></u> <u></u></span></p><p style="margin:0px"><span style="color:rgb(31,73,125)"><u></u> </span></p><p style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><u></u></p><p style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><img src="cid:image002.png@01CF737D.66E4A340" alt="WavecomSignature"><br></p><p style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><img src="http://www.wavecom.pt/email_signature/pub.png"><br></p><p></p></div></div>
</div>