Re: [SR-Users] iterating over htable with lua

2022-05-05 Thread David Villasmil
can anyone help on this? Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 On Wed, May 4, 2022 at 10:36 AM David Villasmil < david.villasmil.w...@gmail.com> wrote: > Hello guys, > > I'm trying to iterate over an htable in lus, this is what i have: > >

[SR-Users] iterating over htable with lua

2022-05-04 Thread David Villasmil
Hello guys, I'm trying to iterate over an htable in lus, this is what i have: === loadmodule "app_lua.so" modparam("app_lua", "load", "/etc/kamailio/myscript.lua") modparam("htable", "htable", "mydata=>size=16;autoexpire=0;dbtable=mydata;dbmode=0;") route {