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(a)systemonenoc.com>om>:
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(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users