This module provides a connector to interact with REDIS NoSQL Database from configuration file. You can read more about REDIS at http://redis.io. It can connect to many REDIS servers and store the results in different containers.
| Parámetro | Tipo | Descripción |
|---|---|---|
| server | str | 3.2. init_without_redis (integer) 3.3. connect_timeout (int) 3.4. cmd_timeout (int) 3.5. cluster (integer) 3.6. allowed_timeouts (integer) 3.7. disable_time (integer) 3.8. flush_on_reconnect (integer) |
| init_without_redis | integer | 3.3. connect_timeout (int) 3.4. cmd_timeout (int) 3.5. cluster (integer) 3.6. allowed_timeouts (integer) 3.7. disable_time (integer) 3.8. flush_on_reconnect (integer) 3.9. allow_dynamic_nodes (integer |
| connect_timeout | int | 3.4. cmd_timeout (int) 3.5. cluster (integer) 3.6. allowed_timeouts (integer) 3.7. disable_time (integer) 3.8. flush_on_reconnect (integer) 3.9. allow_dynamic_nodes (integer) 3.10. debug (integer) 3.1 |
| cmd_timeout | int | 3.5. cluster (integer) 3.6. allowed_timeouts (integer) 3.7. disable_time (integer) 3.8. flush_on_reconnect (integer) 3.9. allow_dynamic_nodes (integer) 3.10. debug (integer) 3.11. ca_path (string) |
| cluster | integer | 3.6. allowed_timeouts (integer) 3.7. disable_time (integer) 3.8. flush_on_reconnect (integer) 3.9. allow_dynamic_nodes (integer) 3.10. debug (integer) 3.11. ca_path (string) |
| allowed_timeouts | integer | 3.7. disable_time (integer) 3.8. flush_on_reconnect (integer) 3.9. allow_dynamic_nodes (integer) 3.10. debug (integer) 3.11. ca_path (string) |
| disable_time | integer | 3.8. flush_on_reconnect (integer) 3.9. allow_dynamic_nodes (integer) 3.10. debug (integer) 3.11. ca_path (string) |
| flush_on_reconnect | integer | 3.9. allow_dynamic_nodes (integer) 3.10. debug (integer) 3.11. ca_path (string) |
| allow_dynamic_nodes | integer | 3.10. debug (integer) 3.11. ca_path (string) |
| debug | integer | 3.11. ca_path (string) |
| ca_path | string | 3.1. server (str) |
| server | str | Specify the details to connect to REDIS server. It takes a list of attribute=value separated by semicolon, the attributes can be: * name - is a generic identifier to be used with module functions. * u |
| init_without_redis | integer | If set to 1, the module will correctly initialize even if redis is not available at start up. |
| connect_timeout | int | The timeout when connecting to the redis server |
| cmd_timeout | int | The timeout for each query to the redis server. If the redis server does not reply within the timeout value, the command will fail and kamailio will continue executing the cfg file. |
| cluster | integer | If set to 1, the module will connect to servers indicated in the "MOVED" reply. |
| allowed_timeouts | integer | If this is set to a non-negative value, it sets the number of consecutive REDIS commands that can fail before temporarily disabling the REDIS server. This is similar to rtpengine_disable_tout paramete |
| disable_time | integer | If allowed_timeouts is set to a non negative value this determines the number of seconds the REDIS server will be disabled |
| flush_on_reconnect | integer | If this is set to a non zero value, a "FLUSHALL" command is issued after reconnecting to a REDIS server, to clear the entire database. |
| allow_dynamic_nodes | integer | If set to 1, the module will connect to servers indicated in the "MOVED" reply, even if they are not specified at startup. |
| debug | integer | Set the verbosity level for some of the log messages. It has to be a log level value. |
| ca_path | string | Sets the path where Certificates Authorities certs for the REDIS server certificate are stored. |
4.2. redis_pipe_cmd(srvname, command, ..., replyid) 4.3. redis_execute(srvname) 4.4. redis_free(replyid)
4.3. redis_execute(srvname) 4.4. redis_free(replyid)
4.4. redis_free(replyid)
4.1. redis_cmd(srvname, command, ..., replyid)
Send a command to REDIS server identified by srvname. The reply will be stored in a local container identified by replyid. All the parameters can be strings with pseudo-variables that are evaluated at runtime.
Add a command to be sent to REDIS server identified by srvname. All the commands will be stored in a buffer until a call to redis_execute is made. When calling redis_execute the stored commands are sent using the pipelining functionality of redis. Th
Sends commands to REDIS server identified by srvname. Commands are added with redis_pipe_cmd function, and will be stored for an existing REDIS server. When this function is called all the commands will be sent in a single message to the REDIS server
Frees data in a previous reply from memory. After this function call, accessing to a freed replyid returns null value.
Copyright © 2011 asipto.com
Copyright © 2012 www.systemonenoc.com
Copyright © 2017 ng-voice GmbH