[SR-Users] ndb_redis set <null> reply to EXISTS query

Yuriy Gorlichenko ovoshlook at gmail.com
Fri Mar 6 09:45:18 CET 2015


modparam("ndb_redis", "server",
"name=srv1;addr=non_local_serv;port=6379;db=4;pass=mypass")

[TOASTERISK]
redis_cmd("srv1", "EXISTS $si", "s");
xlog("L_INFO","ASTERISK with ip $si is {$redis(s=>value)}");
 $var(setid)=0;
if ($redis(s=>value) == 0) {
xlog("L_INFO","Request {$rm} from $si != {$var(dest)} It means call NOT
from ASTRISK");
        }

Ok/ I will try to do it with debug

2015-03-06 10:51 GMT+03:00 Javi Gallart <jgallart at systemonenoc.com>:

> Unless you send the relevant part of your configuration and of the
> restults the tests I proposed it is really diificult to provide more
> detailed advice. For instance, is your redis instance in the same machine
> as Kamailio? Are you using unix sockets or tcp sockets? Can you run
> kamailio in debig mode to see any potentially helpful message?
>
> Javi
> On 06/03/15 08:04, Yuriy Gorlichenko wrote:
>
>> arrives kamailio stil disconnects from redis.  Haw can I debug this
>> deeper?
>>
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20150306/9c8b315b/attachment.html>


More information about the sr-users mailing list