From bkk@ednt.de Mon Nov 21 08:50:45 2022 From: Bernd Krueger-Knauber To: sr-users@lists.kamailio.org Subject: [SR-Users] Problem with update/retrigger a htable Date: Mon, 21 Nov 2022 08:50:42 +0100 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0329438122==" --===============0329438122== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Hi members, I run into a problemm with htable. For user push notifications I need a loop. So I did the following for a first test: modparam("htable", "htable", "user=>size=3;autoexpire=5") ... event_route[htable:mod-init] {     xinfo("htable init");     $sht(user=>testkey) = "testvalue"; } event_route[htable:expired:user] {     xinfo("Record expired $shtrecord(key) => $shtrecord(value)");     $sht(user=>$shtrecord(key)) = $shtrecord(value); } I see the htable init, and I reach Record expired, but only once. The 'new' entry $sht(user=>$shtrecord(key)) = $shtrecord(value); seams not to be re-added, because I never reach the expired event again. I expected to see cyclic expired events. Also strange: expire is set to 5 seconds I get: Nov 21 08:34:50 xxx /usr/sbin/kamailio[254662]: INFO: