Re: [SR-Users] kamailio & redis

2016-06-29 Thread Fabian Pignataro
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

Re: [SR-Users] kamailio & redis

2016-06-29 Thread SamyGo
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

Re: [SR-Users] kamailio & redis

2016-06-29 Thread Fabian Pignataro
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) -

Re: [SR-Users] kamailio & redis

2016-06-28 Thread SamyGo
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)

Re: [SR-Users] Kamailio Redis support

2015-08-06 Thread Daniel-Constantin Mierla
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,

[SR-Users] Kamailio Redis support

2015-08-06 Thread Solutions Solutions
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