[Asterisk-code-review] res_hiredis: Redis Device State and Dialplan functions. (asterisk[master])

Sean Bright asteriskteam at digium.com
Tue Dec 27 09:33:13 CST 2022


Attention is currently required from: Sean Bright, Alec Davis, N A.

Sean Bright has uploaded a new patch set (#24) to the change originally created by Alec Davis. ( https://gerrit.asterisk.org/c/asterisk/+/18829 )

Change subject: res_hiredis: Redis Device State and Dialplan functions.
......................................................................

res_hiredis: Redis Device State and Dialplan functions.

Interact with a Redis database using the hiredis library

Provides the following functions:

  * REDIS, ability to SET/GET a key pair value
  * REDIS_EXISTS, Check for existence of a key
  * REDIS_DELETE, delete a key
  * REDIS_DIRECT, Execute valid Redis syntax against a Redis database.
  * REDIS_PREFIX, return the configured key prefix, useful when the
    prefix may change

Device State automatically updates the Redis DB to the following key
path [prefix:]deviceState:SIP/cisco1

Tested on production system running asterisk 16.

ASTERISK-30147 Reported By: Alec Davis

Change-Id: Ifdf4d33d2a2a5fd044fac13b201c7437de34ba6a
---
M build_tools/menuselect-deps.in
A configs/samples/hiredis.conf.sample
M configure
M configure.ac
M include/asterisk/autoconfig.h.in
M makeopts.in
A res/res_hiredis.c
7 files changed, 1,159 insertions(+), 81 deletions(-)


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/29/18829/24
-- 
To view, visit https://gerrit.asterisk.org/c/asterisk/+/18829
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Change-Id: Ifdf4d33d2a2a5fd044fac13b201c7437de34ba6a
Gerrit-Change-Number: 18829
Gerrit-PatchSet: 24
Gerrit-Owner: Alec Davis <alec at bdt.co.nz>
Gerrit-Reviewer: Friendly Automation
Gerrit-Reviewer: Joshua Colp <jcolp at sangoma.com>
Gerrit-Reviewer: N A <asterisk at phreaknet.org>
Gerrit-Reviewer: Sean Bright <sean at seanbright.com>
Gerrit-Attention: Sean Bright <sean at seanbright.com>
Gerrit-Attention: Alec Davis <alec at bdt.co.nz>
Gerrit-Attention: N A <asterisk at phreaknet.org>
Gerrit-MessageType: newpatchset
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20221227/bac48a04/attachment-0001.html>


More information about the asterisk-code-review mailing list