<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello William,<br>
<br>
this is great, the idea of integrating Redis. We currently use
Memcache in raw mode as a method of externally controlling dialplans
and failover scenarios.<br>
Redis, of course, brings much more features here.<br>
<br>
>Currently the two main use cases are:<br>
>1. Call per second limits<br>
>2. Concurrent call limits<br>
><br>
>Possible additional functionality:<br>
>1. Support for fail-over connections<br>
>2. Asynchronous commands(is there a use case for this?)<br>
<br>
Another idea for your list would be to route calls according to
prefixes. You may lookup Redis with a part of the phone number and
it returns the gateway for this part of the number (redis DB is then
preloaded from another application).<br>
And - as Redis has a publish/subscribe method - you will be able to
publish call informations from the dialplan to multiple external
subscribers (e.g. announce an incoming call to a CRM) without the
use of ESL. Is there a chance to run the redis dialplan app in a non
blocking manner for this scenario, in order to speed up the
dialplan?<br>
<br>
<br>
<br>
Best regards<br>
Peter<br>
<br>
On 05/10/15 03:40, William King wrote:<br>
<blockquote type="cite">I'm working on an update Redis integration
module that will use the C<br>
library hiredis:<br>
<a class="moz-txt-link-freetext" href="http://redis.io/clients#c">http://redis.io/clients#c</a><br>
<a class="moz-txt-link-freetext" href="https://github.com/redis/hiredis">https://github.com/redis/hiredis</a><br>
<br>
I've pushed an alpha version of the module to a branch here:<br>
<a class="moz-txt-link-freetext" href="https://freeswitch.org/stash/projects/FS/repos/freeswitch/commits?until=">https://freeswitch.org/stash/projects/FS/repos/freeswitch/commits?until=</a><br>
refs%2Fheads%2Fmod_hiredis<br>
<br>
The current module has a dialplan app and an api for 'hiredis_raw'<br>
which allows any single line Redis command, and executes it in a<br>
blocking manner, then supports returning string and integer
responses.<br>
<br>
If anyone on this list has any use cases for FreeSWITCH+Redis,
please<br>
reply to this thread. Currently the two main use cases are:<br>
1. Call per second limits<br>
2. Concurrent call limits<br>
<br>
Possible additional functionality:<br>
1. Support for fail-over connections<br>
2. Asynchronous commands(is there a use case for this?)<br>
</blockquote>
<span style="white-space: pre;">><br>
><br>
>
_________________________________________________________________________<br>
> Professional FreeSWITCH Consulting Services: <br>
> <a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
> <a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><br>
><br>
> Official FreeSWITCH Sites<br>
> <a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
> <a class="moz-txt-link-freetext" href="http://confluence.freeswitch.org">http://confluence.freeswitch.org</a><br>
> <a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a><br>
><br>
> FreeSWITCH-users mailing list<br>
> <a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
> <a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
> <a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a></span><br>
<br>
-- <br>
With kind regards<br>
Peter Steinbach <br>
<br>
Telefaks Services GmbH<br>
<a class="moz-txt-link-freetext" href="mailto:lists">mailto:lists</a> (att) telefaks.de<br>
Internet: <a class="moz-txt-link-abbreviated" href="http://www.telefaks.de">www.telefaks.de</a><br>
<br>
<br>
</body>
</html>