<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hello,<br>
check out <a class="moz-txt-link-freetext" href="http://redis.io/commands/monitor">http://redis.io/commands/monitor</a><br>
It will help you to determine the exact command that kamailio is
delivering to the server when you execute the redis_cmd(...)
function inside the script.<br>
For a non null reply, yo will need a key in redis with the same
value as $si.<br>
<br>
Javi<br>
On 27/02/15 10:04, Yuriy Gorlichenko wrote:<br>
</div>
<blockquote
cite="mid:CABSP_VeKxkcL5tmi8_Oq+bniNVtg8KujtwgeMT8DNWwv7=EEVQ@mail.gmail.com"
type="cite">
<div dir="ltr">I will try. I new at redis. Does cli monitor get
resul of kamailio request at the cli?</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">2015-02-27 11:38 GMT+03:00 Javi Gallart
<span dir="ltr"><<a moz-do-not-send="true"
href="mailto:jgallart@systemonenoc.com" target="_blank">jgallart@systemonenoc.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>Hello<span class=""><br>
<br>
can you check with "redis-cli monitor" what is the
command sent to Redis in that case?<br>
<br>
Javi<br>
On 27/02/15 09:15, Yuriy Gorlichenko wrote:<br>
</span></div>
<blockquote type="cite">
<div>
<div class="h5">
<div dir="ltr">Hello I try to get some replies from
redis. Time after time redis request give me null
result. But redis bs not disconnected.<br>
<br>
This happens only with websocket endpoints. My
queries is:<br>
<br>
redis_cmd("srv1", "EXISTS $si", "s");<br>
<br>
So at xLOG i see that $si correctly sended, but
result is null. At db I keep key IP with value
TIMESTAMP<br>
<br>
Intresting that route, that givesme this result
idependend of WS or UDP endpoint. IT does not know
about it anything.</div>
<br>
<fieldset></fieldset>
<br>
</div>
</div>
<span class="">
<pre>_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a moz-do-not-send="true" href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a>
<a moz-do-not-send="true" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</span></blockquote>
<br>
</div>
<br>
_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users
mailing list<br>
<a moz-do-not-send="true"
href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a moz-do-not-send="true"
href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users"
target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
</body>
</html>