It is working for sure, because I'm using it (reloading from db to refresh memory cache).
Regards, Ovidiu Sas On Feb 23, 2014 11:56 AM, "Uri Shacked" <ushac...@gmail.com> wrote: > It does not work...I tried with autoexpire=0, I tried with no autoexpires > define, I Tried defining a number and see if the value is updated.... > > > this is my table definition: > > modparam("htable", "htable", "A=>size=8,dbtable=aaaaaa;initial=0,dbmobe=0;") > > > I remind you i need the memory to be updated from the DB every interval, and > not the DB form the memory. > > > thanks. > > > > >Declare the table without autoexpire. Check again the module README. > > >Regards, > >Ovidiu Sas > >On Feb 23, 2014 11:23 AM, "Uri Shacked" <ushacked at gmail.com > ><http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users>> wrote: > > >>* Hi, > *>>>>* Following my issue with reloading data. I am thinking of a way to keep > *>>* data updated in memory. > *>>* I read the HTABLE module again and notice the "db_expires" option. > *>>* It does not work for me... > *>>>>* I try to set it so an item will expire in 60 sec, and when expired, it > *>>* will be reloaded from DB and not deleted. > *>>>>* Any ideas? > *>>>>* Uri* > >
_______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users