I changed this:
*modparam("ndb_redis", "server", "name=srvN;addr=127.0.0.1;port=6379;db=1")*
by it:
*modparam("ndb_redis", "server", "name=srvN;addr=127.0.0.1;port=6379")*
And began to work.
Thanks my friend !
Fabián -
El mié., 29 de jun. de 2016 a la(s) 14:01, SamyGo
escribió:
> Can you do th
Can you do the same with either reids on DB=1 or remove db=1 string from
the ndb_redis url.
redis-cli
127.0.0.1:6379> select 1
127.0.0.1:6379[1]> GHET usuario:2001 status
OR
*modparam("ndb_redis", "server", "name=srvN;addr=127.0.0.1;port=6379")*
If that doesn't help I'll be happy to share the r
Thanks Sammy !
I tried that, but it's doesn't work.
Here below, both options:
*redis-cli*
127.0.0.1:6379> HGET usuario:2001 status
"online"
*kamailio.cfg*
if(redis_cmd("srvN", "HGET usuario:2001 status", "res")) {
xlog("L_INFO","array size: $redis(res=>size) - type: $redis(res=>type)
- value
Hi,
I dont have my config at cell will share mine later. Meanwhile can you try
HGET only to pull that 1 value plus use
$redis(res=>value) with that.
Regards,
Sammy
On Jun 28, 2016 02:25, "Fabian Pignataro"
wrote:
> Hello Community,
>
> I'm trying to read data (hash) stored in redis database, from
Hello Community,
I'm trying to read data (hash) stored in redis database, from kamailio
script.
I read the module documentation ndb_redis:
http://www.kamailio.org/docs/modules/4.4.x/modules/ndb_redis.html#idp26300788
But I'but I don't understand what I'm doing wrong :/
With someone has had exper
Hello,
there is no redis module that implements the database api, the existing
one is just of operations done from configuration file.
If you want a no-sql backend for the modules that require a DB module,
then cassandra or mongodb are the options now (see modules prefixed with
db_).
Cheers,
Dan
Hi All,
i want to replace MySQL with redis database in kamalio,but in kamalio
supports transactions with MySQL ,ie saving data in MySql DB.but while
trying to run kamailio with redis ,transaction are not happening,is there
any module that i have to enable in kamalio for No SQL databases
transact