<div dir="ltr">modparam("ndb_redis", "server", "name=srv1;addr=non_local_serv;port=6379;db=4;pass=mypass")<br><br><div>[TOASTERISK]<br>redis_cmd("srv1", "EXISTS $si", "s");</div><div><span class="" style="white-space:pre">        </span>xlog("L_INFO","ASTERISK with ip $si is {$redis(s=>value)}");</div><div><span class="" style="white-space:pre">        </span></div><div><span class="" style="white-space:pre">   </span></div><div><span class="" style="white-space:pre">   </span>$var(setid)=0;</div><div><span class="" style="white-space:pre">     </span>if ($redis(s=>value) == 0) {<span style="white-space:pre">      </span></div><div><span class="" style="white-space:pre">         </span>xlog("L_INFO","Request {$rm} from $si != {$var(dest)} It means call NOT from ASTRISK");<br>        }<br><br>Ok/ I will try to do it with debug</div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-03-06 10:51 GMT+03:00 Javi Gallart <span dir="ltr"><<a 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">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?<span class="HOEnZb"><font color="#888888"><br>
<br>
Javi</font></span><span class="im HOEnZb"><br>
On 06/03/15 08:04, Yuriy Gorlichenko wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
arrives kamailio stil disconnects from redis.  Haw can I debug this deeper?<br>
</blockquote>
<br>
<br></span><div class="HOEnZb"><div class="h5">
______________________________<u></u>_________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/<u></u>cgi-bin/mailman/listinfo/sr-<u></u>users</a><br>
</div></div></blockquote></div><br></div>