From govoiper@gmail.com Wed Jun 29 19:01:34 2016 From: SamyGo To: sr-users@lists.kamailio.org Subject: Re: [SR-Users] kamailio & redis Date: Wed, 29 Jun 2016 13:01:26 -0400 Message-ID: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0236538614==" --===============0236538614== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Can you do the same with either reids on DB=3D1 or remove db=3D1 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=3DsrvN;addr=3D127.0.0.1;port=3D6379")* If that doesn't help I'll be happy to share the relevant configs which I assure you are the same. Thanks, Sammy On Tue, Jun 28, 2016 at 9:33 AM, Fabian Pignataro < fabian.pignataro84(a)gmail.com> wrote: > 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=3D>size) - type: > $redis(res=3D>type) - value: $redis(res=3D>value)\n"); > } > *output /var/log/syslog* > Jun 28 10:20:50 kamailio-fts /usr/sbin/kamailio[4665]: INFO: