Setting variables with mod_hiredis
Hello, Does anyone have list of useful commands for mod_hiredis. I am interested to know if it's possible to set channel variable as in the mod_memcache example below: <action application="set" data="ignore=${memcache(set key ${channel_var})}"/> Cheer, AH
You can call lua script and pass var as param On Fri, Jul 1, 2016, 18:04 Abdul Hakeem <alhakeem@gmail.com> wrote:
Hello,
Does anyone have list of useful commands for mod_hiredis. I am interested to know if it's possible to set channel variable as in the mod_memcache example below: <action application="set" data="ignore=${memcache(set key ${channel_var})}"/>
Cheer, AH
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Thanks Sergey, running Lua scripts at the dialplan is exactly what I am trying to avoid. From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Sergey Safarov Sent: Friday, July 1, 2016 8:14 PM To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> Subject: Re: [Freeswitch-users] Setting variables with mod_hiredis You can call lua script and pass var as param On Fri, Jul 1, 2016, 18:04 Abdul Hakeem <alhakeem@gmail.com <mailto:alhakeem@gmail.com> > wrote: Hello, Does anyone have list of useful commands for mod_hiredis. I am interested to know if it's possible to set channel variable as in the mod_memcache example below: <action application="set" data="ignore=${memcache(set key ${channel_var})}"/> Cheer, AH _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
What is purpose of this complex variable setting construction? On Mon, Jul 4, 2016, 20:44 Abdul Hakeem <alhakeem@gmail.com> wrote:
Thanks Sergey, running Lua scripts at the dialplan is exactly what I am trying to avoid.
*From:* freeswitch-users-bounces@lists.freeswitch.org [mailto: freeswitch-users-bounces@lists.freeswitch.org] *On Behalf Of *Sergey Safarov *Sent:* Friday, July 1, 2016 8:14 PM *To:* FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> *Subject:* Re: [Freeswitch-users] Setting variables with mod_hiredis
You can call lua script and pass var as param
On Fri, Jul 1, 2016, 18:04 Abdul Hakeem <alhakeem@gmail.com> wrote:
Hello,
Does anyone have list of useful commands for mod_hiredis. I am interested to know if it's possible to set channel variable as in the mod_memcache example below: <action application="set" data="ignore=${memcache(set key ${channel_var})}"/>
Cheer, AH
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
May be this could help you. https://quentustech.com/new-redis-module-in-freeswitch-called-mod_hiredis.ht... On 5 July 2016 at 22:17, Sergey Safarov <s.safarov@gmail.com> wrote:
What is purpose of this complex variable setting construction?
On Mon, Jul 4, 2016, 20:44 Abdul Hakeem <alhakeem@gmail.com> wrote:
Thanks Sergey, running Lua scripts at the dialplan is exactly what I am trying to avoid.
*From:* freeswitch-users-bounces@lists.freeswitch.org [mailto: freeswitch-users-bounces@lists.freeswitch.org] *On Behalf Of *Sergey Safarov *Sent:* Friday, July 1, 2016 8:14 PM *To:* FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> *Subject:* Re: [Freeswitch-users] Setting variables with mod_hiredis
You can call lua script and pass var as param
On Fri, Jul 1, 2016, 18:04 Abdul Hakeem <alhakeem@gmail.com> wrote:
Hello,
Does anyone have list of useful commands for mod_hiredis. I am interested to know if it's possible to set channel variable as in the mod_memcache example below: <action application="set" data="ignore=${memcache(set key ${channel_var})}"/>
Cheer, AH
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (3)
-
Abdul Hakeem
-
Aqs Younas
-
Sergey Safarov