Now I see that null values recieved after I see this at kamailio log

redisc_exec(): Redis error: Server closed the connection


2015-02-27 12:45 GMT+03:00 Javi Gallart <jgall...@systemonenoc.com>:

>  Hello,
> check out http://redis.io/commands/monitor
> 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.
> For a non null reply, yo will need a key in redis with the same value as
> $si.
>
> Javi
>
> On 27/02/15 10:04, Yuriy Gorlichenko wrote:
>
> I will try. I new at redis. Does cli monitor get resul of kamailio request
> at the cli?
>
> 2015-02-27 11:38 GMT+03:00 Javi Gallart <jgall...@systemonenoc.com>:
>
>>  Hello
>>
>> can you check with "redis-cli monitor" what is the command sent to Redis
>> in that case?
>>
>> Javi
>> On 27/02/15 09:15, Yuriy Gorlichenko wrote:
>>
>>  Hello I try to get some replies from redis. Time after time redis
>> request give me null result. But redis bs not disconnected.
>>
>> This happens only with websocket endpoints. My queries is:
>>
>> redis_cmd("srv1", "EXISTS $si", "s");
>>
>> So at xLOG i see that $si correctly sended, but result is null. At db I
>> keep key IP with value TIMESTAMP
>>
>> Intresting that route, that givesme this result idependend of WS or UDP
>> endpoint. IT does not know about it anything.
>>
>>
>>   _______________________________________________
>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing 
>> listsr-us...@lists.sip-router.orghttp://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>
>>
>>
>> _______________________________________________
>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>> sr-users@lists.sip-router.org
>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>
>>
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing 
> listsr-us...@lists.sip-router.orghttp://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users@lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to