[Asterisk-code-review] res_hiredis: REDIS DeviceState and Dialplan functions (asterisk[master])

Alec Davis asteriskteam at digium.com
Wed Aug 3 23:34:29 CDT 2022


Attention is currently required from: Sean Bright, N A.
Hello Sean Bright, Joshua Colp, N A, Friendly Automation, 

I'd like you to reexamine a change. Please visit

    https://gerrit.asterisk.org/c/asterisk/+/18829

to look at the new patch set (#21).

Change subject: res_hiredis: REDIS DeviceState and Dialplan functions
......................................................................

res_hiredis: REDIS DeviceState and Dialplan functions

Interact with a Redis database using the hiredis library

Provides the following functions:
    REDIS, abilty to SET/GET a key pair value
    REDIS_EXISTS, Check for existance 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

DeviceState 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
M menuselect/autoconfig.h.in
A res/res_hiredis.c
8 files changed, 1,182 insertions(+), 55 deletions(-)


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/29/18829/21
-- 
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: 21
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 <mail at interlinked.x10host.com>
Gerrit-Reviewer: Sean Bright <sean at seanbright.com>
Gerrit-Attention: Sean Bright <sean at seanbright.com>
Gerrit-Attention: N A <mail at interlinked.x10host.com>
Gerrit-MessageType: newpatchset
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20220803/15c9137f/attachment-0001.html>


More information about the asterisk-code-review mailing list