You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
kamailio/modules/cfg_rpc
Andreas Granig 243e32a17b
Start versioning of kamailio-3.1-sipwise in svn.
15 years ago
..
doc Start versioning of kamailio-3.1-sipwise in svn. 15 years ago
Makefile Start versioning of kamailio-3.1-sipwise in svn. 15 years ago
README Start versioning of kamailio-3.1-sipwise in svn. 15 years ago
cfg_rpc.c Start versioning of kamailio-3.1-sipwise in svn. 15 years ago

README

1. cfg_rpc Module

Miklos Tirpak

   <miklos@iptel.org>

   Copyright © 2007 iptelorg GmbH
     __________________________________________________________________

   1.1. Overview
   1.2. RPC Interface

1.1. Overview

   The module implements RPC functions to set and get configuration
   variables on-the-fly, that are declared by SIP Router core and by the
   modules. It can be used to fine-tune or debug SIP Router without the
   need of restart.

1.2. RPC Interface

   The module implements the following RPC interface commands:
     * cfg_rpc.set_now_int - Set the value of a configuration variable and
       commit the change immediately. The function accepts three
       parameters: group name, variable name, integer value.
     * cfg_rpc.set_now_string - Set the value of a configuration variable
       and commit the change immediately. The function accepts three
       parameters: group name, variable name, string value.
     * cfg_rpc.set_delayed_int - Prepare the change of a configuration
       variable, but does not commit the new value yet. The function
       accepts three parameters: group name, variable name, integer value.
     * cfg_rpc.set_delayed_string - Prepare the change of a configuration
       variable, but does not commit the new value yet. The function
       accepts three parameters: group name, variable name, string value.
     * cfg_rpc.commit - Commit the previously prepared configuration
       changes. The function does not have any parameters.
     * cfg_rpc.rollback - Drop the prepared configuration changes. The
       function does not have any parameters.
     * cfg_rpc.get - Get the value of a configuration variable. The
       function accepts two parameters: group name, variable name.
     * cfg_rpc.help - Print the description of a configuration variable.
       The function accepts two parameters: group name, variable name.
     * cfg_rpc.list - List the configuration variables. The function does
       not have any parameters.
     * cfg_rpc.diff - List the pending configuration changes that have not
       been committed yet. The function does not have any parameters.