<div dir="ltr">Thanks for your reply. I used mod_memcache for above purpose. <br></div><div class="gmail_extra"><br><div class="gmail_quote">On 28 January 2015 at 23:06, William King <span dir="ltr">&lt;<a href="mailto:william.king@quentustech.com" target="_blank">william.king@quentustech.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The current mod_redis implementation does not support arbitrary redis<br>
commands. It was build as a channel limit(with only increment and<br>
decrement functions).<br>
<br>
The functionality it appears you are trying to use would require<br>
additional feature development. For instance using the hiredis C library<br>
and supporting arbitrary redis commands.<br>
<br>
William King<br>
Senior Engineer<br>
Quentus Technologies, INC<br>
1037 NE 65th St Suite 273<br>
Seattle, WA 98115<br>
Main:   <a href="tel:%28877%29%20211-9337" value="+18772119337">(877) 211-9337</a><br>
Office: <a href="tel:%28206%29%20388-4772" value="+12063884772">(206) 388-4772</a><br>
Cell:   <a href="tel:%28253%29%20686-5518" value="+12536865518">(253) 686-5518</a><br>
<a href="mailto:william.king@quentustech.com">william.king@quentustech.com</a><br>
<span class=""><br>
On 01/28/2015 11:53 AM, Aqs Younas wrote:<br>
&gt; Hi, list.<br>
&gt;<br>
&gt; I have successfully installed redis-server on my system and mod_redis on<br>
&gt; freeswitch.<br>
&gt; But when i try to set a value with redis in my default.xml, i see<br>
&gt; nothing. This is my default.xml file.<br>
&gt;<br>
&gt; &lt;include&gt;<br>
&gt; &lt;context name=&quot;default&quot;&gt;<br>
&gt;  &lt;extension name=&quot;Testing&quot;&gt;<br>
&gt;         &lt;condition&gt;<br>
&gt;                 &lt;action application=&quot;sched_hangup&quot; data=&quot;+10800<br>
&gt; alloted_timeout&quot;/&gt;<br>
&gt;                 &lt;action application=&quot;answer&quot;/&gt;<br>
&gt;                 &lt;action application=&quot;set&quot; data=&quot;max_forwards=100&quot;/&gt;<br>
&gt;                 &lt;action application=&quot;set&quot; data=&quot;dst=${destination_number}&quot;/&gt;<br>
&gt;                 &lt;action application=&quot;log&quot; data=&quot;${uuid}&quot;/&gt;<br>
&gt;                 &lt;action application=&quot;set&quot; data=&quot;src=${caller_id_number}&quot;/&gt;<br>
</span>&gt;                 *&lt;action application=&quot;set&quot; data=&quot;ignore=${redis(set<br>
<span class="">&gt; ${uuid} ${destination_number})}&quot;/&gt;<br>
&gt;                 &lt;action application=&quot;set&quot; data=&quot;ignore=${redis(get<br>
&gt; ${uuid}}&quot;/&gt;<br>
</span>&gt;                 &lt;action application=&quot;log&quot; data=&quot;${ignore}&quot;/&gt;*<br>
<span class="">&gt;                &lt;action application=&quot;playback&quot; data=&quot;vlc:///opt/song.mp3&quot;/&gt;<br>
&gt;         &lt;/condition&gt;<br>
&gt;    &lt;/extension&gt;<br>
&gt; &lt;/context&gt;<br>
&gt; &lt;/include&gt;<br>
&gt;<br>
&gt; And what I see in my logs is this.<br>
&gt;<br>
&gt; 2015-01-28 22:48:19.542161 [NOTICE] mod_dptools.c:1258 Channel<br>
</span>&gt; [sofia/internal/<a href="tel:14048002020" value="+14048002020">14048002020</a> &lt;tel:<a href="tel:14048002020" value="+14048002020">14048002020</a>&gt;@1003] has been answered<br>
<span class="">&gt; 2015-01-28 22:48:19.542161 [DEBUG] switch_core_session.c:1053 Send<br>
</span>&gt; signal sofia/internal/<a href="tel:14048002020" value="+14048002020">14048002020</a> &lt;tel:<a href="tel:14048002020" value="+14048002020">14048002020</a>&gt;@1003 [BREAK]<br>
<span class="">&gt; 2015-01-28 22:48:19.542161 [DEBUG] switch_core_session.c:1053 Send<br>
</span>&gt; signal sofia/internal/<a href="tel:14048002020" value="+14048002020">14048002020</a> &lt;tel:<a href="tel:14048002020" value="+14048002020">14048002020</a>&gt;@1003 [BREAK]<br>
<span class="">&gt; 2015-01-28 22:48:19.542161 [DEBUG] switch_core_session.c:1053 Send<br>
</span>&gt; signal sofia/internal/<a href="tel:14048002020" value="+14048002020">14048002020</a> &lt;tel:<a href="tel:14048002020" value="+14048002020">14048002020</a>&gt;@1003 [BREAK]<br>
<span class="">&gt; 2015-01-28 22:48:19.562178 [DEBUG] switch_channel.c:3689<br>
</span>&gt; (sofia/internal/<a href="tel:14048002020" value="+14048002020">14048002020</a> &lt;tel:14048002020&gt;@1003) Callstate Change<br>
<span class="">&gt; EARLY -&gt; ACTIVE<br>
&gt; 2015-01-28 22:48:19.562178 [DEBUG] sofia.c:6614 Channel<br>
</span>&gt; sofia/internal/14048002020 &lt;tel:14048002020&gt;@1003 entering state<br>
&gt; [ready][200]<br>
&gt; EXECUTE sofia/internal/14048002020 &lt;tel:14048002020&gt;@1003<br>
<span class="">&gt; set(max_forwards=100)<br>
&gt; 2015-01-28 22:48:19.562178 [DEBUG] mod_dptools.c:1435<br>
</span>&gt; sofia/internal/14048002020 &lt;tel:14048002020&gt;@1003 SET [max_forwards]=[100]<br>
&gt; EXECUTE sofia/internal/14048002020 &lt;tel:14048002020&gt;@1003<br>
&gt; set(dst=19292461002 &lt;tel:19292461002&gt;)<br>
<span class="">&gt; 2015-01-28 22:48:19.562178 [DEBUG] mod_dptools.c:1435<br>
</span>&gt; sofia/internal/14048002020 &lt;tel:14048002020&gt;@1003 SET [dst]=[19292461002<br>
&gt; &lt;tel:%5B19292461002&gt;]<br>
<span class="">&gt; EXECUTE sofia/internal/14048002020@1003<br>
&gt; log(c63b137d-4553-41ed-a4e8-fff431889c40)<br>
&gt; 2015-01-28 22:48:19.562178 [DEBUG] mod_dptools.c:1628<br>
&gt; c63b137d-4553-41ed-a4e8-fff431889c40<br>
&gt; EXECUTE sofia/internal/14048002020@1003 set(src=14048002020)<br>
&gt; 2015-01-28 22:48:19.562178 [DEBUG] mod_dptools.c:1435<br>
&gt; sofia/internal/14048002020@1003 SET [src]=[14048002020]<br>
</span>&gt; *EXECUTE sofia/internal/14048002020@1003 set(ignore=)*<br>
<span class="">&gt; 2015-01-28 22:48:19.562178 [DEBUG] mod_dptools.c:1435<br>
&gt; sofia/internal/14048002020@1003 SET [ignore]=[UNDEF]<br>
</span>&gt; *EXECUTE sofia/internal/14048002020@1003 set(ignore=)*<br>
<span class="">&gt; 2015-01-28 22:48:19.562178 [DEBUG] mod_dptools.c:1435<br>
</span>&gt; sofia/internal/14048002020@1003 SET [ignore]=[UNDEF]*<br>
&gt; EXECUTE sofia/internal/14048002020@1003 log()*<br>
<span class="">&gt; 2015-01-28 22:48:19.562178 [DEBUG] mod_dptools.c:1628<br>
&gt;<br>
&gt; I see nothing. Neither a value being set or an error.<br>
&gt;<br>
&gt; Your help would be much appreciated.<br>
&gt; Thanks.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
</span>&gt; _________________________________________________________________________<br>
&gt; Professional FreeSWITCH Consulting Services:<br>
&gt; <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
&gt; <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
&gt;<br>
&gt; Official FreeSWITCH Sites<br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt; <a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
&gt; <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
&gt;<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br></div>