Hello,
I get the result:
kamailio # kamcmd htable.dump abc
error: 500 - No such htable
--Olli
On 5.5.2015 10:19, Daniel-Constantin Mierla wrote:
Hello,
can you list the content of the table 'abc'?
Cheers,
Daniel
On 04/05/15 21:44, Olli Attila wrote:
> Hello,
>
> I am trying to load a test hash table on kamailio startup but I keep
> getting the following error with kamctl after i restart Kamailio and
> try to list all the tables in memory:
>
> kamcmd> htable.listTables
> error: 500 - No htables
>
> I have the following configured in kamailio.cfg:
> # ---- loading the htable module
> loadmodule "htable.so"
> # ----- htable params -----
> modparam("htable", "htable",
"abc=>size=8;autoexpire=0;dbtable=htable;")
> modparam("htable", "db_url", DBURL)
> modparam("htable", "fetch_rows", 1000)
>
> The DBURL is pointed to the kamailio database on the same machine.
> #!ifndef DBURL
> #!define DBURL "mysql://kamailio:kamailiorw@localhost/kamailio"
> #!endif
>
> I have also added the following values for testing purposes to the
> kamailio.htable:
> id key_name key_type value_type key_value expires
> ------ ---------- -------- ---------- --------- ---------
> 1 test 0 0 12345 0
>
> Is there anything else that i might be missing here? Im running
> kamailio v.4.2.4.
>
> Cheers,
>
> -- Olli
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users(a)lists.sip-router.org
>
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users