<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hello all,<div><br></div><div>I have following configuration:</div><div>1. Htable which loads from MySQL DB and has autoexpire setting. <i>modparam("htable", "htable", "tl_connect_users=>size=4;autoexpire=120;dbtable=some_htable")</i></div><div>2. Regular <i>route[SOME_ROUTE]</i> with sole logic.</div><div>3. <i>event_route[htable:mod-init]</i></div><div>4. <i>event_route[htable:expired:

<i style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial">some_htable</i>]</i></div><div><br></div><div>I use while loop in <i style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial">event_route[htable:mod-init]</i><span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"> to extract stored values from htable, assign them to 

<i style="text-decoration-style:initial;text-decoration-color:initial">$var(some_variable)</i>

 and call <i>SOME_ROUTE</i> to perform some action for all of them on Kamailio start up. <i>SOME_ROUTE</i> has <i>$sht(<i style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial">some_htable</i>

=>$var(some_variable)) = "enabled"</i> line to add expired value back to the htable.</span></div><div><span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><br></span></div><div><span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><span style="text-decoration-style:initial;text-decoration-color:initial">The pboblem is when</span><i style="text-decoration-style:initial;text-decoration-color:initial"> event_route[htable:expired:<span> </span><i style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial">some_htable</i>]</i> triggers 

<i style="text-decoration-style:initial;text-decoration-color:initial">SOME_ROUTE</i><span style="text-decoration-style:initial;text-decoration-color:initial">. Values are not being added to htable. Hovewer if I will try to manipulate values for key_name or key_value by adding some character new item will be 

<span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">insert</span>

to the htable.</span><br></span></div><div><br></div><div>Does anybody know if behavior is correct when exactly same value can not be inserted back to htable on it's 

<span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial">expired</span> event?</div><div><br></div><div>Thanks a lot!</div></div></div></div></div></div>