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

2020-07-10 Thread Olivier
Though ASTDB use is very flexible with DB() function, abandoning this flexibility to gain REDIS features (clustering, speed, ..) has benefits. Still, being able to "implement ASTDB with REDIS" would allow a lot currently impossible setups (synchronizing SIP registrations on multiples Asterisk

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

2020-07-10 Thread Jon Bonilla (Manwe)
El Thu, 9 Jul 2020 10:37:52 +0200 Antony Stone escribió: > On Thursday 09 July 2020 at 00:50:28, Jon Bonilla (Manwe) wrote: > > > DO you know odbc redis drivers? It would be nice to store cdrs ans other > > stuff in redis without patching asterisk > > A quick Google search turns up >

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

2020-07-09 Thread alex epshteyn
I’ll second that - for CDR you want the fastest sequential writing with possible batching of CDR records Best regards, Alex www.thirdlane.com > On Jul 9, 2020, at 1:37 AM, Antony Stone > wrote: > > On Thursday 09 July 2020 at 00:50:28, Jon Bonilla (Manwe) wrote: > >> DO you know odbc

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

2020-07-09 Thread Antony Stone
On Thursday 09 July 2020 at 00:50:28, Jon Bonilla (Manwe) wrote: > DO you know odbc redis drivers? It would be nice to store cdrs ans other > stuff in redis without patching asterisk A quick Google search turns up https://www.cdata.com/kb/tech/redis-odbc-python-linux.rst which I have no

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

2020-07-09 Thread Jon Bonilla (Manwe)
El Wed, 8 Jul 2020 12:23:42 -0700 John Kiniston escribió: > Dovid, You could use func_odb + a ODBC Redis driver to keep from having to > shell out. > > DO you know odbc redis drivers? It would be nice to store cdrs ans other stuff in redis without patching asterisk -- PekePBX, the

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
uot;Asterisk Users Mailing List - Non-Commercial Discussion" < > asterisk-users@lists.digium.com> > *Sent: *Wednesday, July 8, 2020 2:36:03 PM > *Subject: *[asterisk-users] Redis in place of astdb > > Hi, > > Does anyone know of any projects that would allow you to us

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

2020-07-08 Thread Volodya Ivanets
ussion" Sent: Wednesday, July 8, 2020 2:36:03 PM Subject: [asterisk-users] Redis in place of astdb 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 w

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: