Re: [asterisk-users] Redis in place of astdb

2020-07-08 Thread Steve Edwards
On Wed, 8 Jul 2020, Dovid Bender wrote: we need to use an AGI to connect to redis... I can execute about 400 AGIs (written in C, only parsing the AGI environment) per second on a Linode Nanode: verbose(1,${EPOCH}); agi(null-agi); ...

Re: [asterisk-users] Redis in place of astdb

2020-07-08 Thread John Kiniston
Dovid, You could use func_odb + a ODBC Redis driver to keep from having to shell out. On Wed, Jul 8, 2020 at 4:37 AM Dovid Bender wrote: > Hi, > > Does anyone know of any projects that would allow you to use Redis in > place of AstDB? By in place of I don't mean for what Asterisk needs but to >

Re: [asterisk-users] Redis in place of astdb

2020-07-08 Thread Steve Edwards
On Wed, 8 Jul 2020, Dovid Bender wrote: Does anyone know of any projects that would allow you to use Redis in place of AstDB? https://langiac.blogspot.com/2018/04/asterisk-dialplan-and-redis-integration.html covers func_redis and Perl Redis. -- Thanks in advance,

Re: [asterisk-users] Redis in place of astdb

2020-07-08 Thread Dovid Bender
Volodya, I prefer redis since that's what we have under the hood for other items. I do have it working with the SHELL function but like I mentioned I need to invoke another script which adds to resources being used. On Wed, Jul 8, 2020 at 11:53 AM Volodya Ivanets wrote: > Hello, > > Are you

Re: [asterisk-users] Redis in place of astdb

2020-07-08 Thread Volodya Ivanets
Hello, Are you looking for a general caching solution or you specifically need to use Redis? At Thirdlane we use Memcached which works just fine for our purposes. Regards, Volodya Ivanets From: "Dovid Bender" To: "Asterisk Users Mailing List - Non-Commercial Discussion" Sent:

Re: [asterisk-users] Redis in place of astdb

2020-07-08 Thread Dovid Bender
After googling around I found this: https://langiac.blogspot.com/2018/04/asterisk-dialplan-and-redis-integration.html I would rather not use shell as it's running a script every time which can become resource intensive. Also the projects written for Asterisk seems to have not been updated in 6

[asterisk-users] Redis in place of astdb

2020-07-08 Thread Dovid Bender
Hi, Does anyone know of any projects that would allow you to use Redis in place of AstDB? By in place of I don't mean for what Asterisk needs but to store values. For instance for CNAM currently we need to use an AGI to connect to redis to pull CNAM. So in place of: