# KEMI Module Functions #
The following sections lists all exported KEMI functions. More information regarding the function can be found by clicking the KEMI prototype which will take you the original module's documentation.
## acc ##
* 📖 kamailio.cfg::module::acc.html
The functions exported by `acc` module to KEMI are listed in the next sections.
The documentation of `acc` module is available online at:
* [acc.html](https://kamailio.org/docs/modules/devel/modules/acc.html)
#### KSR.acc.acc_db_request() ####
```cpp
int KSR.acc.acc_db_request(str "comment", str "dbtable");
```
* 📖 kamailio.cfg::function::acc_db_request()
Equivalent of native kamailio.cfg function: `acc_db_request("comment", "dbtable")`.
#### KSR.acc.acc_log_request() ####
```cpp
int KSR.acc.acc_log_request(str "comment");
```
* 📖 kamailio.cfg::function::acc_log_request()
Equivalent of native kamailio.cfg function: `acc_log_request("comment")`.
#### KSR.acc.acc_request() ####
```cpp
int KSR.acc.acc_request(str "comment", str "dbtable");
```
* 📖 kamailio.cfg::function::acc_request()
Equivalent of native kamailio.cfg function: `acc_request("comment", "dbtable")`.
## acc_radius ##
* 📖 kamailio.cfg::module::acc_radius.html
#### KSR.acc_radius.request() ####
```cpp
int KSR.acc_radius.request(str "comment");
```
* 📖 kamailio.cfg::function::request()
## alias_db ##
* 📖 kamailio.cfg::module::alias_db.html
#### KSR.alias_db.lookup() ####
```cpp
int KSR.alias_db.lookup(str "stable");
```
* 📖 kamailio.cfg::function::alias_db_lookup()
#### KSR.alias_db.lookup_ex() ####
```cpp
int KSR.alias_db.lookup_ex(str "stable", str "sflags");
```
* 📖 kamailio.cfg::function::alias_db_lookup()
## app_jsdt ##
* 📖 kamailio.cfg::module::app_jsdt.html
#### KSR.app_jsdt.dofile() ####
```cpp
int KSR.app_jsdt.dofile(str "script");
```
* 📖 kamailio.cfg::function::jsdt_dofile()
#### KSR.app_jsdt.dostring() ####
```cpp
int KSR.app_jsdt.dostring(str "script");
```
* 📖 kamailio.cfg::function::jsdt_dostring()
#### KSR.app_jsdt.run() ####
```cpp
int KSR.app_jsdt.run(str "func");
```
* 📖 kamailio.cfg::function::jsdt_run()
#### KSR.app_jsdt.run_p1() ####
```cpp
int KSR.app_jsdt.run_p1(str "func", str "p1");
```
* 📖 kamailio.cfg::function::run_p1()
#### KSR.app_jsdt.run_p2() ####
```cpp
int KSR.app_jsdt.run_p2(str "func", str "p1", str "p2");
```
* 📖 kamailio.cfg::function::run_p2()
#### KSR.app_jsdt.run_p3() ####
```cpp
int KSR.app_jsdt.run_p3(str "func", str "p1", str "p2", str "p3");
```
* 📖 kamailio.cfg::function::run_p3()
#### KSR.app_jsdt.runstring() ####
```cpp
int KSR.app_jsdt.runstring(str "script");
```
* 📖 kamailio.cfg::function::runstring()
## app_lua ##
* 📖 kamailio.cfg::module::app_lua.html
#### KSR.app_lua.dofile() ####
```cpp
int KSR.app_lua.dofile(str "script");
```
* 📖 kamailio.cfg::function::dofile()
#### KSR.app_lua.dostring() ####
```cpp
int KSR.app_lua.dostring(str "script");
```
* 📖 kamailio.cfg::function::dostring()
#### KSR.app_lua.run() ####
```cpp
int KSR.app_lua.run(str "func");
```
* 📖 kamailio.cfg::function::run()
#### KSR.app_lua.run_p1() ####
```cpp
int KSR.app_lua.run_p1(str "func", str "p1");
```
* 📖 kamailio.cfg::function::run_p1()
#### KSR.app_lua.run_p2() ####
```cpp
int KSR.app_lua.run_p2(str "func", str "p1", str "p2");
```
* 📖 kamailio.cfg::function::run_p2()
#### KSR.app_lua.run_p3() ####
```cpp
int KSR.app_lua.run_p3(str "func", str "p1", str "p2", str "p3");
```
* 📖 kamailio.cfg::function::run_p3()
#### KSR.app_lua.runstring() ####
```cpp
int KSR.app_lua.runstring(str "script");
```
* 📖 kamailio.cfg::function::runstring()
## app_python ##
* 📖 kamailio.cfg::module::app_python.html
#### KSR.app_python.exec() ####
```cpp
int KSR.app_python.exec(str "method");
```
* 📖 kamailio.cfg::function::exec()
#### KSR.app_python.exec_p1() ####
```cpp
int KSR.app_python.exec_p1(str "method", str "p1");
```
* 📖 kamailio.cfg::function::exec_p1()
#### KSR.app_python.execx() ####
```cpp
int KSR.app_python.execx(str "method");
```
* 📖 kamailio.cfg::function::execx()
## app_python3 ##
* 📖 kamailio.cfg::module::app_python3.html
#### KSR.app_python3.exec() ####
```cpp
int KSR.app_python3.exec(str "method");
```
* 📖 kamailio.cfg::function::exec()
#### KSR.app_python3.exec_p1() ####
```cpp
int KSR.app_python3.exec_p1(str "method", str "p1");
```
* 📖 kamailio.cfg::function::exec_p1()
#### KSR.app_python3.execx() ####
```cpp
int KSR.app_python3.execx(str "method");
```
* 📖 kamailio.cfg::function::execx()
## app_ruby ##
* 📖 kamailio.cfg::module::app_ruby.html
#### KSR.app_ruby.run() ####
```cpp
int KSR.app_ruby.run(str "func");
```
* 📖 kamailio.cfg::function::run()
#### KSR.app_ruby.run_p1() ####
```cpp
int KSR.app_ruby.run_p1(str "func", str "p1");
```
* 📖 kamailio.cfg::function::run_p1()
#### KSR.app_ruby.run_p2() ####
```cpp
int KSR.app_ruby.run_p2(str "func", str "p1", str "p2");
```
* 📖 kamailio.cfg::function::run_p2()
#### KSR.app_ruby.run_p3() ####
```cpp
int KSR.app_ruby.run_p3(str "func", str "p1", str "p2", str "p3");
```
* 📖 kamailio.cfg::function::run_p3()
## app_sqlang ##
* 📖 kamailio.cfg::module::app_sqlang.html
#### KSR.app_sqlang.dofile() ####
```cpp
int KSR.app_sqlang.dofile(str "script");
```
* 📖 kamailio.cfg::function::dofile()
#### KSR.app_sqlang.dostring() ####
```cpp
int KSR.app_sqlang.dostring(str "script");
```
* 📖 kamailio.cfg::function::dostring()
#### KSR.app_sqlang.run() ####
```cpp
int KSR.app_sqlang.run(str "func");
```
* 📖 kamailio.cfg::function::run()
#### KSR.app_sqlang.run_p1() ####
```cpp
int KSR.app_sqlang.run_p1(str "func", str "p1");
```
* 📖 kamailio.cfg::function::run_p1()
#### KSR.app_sqlang.run_p2() ####
```cpp
int KSR.app_sqlang.run_p2(str "func", str "p1", str "p2");
```
* 📖 kamailio.cfg::function::run_p2()
#### KSR.app_sqlang.run_p3() ####
```cpp
int KSR.app_sqlang.run_p3(str "func", str "p1", str "p2", str "p3");
```
* 📖 kamailio.cfg::function::run_p3()
#### KSR.app_sqlang.runstring() ####
```cpp
int KSR.app_sqlang.runstring(str "script");
```
* 📖 kamailio.cfg::function::runstring()
## async ##
* 📖 kamailio.cfg::module::async.html
#### KSR.async.ms_route() ####
```cpp
int KSR.async.ms_route(str "rn", int s);
```
* 📖 kamailio.cfg::function::ms_route()
#### KSR.async.route() ####
```cpp
int KSR.async.route(str "rn", int s);
```
* 📖 kamailio.cfg::function::route()
#### KSR.async.task_route() ####
```cpp
int KSR.async.task_route(str "rn");
```
* 📖 kamailio.cfg::function::task_route()
## auth ##
* 📖 kamailio.cfg::module::auth.html
#### KSR.auth.auth_challenge() ####
```cpp
int KSR.auth.auth_challenge(str "realm", int flags);
```
* 📖 kamailio.cfg::function::auth_challenge()
#### KSR.auth.consume_credentials() ####
```cpp
int KSR.auth.consume_credentials();
```
* 📖 kamailio.cfg::function::consume_credentials()
#### KSR.auth.has_credentials() ####
```cpp
int KSR.auth.has_credentials(str "srealm");
```
* 📖 kamailio.cfg::function::has_credentials()
#### KSR.auth.pv_auth_check() ####
```cpp
int KSR.auth.pv_auth_check(str "srealm", str "spasswd", int vflags, int vchecks);
```
* 📖 kamailio.cfg::function::pv_auth_check()
## auth_db ##
* 📖 kamailio.cfg::module::auth_db.html
#### KSR.auth_db.auth_check() ####
```cpp
int KSR.auth_db.auth_check(str "srealm", str "stable", int iflags);
```
* 📖 kamailio.cfg::function::auth_check()
#### KSR.auth_db.is_subscriber() ####
```cpp
int KSR.auth_db.is_subscriber(str "suri", str "stable", int iflags);
```
* 📖 kamailio.cfg::function::is_subscriber()
## auth_ephemeral ##
* 📖 kamailio.cfg::module::auth_ephemeral.html
#### KSR.auth_ephemeral.autheph_authenticate() ####
```cpp
int KSR.auth_ephemeral.autheph_authenticate(str "susername", str "spassword");
```
* 📖 kamailio.cfg::function::autheph_authenticate()
#### KSR.auth_ephemeral.autheph_check() ####
```cpp
int KSR.auth_ephemeral.autheph_check(str "srealm");
```
* 📖 kamailio.cfg::function::autheph_check()
#### KSR.auth_ephemeral.autheph_proxy() ####
```cpp
int KSR.auth_ephemeral.autheph_proxy(str "srealm");
```
* 📖 kamailio.cfg::function::autheph_proxy()
#### KSR.auth_ephemeral.autheph_www() ####
```cpp
int KSR.auth_ephemeral.autheph_www(str "srealm");
```
* 📖 kamailio.cfg::function::autheph_www()
#### KSR.auth_ephemeral.autheph_www_method() ####
```cpp
int KSR.auth_ephemeral.autheph_www_method(str "srealm", str "smethod");
```
* 📖 kamailio.cfg::function::autheph_www_method()
## auth_radius ##
* 📖 kamailio.cfg::module::auth_radius.html
#### KSR.auth_radius.proxy_authorize() ####
```cpp
int KSR.auth_radius.proxy_authorize(str "srealm");
```
* 📖 kamailio.cfg::function::proxy_authorize()
#### KSR.auth_radius.proxy_authorize_user() ####
```cpp
int KSR.auth_radius.proxy_authorize_user(str "srealm", str "suser");
```
* 📖 kamailio.cfg::function::proxy_authorize_user()
#### KSR.auth_radius.www_authorize() ####
```cpp
int KSR.auth_radius.www_authorize(str "srealm");
```
* 📖 kamailio.cfg::function::www_authorize()
#### KSR.auth_radius.www_authorize_user() ####
```cpp
int KSR.auth_radius.www_authorize_user(str "srealm", str "suser");
```
* 📖 kamailio.cfg::function::www_authorize_user()
## auth_xkeys ##
* 📖 kamailio.cfg::module::auth_xkeys.html
#### KSR.auth_xkeys.auth_xkeys_add() ####
```cpp
int KSR.auth_xkeys.auth_xkeys_add(str "shdr", str "skey", str "salg", str "sdata");
```
* 📖 kamailio.cfg::function::auth_xkeys_add()
#### KSR.auth_xkeys.auth_xkeys_check() ####
```cpp
int KSR.auth_xkeys.auth_xkeys_check(str "shdr", str "skey", str "salg", str "sdata");
```
* 📖 kamailio.cfg::function::auth_xkeys_check()
## avpops ##
* 📖 kamailio.cfg::module::avpops.html
#### KSR.avpops.avp_check() ####
```cpp
int KSR.avpops.avp_check(str "param", str "check");
```
* 📖 kamailio.cfg::function::avp_check()
#### KSR.avpops.avp_copy() ####
```cpp
int KSR.avpops.avp_copy(str "name1", str "name2");
```
* 📖 kamailio.cfg::function::avp_copy()
## benchmark ##
* 📖 kamailio.cfg::module::benchmark.html
#### KSR.benchmark.bm_log_timer() ####
```cpp
int KSR.benchmark.bm_log_timer(str "tname");
```
* 📖 kamailio.cfg::function::bm_log_timer()
#### KSR.benchmark.bm_start_timer() ####
```cpp
int KSR.benchmark.bm_start_timer(str "tname");
```
* 📖 kamailio.cfg::function::bm_start_timer()
## blst ##
* 📖 kamailio.cfg::module::blst.html
#### KSR.blst.blst_add() ####
```cpp
int KSR.blst.blst_add(int t);
```
* 📖 kamailio.cfg::function::blst_add()
#### KSR.blst.blst_add_default() ####
```cpp
int KSR.blst.blst_add_default();
```
* 📖 kamailio.cfg::function::blst_add_default()
#### KSR.blst.blst_add_retry_after() ####
```cpp
int KSR.blst.blst_add_retry_after(int t_min, int t_max);
```
* 📖 kamailio.cfg::function::blst_add_retry_after()
#### KSR.blst.blst_clear_ignore() ####
```cpp
int KSR.blst.blst_clear_ignore(int mask);
```
* 📖 kamailio.cfg::function::blst_clear_ignore()
#### KSR.blst.blst_clear_ignore_all() ####
```cpp
int KSR.blst.blst_clear_ignore_all();
```
* 📖 kamailio.cfg::function::blst_clear_ignore_all()
#### KSR.blst.blst_del() ####
```cpp
int KSR.blst.blst_del();
```
* 📖 kamailio.cfg::function::blst_del()
#### KSR.blst.blst_is_blocklisted() ####
```cpp
int KSR.blst.blst_is_blocklisted();
```
* 📖 kamailio.cfg::function::blst_is_blocklisted()
#### KSR.blst.blst_rpl_clear_ignore() ####
```cpp
int KSR.blst.blst_rpl_clear_ignore(int mask);
```
* 📖 kamailio.cfg::function::blst_rpl_clear_ignore()
#### KSR.blst.blst_rpl_clear_ignore_all() ####
```cpp
int KSR.blst.blst_rpl_clear_ignore_all();
```
* 📖 kamailio.cfg::function::blst_rpl_clear_ignore_all()
#### KSR.blst.blst_rpl_set_ignore() ####
```cpp
int KSR.blst.blst_rpl_set_ignore(int mask);
```
* 📖 kamailio.cfg::function::blst_rpl_set_ignore()
#### KSR.blst.blst_rpl_set_ignore_all() ####
```cpp
int KSR.blst.blst_rpl_set_ignore_all();
```
* 📖 kamailio.cfg::function::blst_rpl_set_ignore_all()
#### KSR.blst.blst_set_ignore() ####
```cpp
int KSR.blst.blst_set_ignore(int mask);
```
* 📖 kamailio.cfg::function::blst_set_ignore()
#### KSR.blst.blst_set_ignore_all() ####
```cpp
int KSR.blst.blst_set_ignore_all();
```
* 📖 kamailio.cfg::function::blst_set_ignore_all()
## call_control ##
* 📖 kamailio.cfg::module::call_control.html
#### KSR.call_control.call_control() ####
```cpp
int KSR.call_control.call_control();
```
* 📖 kamailio.cfg::function::call_control()
## call_obj ##
* 📖 kamailio.cfg::module::call_obj.html
#### KSR.call_obj.free() ####
```cpp
int KSR.call_obj.free(int num_obj);
```
* 📖 kamailio.cfg::function::free()
#### KSR.call_obj.get() ####
```cpp
int KSR.call_obj.get();
```
* 📖 kamailio.cfg::function::get()
## cfgutils ##
* 📖 kamailio.cfg::module::cfgutils.html
#### KSR.cfgutils.abort() ####
```cpp
int KSR.cfgutils.abort();
```
* 📖 kamailio.cfg::function::abort()
#### KSR.cfgutils.check_route_exists() ####
```cpp
int KSR.cfgutils.check_route_exists(str "route");
```
* 📖 kamailio.cfg::function::check_route_exists()
#### KSR.cfgutils.core_hash() ####
```cpp
int KSR.cfgutils.core_hash(str "s1", str "s2", int sz);
```
* 📖 kamailio.cfg::function::core_hash()
#### KSR.cfgutils.lock() ####
```cpp
int KSR.cfgutils.lock(str "lkey");
```
* 📖 kamailio.cfg::function::lock()
#### KSR.cfgutils.pkg_status() ####
```cpp
int KSR.cfgutils.pkg_status();
```
* 📖 kamailio.cfg::function::pkg_status()
#### KSR.cfgutils.pkg_summary() ####
```cpp
int KSR.cfgutils.pkg_summary();
```
* 📖 kamailio.cfg::function::pkg_summary()
#### KSR.cfgutils.rand_event() ####
```cpp
int KSR.cfgutils.rand_event();
```
* 📖 kamailio.cfg::function::rand_event()
#### KSR.cfgutils.rand_get_prob() ####
```cpp
int KSR.cfgutils.rand_get_prob();
```
* 📖 kamailio.cfg::function::rand_get_prob()
#### KSR.cfgutils.rand_reset_prob() ####
```cpp
int KSR.cfgutils.rand_reset_prob();
```
* 📖 kamailio.cfg::function::rand_reset_prob()
#### KSR.cfgutils.rand_set_prob() ####
```cpp
int KSR.cfgutils.rand_set_prob(int percent_par);
```
* 📖 kamailio.cfg::function::rand_set_prob()
#### KSR.cfgutils.route_if_exists() ####
```cpp
int KSR.cfgutils.route_if_exists(str "route");
```
* 📖 kamailio.cfg::function::route_if_exists()
#### KSR.cfgutils.shm_status() ####
```cpp
int KSR.cfgutils.shm_status();
```
* 📖 kamailio.cfg::function::shm_status()
#### KSR.cfgutils.shm_summary() ####
```cpp
int KSR.cfgutils.shm_summary();
```
* 📖 kamailio.cfg::function::shm_summary()
#### KSR.cfgutils.sleep() ####
```cpp
int KSR.cfgutils.sleep(int v);
```
* 📖 kamailio.cfg::function::sleep()
#### KSR.cfgutils.trylock() ####
```cpp
int KSR.cfgutils.trylock(str "lkey");
```
* 📖 kamailio.cfg::function::trylock()
#### KSR.cfgutils.unlock() ####
```cpp
int KSR.cfgutils.unlock(str "lkey");
```
* 📖 kamailio.cfg::function::unlock()
#### KSR.cfgutils.usleep() ####
```cpp
int KSR.cfgutils.usleep(int v);
```
* 📖 kamailio.cfg::function::usleep()
## cnxcc ##
* 📖 kamailio.cfg::module::cnxcc.html
#### KSR.cnxcc.get_channel_count() ####
```cpp
int KSR.cnxcc.get_channel_count(str "sclient", str "pvname");
```
* 📖 kamailio.cfg::function::get_channel_count()
#### KSR.cnxcc.set_max_channels() ####
```cpp
int KSR.cnxcc.set_max_channels(str "sclient", int max_chan);
```
* 📖 kamailio.cfg::function::set_max_channels()
#### KSR.cnxcc.set_max_credit() ####
```cpp
int KSR.cnxcc.set_max_credit(str "sclient", str "scredit", str "sconnect", str "scps", int initp, int finishp);
```
* 📖 kamailio.cfg::function::set_max_credit()
#### KSR.cnxcc.set_max_time() ####
```cpp
int KSR.cnxcc.set_max_time(str "sclient", int max_secs);
```
* 📖 kamailio.cfg::function::set_max_time()
#### KSR.cnxcc.terminate_all() ####
```cpp
int KSR.cnxcc.terminate_all(str "sclient");
```
* 📖 kamailio.cfg::function::terminate_all()
#### KSR.cnxcc.update_max_time() ####
```cpp
int KSR.cnxcc.update_max_time(str "sclient", int secs);
```
* 📖 kamailio.cfg::function::update_max_time()
## corex ##
* 📖 kamailio.cfg::module::corex.html
#### KSR.corex.append_branch() ####
```cpp
int KSR.corex.append_branch();
```
* 📖 kamailio.cfg::function::append_branch()
#### KSR.corex.append_branch_uri() ####
```cpp
int KSR.corex.append_branch_uri(str "uri");
```
* 📖 kamailio.cfg::function::append_branch_uri()
#### KSR.corex.append_branch_uri_q() ####
```cpp
int KSR.corex.append_branch_uri_q(str "uri", str "q");
```
* 📖 kamailio.cfg::function::append_branch_uri_q()
#### KSR.corex.file_read() ####
```cpp
xval KSR.corex.file_read(str "fname");
```
* 📖 kamailio.cfg::function::file_read()
#### KSR.corex.file_write() ####
```cpp
int KSR.corex.file_write(str "fname", str "fdata");
```
* 📖 kamailio.cfg::function::file_write()
#### KSR.corex.has_ruri_user() ####
```cpp
int KSR.corex.has_ruri_user();
```
* 📖 kamailio.cfg::function::has_ruri_user()
#### KSR.corex.has_user_agent() ####
```cpp
int KSR.corex.has_user_agent();
```
* 📖 kamailio.cfg::function::has_user_agent()
#### KSR.corex.is_faked_msg() ####
```cpp
int KSR.corex.is_faked_msg();
```
* 📖 kamailio.cfg::function::is_faked_msg()
#### KSR.corex.is_socket_name() ####
```cpp
int KSR.corex.is_socket_name(str "sockname");
```
* 📖 kamailio.cfg::function::is_socket_name()
#### KSR.corex.isxflagset() ####
```cpp
int KSR.corex.isxflagset(int fval);
```
* 📖 kamailio.cfg::function::isxflagset()
#### KSR.corex.resetxflag() ####
```cpp
int KSR.corex.resetxflag(int fval);
```
* 📖 kamailio.cfg::function::resetxflag()
#### KSR.corex.send_data() ####
```cpp
int KSR.corex.send_data(str "uri", str "data");
```
* 📖 kamailio.cfg::function::send_data()
#### KSR.corex.sendx() ####
```cpp
int KSR.corex.sendx(str "uri", str "sock", str "data");
```
* 📖 kamailio.cfg::function::sendx()
#### KSR.corex.set_recv_socket() ####
```cpp
int KSR.corex.set_recv_socket(str "ssock");
```
* 📖 kamailio.cfg::function::set_recv_socket()
#### KSR.corex.set_recv_socket_name() ####
```cpp
int KSR.corex.set_recv_socket_name(str "ssock");
```
* 📖 kamailio.cfg::function::set_recv_socket_name()
#### KSR.corex.set_send_socket() ####
```cpp
int KSR.corex.set_send_socket(str "ssock");
```
* 📖 kamailio.cfg::function::set_send_socket()
#### KSR.corex.set_send_socket_name() ####
```cpp
int KSR.corex.set_send_socket_name(str "ssock");
```
* 📖 kamailio.cfg::function::set_send_socket_name()
#### KSR.corex.set_source_address() ####
```cpp
int KSR.corex.set_source_address(str "saddr");
```
* 📖 kamailio.cfg::function::set_source_address()
#### KSR.corex.setxflag() ####
```cpp
int KSR.corex.setxflag(int fval);
```
* 📖 kamailio.cfg::function::setxflag()
#### KSR.corex.via_add_srvid() ####
```cpp
int KSR.corex.via_add_srvid(int fval);
```
* 📖 kamailio.cfg::function::via_add_srvid()
#### KSR.corex.via_add_xavp_params() ####
```cpp
int KSR.corex.via_add_xavp_params(int fval);
```
* 📖 kamailio.cfg::function::via_add_xavp_params()
#### KSR.corex.via_use_xavp_fields() ####
```cpp
int KSR.corex.via_use_xavp_fields(int fval);
```
* 📖 kamailio.cfg::function::via_use_xavp_fields()
## counters ##
* 📖 kamailio.cfg::module::counters.html
#### KSR.counters.add() ####
```cpp
int KSR.counters.add(str "sname", int v);
```
* 📖 kamailio.cfg::function::add()
#### KSR.counters.inc() ####
```cpp
int KSR.counters.inc(str "sname");
```
* 📖 kamailio.cfg::function::inc()
#### KSR.counters.reset() ####
```cpp
int KSR.counters.reset(str "sname");
```
* 📖 kamailio.cfg::function::reset()
## crypto ##
* 📖 kamailio.cfg::module::crypto.html
#### KSR.crypto.aes_decrypt() ####
```cpp
int KSR.crypto.aes_decrypt(str "ins", str "keys", str "dpv");
```
* 📖 kamailio.cfg::function::aes_decrypt()
#### KSR.crypto.aes_encrypt() ####
```cpp
int KSR.crypto.aes_encrypt(str "ins", str "keys", str "dpv");
```
* 📖 kamailio.cfg::function::aes_encrypt()
#### KSR.crypto.hmac_sha256() ####
```cpp
int KSR.crypto.hmac_sha256(str "ins", str "keys", str "dpv");
```
* 📖 kamailio.cfg::function::hmac_sha256()
## debugger ##
* 📖 kamailio.cfg::module::debugger.html
#### KSR.debugger.dbg_pv_dump() ####
```cpp
int KSR.debugger.dbg_pv_dump();
```
* 📖 kamailio.cfg::function::dbg_pv_dump()
#### KSR.debugger.dbg_pv_dump_ex() ####
```cpp
int KSR.debugger.dbg_pv_dump_ex(int mask, int level);
```
* 📖 kamailio.cfg::function::dbg_pv_dump_ex()
## dialog ##
* 📖 kamailio.cfg::module::dialog.html
#### KSR.dialog.dlg_bridge() ####
```cpp
int KSR.dialog.dlg_bridge(str "sfrom", str "sto", str "soproxy");
```
* 📖 kamailio.cfg::function::dlg_bridge()
#### KSR.dialog.dlg_bye() ####
```cpp
int KSR.dialog.dlg_bye(str "side");
```
* 📖 kamailio.cfg::function::dlg_bye()
#### KSR.dialog.dlg_db_load_callid() ####
```cpp
int KSR.dialog.dlg_db_load_callid(str "callid");
```
* 📖 kamailio.cfg::function::dlg_db_load_callid()
#### KSR.dialog.dlg_db_load_extra() ####
```cpp
int KSR.dialog.dlg_db_load_extra();
```
* 📖 kamailio.cfg::function::dlg_db_load_extra()
#### KSR.dialog.dlg_get() ####
```cpp
int KSR.dialog.dlg_get(str "sc", str "sf", str "st");
```
* 📖 kamailio.cfg::function::dlg_get()
#### KSR.dialog.dlg_isflagset() ####
```cpp
int KSR.dialog.dlg_isflagset(int val);
```
* 📖 kamailio.cfg::function::dlg_isflagset()
#### KSR.dialog.dlg_manage() ####
```cpp
int KSR.dialog.dlg_manage();
```
* 📖 kamailio.cfg::function::dlg_manage()
#### KSR.dialog.dlg_reset_property() ####
```cpp
int KSR.dialog.dlg_reset_property(str "pval");
```
* 📖 kamailio.cfg::function::dlg_reset_property()
#### KSR.dialog.dlg_resetflag() ####
```cpp
int KSR.dialog.dlg_resetflag(int val);
```
* 📖 kamailio.cfg::function::dlg_resetflag()
#### KSR.dialog.dlg_set_property() ####
```cpp
int KSR.dialog.dlg_set_property(str "pval");
```
* 📖 kamailio.cfg::function::dlg_set_property()
#### KSR.dialog.dlg_set_timeout() ####
```cpp
int KSR.dialog.dlg_set_timeout(int to);
```
* 📖 kamailio.cfg::function::dlg_set_timeout()
#### KSR.dialog.dlg_set_timeout_id() ####
```cpp
int KSR.dialog.dlg_set_timeout_id(int to, int he, int hi);
```
* 📖 kamailio.cfg::function::dlg_set_timeout_id()
#### KSR.dialog.dlg_setflag() ####
```cpp
int KSR.dialog.dlg_setflag(int val);
```
* 📖 kamailio.cfg::function::dlg_setflag()
#### KSR.dialog.get_profile_size() ####
```cpp
int KSR.dialog.get_profile_size(str "sprofile", str "svalue", str "spv");
```
* 📖 kamailio.cfg::function::get_profile_size()
#### KSR.dialog.get_profile_size_static() ####
```cpp
int KSR.dialog.get_profile_size_static(str "sprofile", str "spv");
```
* 📖 kamailio.cfg::function::get_profile_size_static()
#### KSR.dialog.is_in_profile() ####
```cpp
int KSR.dialog.is_in_profile(str "sprofile", str "svalue");
```
* 📖 kamailio.cfg::function::is_in_profile()
#### KSR.dialog.is_in_profile_static() ####
```cpp
int KSR.dialog.is_in_profile_static(str "sprofile");
```
* 📖 kamailio.cfg::function::is_in_profile_static()
#### KSR.dialog.is_known_dlg() ####
```cpp
int KSR.dialog.is_known_dlg();
```
* 📖 kamailio.cfg::function::is_known_dlg()
#### KSR.dialog.set_dlg_profile() ####
```cpp
int KSR.dialog.set_dlg_profile(str "sprofile", str "svalue");
```
* 📖 kamailio.cfg::function::set_dlg_profile()
#### KSR.dialog.set_dlg_profile_static() ####
```cpp
int KSR.dialog.set_dlg_profile_static(str "sprofile");
```
* 📖 kamailio.cfg::function::set_dlg_profile_static()
#### KSR.dialog.unset_dlg_profile() ####
```cpp
int KSR.dialog.unset_dlg_profile(str "sprofile", str "svalue");
```
* 📖 kamailio.cfg::function::unset_dlg_profile()
#### KSR.dialog.unset_dlg_profile_static() ####
```cpp
int KSR.dialog.unset_dlg_profile_static(str "sprofile");
```
* 📖 kamailio.cfg::function::unset_dlg_profile_static()
#### KSR.dialog.var_get() ####
```cpp
xval KSR.dialog.var_get(str "name");
```
* 📖 kamailio.cfg::function::var_get()
#### KSR.dialog.var_gete() ####
```cpp
xval KSR.dialog.var_gete(str "name");
```
* 📖 kamailio.cfg::function::var_gete()
#### KSR.dialog.var_getw() ####
```cpp
xval KSR.dialog.var_getw(str "name");
```
* 📖 kamailio.cfg::function::var_getw()
#### KSR.dialog.var_is_null() ####
```cpp
int KSR.dialog.var_is_null(str "name");
```
* 📖 kamailio.cfg::function::var_is_null()
#### KSR.dialog.var_rm() ####
```cpp
int KSR.dialog.var_rm(str "name");
```
* 📖 kamailio.cfg::function::var_rm()
#### KSR.dialog.var_sets() ####
```cpp
int KSR.dialog.var_sets(str "name", str "val");
```
* 📖 kamailio.cfg::function::var_sets()
## dialplan ##
* 📖 kamailio.cfg::module::dialplan.html
#### KSR.dialplan.dp_match() ####
```cpp
int KSR.dialplan.dp_match(int dpid, str "src");
```
* 📖 kamailio.cfg::function::dp_match()
#### KSR.dialplan.dp_replace() ####
```cpp
int KSR.dialplan.dp_replace(int dpid, str "src", str "dst");
```
* 📖 kamailio.cfg::function::dp_replace()
## dispatcher ##
* 📖 kamailio.cfg::module::dispatcher.html
#### KSR.dispatcher.ds_is_from_list() ####
```cpp
int KSR.dispatcher.ds_is_from_list(int group);
```
* 📖 kamailio.cfg::function::ds_is_from_list()
#### KSR.dispatcher.ds_is_from_list_mode() ####
```cpp
int KSR.dispatcher.ds_is_from_list_mode(int vset, int vmode);
```
* 📖 kamailio.cfg::function::ds_is_from_list_mode()
#### KSR.dispatcher.ds_is_from_list_uri() ####
```cpp
int KSR.dispatcher.ds_is_from_list_uri(int vset, int vmode, str "vuri");
```
* 📖 kamailio.cfg::function::ds_is_from_list_uri()
#### KSR.dispatcher.ds_is_from_lists() ####
```cpp
int KSR.dispatcher.ds_is_from_lists();
```
* 📖 kamailio.cfg::function::ds_is_from_lists()
#### KSR.dispatcher.ds_list_exists() ####
```cpp
int KSR.dispatcher.ds_list_exists(int set);
```
* 📖 kamailio.cfg::function::ds_list_exists()
#### KSR.dispatcher.ds_load_unset() ####
```cpp
int KSR.dispatcher.ds_load_unset();
```
* 📖 kamailio.cfg::function::ds_load_unset()
#### KSR.dispatcher.ds_load_update() ####
```cpp
int KSR.dispatcher.ds_load_update();
```
* 📖 kamailio.cfg::function::ds_load_update()
#### KSR.dispatcher.ds_mark_dst() ####
```cpp
int KSR.dispatcher.ds_mark_dst();
```
* 📖 kamailio.cfg::function::ds_mark_dst()
#### KSR.dispatcher.ds_mark_dst_state() ####
```cpp
int KSR.dispatcher.ds_mark_dst_state(str "sval");
```
* 📖 kamailio.cfg::function::ds_mark_dst_state()
#### KSR.dispatcher.ds_next_domain() ####
```cpp
int KSR.dispatcher.ds_next_domain();
```
* 📖 kamailio.cfg::function::ds_next_domain()
#### KSR.dispatcher.ds_next_dst() ####
```cpp
int KSR.dispatcher.ds_next_dst();
```
* 📖 kamailio.cfg::function::ds_next_dst()
#### KSR.dispatcher.ds_reload() ####
```cpp
int KSR.dispatcher.ds_reload();
```
* 📖 kamailio.cfg::function::ds_reload()
#### KSR.dispatcher.ds_select() ####
```cpp
int KSR.dispatcher.ds_select(int set, int alg);
```
* 📖 kamailio.cfg::function::ds_select()
#### KSR.dispatcher.ds_select_domain() ####
```cpp
int KSR.dispatcher.ds_select_domain(int set, int alg);
```
* 📖 kamailio.cfg::function::ds_select_domain()
#### KSR.dispatcher.ds_select_domain_limit() ####
```cpp
int KSR.dispatcher.ds_select_domain_limit(int set, int alg, int limit);
```
* 📖 kamailio.cfg::function::ds_select_domain_limit()
#### KSR.dispatcher.ds_select_dst() ####
```cpp
int KSR.dispatcher.ds_select_dst(int set, int alg);
```
* 📖 kamailio.cfg::function::ds_select_dst()
#### KSR.dispatcher.ds_select_dst_limit() ####
```cpp
int KSR.dispatcher.ds_select_dst_limit(int set, int alg, int limit);
```
* 📖 kamailio.cfg::function::ds_select_dst_limit()
#### KSR.dispatcher.ds_select_limit() ####
```cpp
int KSR.dispatcher.ds_select_limit(int set, int alg, int limit);
```
* 📖 kamailio.cfg::function::ds_select_limit()
#### KSR.dispatcher.ds_select_routes() ####
```cpp
int KSR.dispatcher.ds_select_routes(str "srules", str "smode");
```
* 📖 kamailio.cfg::function::ds_select_routes()
#### KSR.dispatcher.ds_select_routes_limit() ####
```cpp
int KSR.dispatcher.ds_select_routes_limit(str "srules", str "smode", int rlimit);
```
* 📖 kamailio.cfg::function::ds_select_routes_limit()
#### KSR.dispatcher.ds_set_domain() ####
```cpp
int KSR.dispatcher.ds_set_domain();
```
* 📖 kamailio.cfg::function::ds_set_domain()
#### KSR.dispatcher.ds_set_dst() ####
```cpp
int KSR.dispatcher.ds_set_dst();
```
* 📖 kamailio.cfg::function::ds_set_dst()
## diversion ##
* 📖 kamailio.cfg::module::diversion.html
#### KSR.diversion.add_diversion() ####
```cpp
int KSR.diversion.add_diversion(str "reason");
```
* 📖 kamailio.cfg::function::add_diversion()
#### KSR.diversion.add_diversion_uri() ####
```cpp
int KSR.diversion.add_diversion_uri(str "reason", str "uri");
```
* 📖 kamailio.cfg::function::add_diversion_uri()
## dlgs ##
* 📖 kamailio.cfg::module::dlgs.html
#### KSR.dlgs.dlgs_count() ####
```cpp
int KSR.dlgs.dlgs_count(str "vfield", str "vop", str "vdata");
```
* 📖 kamailio.cfg::function::dlgs_count()
#### KSR.dlgs.dlgs_init() ####
```cpp
int KSR.dlgs.dlgs_init(str "src", str "dst", str "data");
```
* 📖 kamailio.cfg::function::dlgs_init()
#### KSR.dlgs.dlgs_tags_add() ####
```cpp
int KSR.dlgs.dlgs_tags_add(str "vtags");
```
* 📖 kamailio.cfg::function::dlgs_tags_add()
#### KSR.dlgs.dlgs_tags_count() ####
```cpp
int KSR.dlgs.dlgs_tags_count(str "vtags");
```
* 📖 kamailio.cfg::function::dlgs_tags_count()
#### KSR.dlgs.dlgs_tags_rm() ####
```cpp
int KSR.dlgs.dlgs_tags_rm(str "vtags");
```
* 📖 kamailio.cfg::function::dlgs_tags_rm()
#### KSR.dlgs.dlgs_update() ####
```cpp
int KSR.dlgs.dlgs_update();
```
* 📖 kamailio.cfg::function::dlgs_update()
## dmq ##
* 📖 kamailio.cfg::module::dmq.html
#### KSR.dmq.bcast_message() ####
```cpp
int KSR.dmq.bcast_message(str "peer_str", str "body_str", str "ct_str");
```
* 📖 kamailio.cfg::function::bcast_message()
#### KSR.dmq.handle_message() ####
```cpp
int KSR.dmq.handle_message();
```
* 📖 kamailio.cfg::function::handle_message()
#### KSR.dmq.handle_message_rc() ####
```cpp
int KSR.dmq.handle_message_rc(int returnval);
```
* 📖 kamailio.cfg::function::handle_message_rc()
#### KSR.dmq.is_from_node() ####
```cpp
int KSR.dmq.is_from_node();
```
* 📖 kamailio.cfg::function::is_from_node()
#### KSR.dmq.process_message() ####
```cpp
int KSR.dmq.process_message();
```
* 📖 kamailio.cfg::function::process_message()
#### KSR.dmq.process_message_rc() ####
```cpp
int KSR.dmq.process_message_rc(int returnval);
```
* 📖 kamailio.cfg::function::process_message_rc()
#### KSR.dmq.send_message() ####
```cpp
int KSR.dmq.send_message(str "peer_str", str "to_str", str "body_str", str "ct_str");
```
* 📖 kamailio.cfg::function::send_message()
#### KSR.dmq.t_replicate() ####
```cpp
int KSR.dmq.t_replicate();
```
* 📖 kamailio.cfg::function::t_replicate()
#### KSR.dmq.t_replicate_mode() ####
```cpp
int KSR.dmq.t_replicate_mode(int mode);
```
* 📖 kamailio.cfg::function::t_replicate_mode()
## domain ##
* 📖 kamailio.cfg::module::domain.html
#### KSR.domain.is_domain_local() ####
```cpp
int KSR.domain.is_domain_local(str "sdomain");
```
* 📖 kamailio.cfg::function::is_domain_local()
#### KSR.domain.is_from_local() ####
```cpp
int KSR.domain.is_from_local();
```
* 📖 kamailio.cfg::function::is_from_local()
#### KSR.domain.is_uri_host_local() ####
```cpp
int KSR.domain.is_uri_host_local();
```
* 📖 kamailio.cfg::function::is_uri_host_local()
#### KSR.domain.lookup_domain() ####
```cpp
int KSR.domain.lookup_domain(str "_sdomain");
```
* 📖 kamailio.cfg::function::lookup_domain()
#### KSR.domain.lookup_domain_prefix() ####
```cpp
int KSR.domain.lookup_domain_prefix(str "_sdomain", str "_sprefix");
```
* 📖 kamailio.cfg::function::lookup_domain_prefix()
## drouting ##
* 📖 kamailio.cfg::module::drouting.html
#### KSR.drouting.do_routing() ####
```cpp
int KSR.drouting.do_routing(int grp_id);
```
* 📖 kamailio.cfg::function::do_routing()
#### KSR.drouting.do_routing_furi() ####
```cpp
int KSR.drouting.do_routing_furi();
```
* 📖 kamailio.cfg::function::do_routing_furi()
#### KSR.drouting.goes_to_gw() ####
```cpp
int KSR.drouting.goes_to_gw();
```
* 📖 kamailio.cfg::function::goes_to_gw()
#### KSR.drouting.goes_to_gw_type() ####
```cpp
int KSR.drouting.goes_to_gw_type(int type);
```
* 📖 kamailio.cfg::function::goes_to_gw_type()
#### KSR.drouting.is_from_gw() ####
```cpp
int KSR.drouting.is_from_gw();
```
* 📖 kamailio.cfg::function::is_from_gw()
#### KSR.drouting.is_from_gw_type() ####
```cpp
int KSR.drouting.is_from_gw_type(int type);
```
* 📖 kamailio.cfg::function::is_from_gw_type()
#### KSR.drouting.is_from_gw_type_flags() ####
```cpp
int KSR.drouting.is_from_gw_type_flags(int type, int flags);
```
* 📖 kamailio.cfg::function::is_from_gw_type_flags()
#### KSR.drouting.next_routing() ####
```cpp
int KSR.drouting.next_routing();
```
* 📖 kamailio.cfg::function::next_routing()
#### KSR.drouting.use_next_gw() ####
```cpp
int KSR.drouting.use_next_gw();
```
* 📖 kamailio.cfg::function::use_next_gw()
## enum ##
* 📖 kamailio.cfg::module::enum.html
#### KSR.enum.enum_i_query_suffix() ####
```cpp
int KSR.enum.enum_i_query_suffix(str "vsuffix");
```
* 📖 kamailio.cfg::function::enum_i_query_suffix()
#### KSR.enum.enum_pv_query() ####
```cpp
int KSR.enum.enum_pv_query(str "ve164");
```
* 📖 kamailio.cfg::function::enum_pv_query()
#### KSR.enum.enum_pv_query_suffix() ####
```cpp
int KSR.enum.enum_pv_query_suffix(str "ve164", str "vsuffix");
```
* 📖 kamailio.cfg::function::enum_pv_query_suffix()
#### KSR.enum.enum_pv_query_suffix_service() ####
```cpp
int KSR.enum.enum_pv_query_suffix_service(str "ve164", str "vsuffix", str "vservice");
```
* 📖 kamailio.cfg::function::enum_pv_query_suffix_service()
#### KSR.enum.enum_query() ####
```cpp
int KSR.enum.enum_query();
```
* 📖 kamailio.cfg::function::enum_query()
#### KSR.enum.enum_query_suffix() ####
```cpp
int KSR.enum.enum_query_suffix(str "vsuffix");
```
* 📖 kamailio.cfg::function::enum_query_suffix()
#### KSR.enum.enum_query_suffix_service() ####
```cpp
int KSR.enum.enum_query_suffix_service(str "vsuffix", str "vservice");
```
* 📖 kamailio.cfg::function::enum_query_suffix_service()
#### KSR.enum.i_enum_query() ####
```cpp
int KSR.enum.i_enum_query();
```
* 📖 kamailio.cfg::function::i_enum_query()
#### KSR.enum.i_enum_query_suffix_service() ####
```cpp
int KSR.enum.i_enum_query_suffix_service(str "vsuffix", str "vservice");
```
* 📖 kamailio.cfg::function::i_enum_query_suffix_service()
#### KSR.enum.is_from_user_enum() ####
```cpp
int KSR.enum.is_from_user_enum();
```
* 📖 kamailio.cfg::function::is_from_user_enum()
#### KSR.enum.is_from_user_enum_suffix() ####
```cpp
int KSR.enum.is_from_user_enum_suffix(str "vsuffix");
```
* 📖 kamailio.cfg::function::is_from_user_enum_suffix()
#### KSR.enum.is_from_user_enum_suffix_service() ####
```cpp
int KSR.enum.is_from_user_enum_suffix_service(str "vsuffix", str "vservice");
```
* 📖 kamailio.cfg::function::is_from_user_enum_suffix_service()
## evapi ##
* 📖 kamailio.cfg::module::evapi.html
#### KSR.evapi.async_multicast() ####
```cpp
int KSR.evapi.async_multicast(str "sdata", str "stag");
```
* 📖 kamailio.cfg::function::async_multicast()
#### KSR.evapi.async_relay() ####
```cpp
int KSR.evapi.async_relay(str "sdata");
```
* 📖 kamailio.cfg::function::async_relay()
#### KSR.evapi.async_unicast() ####
```cpp
int KSR.evapi.async_unicast(str "sdata", str "stag");
```
* 📖 kamailio.cfg::function::async_unicast()
#### KSR.evapi.close() ####
```cpp
int KSR.evapi.close();
```
* 📖 kamailio.cfg::function::close()
#### KSR.evapi.relay() ####
```cpp
int KSR.evapi.relay(str "sdata");
```
* 📖 kamailio.cfg::function::relay()
#### KSR.evapi.relay_multicast() ####
```cpp
int KSR.evapi.relay_multicast(str "sdata", str "stag");
```
* 📖 kamailio.cfg::function::relay_multicast()
#### KSR.evapi.relay_unicast() ####
```cpp
int KSR.evapi.relay_unicast(str "sdata", str "stag");
```
* 📖 kamailio.cfg::function::relay_unicast()
#### KSR.evapi.set_tag() ####
```cpp
int KSR.evapi.set_tag(str "stag");
```
* 📖 kamailio.cfg::function::set_tag()
## exec ##
* 📖 kamailio.cfg::module::exec.html
#### KSR.exec.exec_avp() ####
```cpp
int KSR.exec.exec_avp(str "cmd");
```
* 📖 kamailio.cfg::function::exec_avp()
#### KSR.exec.exec_cmd() ####
```cpp
int KSR.exec.exec_cmd(str "cmd");
```
* 📖 kamailio.cfg::function::exec_cmd()
#### KSR.exec.exec_dset() ####
```cpp
int KSR.exec.exec_dset(str "cmd");
```
* 📖 kamailio.cfg::function::exec_dset()
#### KSR.exec.exec_msg() ####
```cpp
int KSR.exec.exec_msg(str "cmd");
```
* 📖 kamailio.cfg::function::exec_msg()
## geoip ##
* 📖 kamailio.cfg::module::geoip.html
#### KSR.geoip.match() ####
```cpp
int KSR.geoip.match(str "tomatch", str "pvclass");
```
* 📖 kamailio.cfg::function::match()
## geoip2 ##
* 📖 kamailio.cfg::module::geoip2.html
#### KSR.geoip2.match() ####
```cpp
int KSR.geoip2.match(str "tomatch", str "pvclass");
```
* 📖 kamailio.cfg::function::match()
## group ##
* 📖 kamailio.cfg::module::group.html
#### KSR.group.is_user_in() ####
```cpp
int KSR.group.is_user_in(str "uri", str "grp");
```
* 📖 kamailio.cfg::function::is_user_in()
## htable ##
* 📖 kamailio.cfg::module::htable.html
Functions exported by `htable` module.
#### KSR.htable.sht_dec() ####
```cpp
int KSR.htable.sht_dec(str "htname", str "itname");
```
* 📖 kamailio.cfg::function::sht_dec()
Do atomic decrement to the item value. It returns the new value or `-255`
if the hash table does not exist, or the item does not exist or the item value
is not integer.
#### KSR.htable.sht_get() ####
```cpp
xval KSR.htable.sht_get(str "htname", str "itname");
```
* 📖 kamailio.cfg::function::sht_get()
Return the integer or string value of the item.
If the item does not exists, it returns `NULL`. Note that `NULL` might be represented differently in various scripting languages, such as `nil` or `None`.
#### KSR.htable.sht_gete() ####
```cpp
xval KSR.htable.sht_gete(str "htname", str "itname");
```
* 📖 kamailio.cfg::function::sht_gete()
Return the integer or string value of the item.
If the item does not exists, it returns an empty string.
#### KSR.htable.sht_getw() ####
```cpp
xval KSR.htable.sht_getw(str "htname", str "itname");
```
* 📖 kamailio.cfg::function::sht_getw()
Return the integer or string value of the item.
If the item does not exists, it returns the string ``, suitable for use
when writing log messages.
#### KSR.htable.sht_inc() ####
```cpp
int KSR.htable.sht_inc(str "htname", str "itname");
```
* 📖 kamailio.cfg::function::sht_inc()
Do atomic increment to the item value. It returns the new value or `-255`
if the hash table does not exist, or the item does not exist or the item value
is not integer.
#### KSR.htable.sht_is_null() ####
```cpp
int KSR.htable.sht_is_null(str "htname", str "itname");
```
* 📖 kamailio.cfg::function::sht_is_null()
#### KSR.htable.sht_iterator_end() ####
```cpp
int KSR.htable.sht_iterator_end(str "iname");
```
* 📖 kamailio.cfg::function::sht_iterator_end()
#### KSR.htable.sht_iterator_next() ####
```cpp
int KSR.htable.sht_iterator_next(str "iname");
```
* 📖 kamailio.cfg::function::sht_iterator_next()
#### KSR.htable.sht_iterator_start() ####
```cpp
int KSR.htable.sht_iterator_start(str "iname", str "hname");
```
* 📖 kamailio.cfg::function::sht_iterator_start()
#### KSR.htable.sht_lock() ####
```cpp
int KSR.htable.sht_lock(str "htname", str "skey");
```
* 📖 kamailio.cfg::function::sht_lock()
#### KSR.htable.sht_match_name() ####
```cpp
int KSR.htable.sht_match_name(str "sname", str "sop", str "sval");
```
* 📖 kamailio.cfg::function::sht_match_name()
#### KSR.htable.sht_match_str_value() ####
```cpp
int KSR.htable.sht_match_str_value(str "sname", str "sop", str "sval");
```
* 📖 kamailio.cfg::function::sht_match_str_value()
#### KSR.htable.sht_reset() ####
```cpp
int KSR.htable.sht_reset(str "hname");
```
* 📖 kamailio.cfg::function::sht_reset()
#### KSR.htable.sht_rm() ####
```cpp
int KSR.htable.sht_rm(str "hname", str "iname");
```
* 📖 kamailio.cfg::function::sht_rm()
#### KSR.htable.sht_rm_name() ####
```cpp
int KSR.htable.sht_rm_name(str "sname", str "sop", str "sval");
```
* 📖 kamailio.cfg::function::sht_rm_name()
#### KSR.htable.sht_rm_name_re() ####
```cpp
int KSR.htable.sht_rm_name_re(str "htname", str "rexp");
```
* 📖 kamailio.cfg::function::sht_rm_name_re()
#### KSR.htable.sht_rm_value() ####
```cpp
int KSR.htable.sht_rm_value(str "sname", str "sop", str "sval");
```
* 📖 kamailio.cfg::function::sht_rm_value()
#### KSR.htable.sht_rm_value_re() ####
```cpp
int KSR.htable.sht_rm_value_re(str "htname", str "rexp");
```
* 📖 kamailio.cfg::function::sht_rm_value_re()
#### KSR.htable.sht_setex() ####
```cpp
int KSR.htable.sht_setex(str "htname", str "itname", int itval);
```
* 📖 kamailio.cfg::function::sht_setex()
#### KSR.htable.sht_seti() ####
```cpp
int KSR.htable.sht_seti(str "htname", str "itname", int itval);
```
* 📖 kamailio.cfg::function::sht_seti()
#### KSR.htable.sht_sets() ####
```cpp
int KSR.htable.sht_sets(str "htname", str "itname", str "itval");
```
* 📖 kamailio.cfg::function::sht_sets()
#### KSR.htable.sht_setxi() ####
```cpp
int KSR.htable.sht_setxi(str "htname", str "itname", int itval, int exval);
```
* 📖 kamailio.cfg::function::sht_setxi()
#### KSR.htable.sht_setxs() ####
```cpp
int KSR.htable.sht_setxs(str "htname", str "itname", str "itval", int exval);
```
* 📖 kamailio.cfg::function::sht_setxs()
#### KSR.htable.sht_unlock() ####
```cpp
int KSR.htable.sht_unlock(str "htname", str "skey");
```
* 📖 kamailio.cfg::function::sht_unlock()
## http_async_client ##
* 📖 kamailio.cfg::module::http_async_client.html
#### KSR.http_async_client.query() ####
```cpp
int KSR.http_async_client.query(str "sdata", str "rn");
```
* 📖 kamailio.cfg::function::query()
## http_client ##
* 📖 kamailio.cfg::module::http_client.html
#### KSR.http_client.curl_connect() ####
```cpp
int KSR.http_client.curl_connect(str "con", str "url", str "dpv");
```
* 📖 kamailio.cfg::function::curl_connect()
#### KSR.http_client.curl_connect_post() ####
```cpp
int KSR.http_client.curl_connect_post(str "con", str "url", str "ctype", str "data", str "dpv");
```
* 📖 kamailio.cfg::function::curl_connect_post()
#### KSR.http_client.get_hdrs() ####
```cpp
int KSR.http_client.get_hdrs(str "url", str "body", str "hdrs", str "dpv");
```
* 📖 kamailio.cfg::function::get_hdrs()
#### KSR.http_client.query() ####
```cpp
int KSR.http_client.query(str "url", str "dpv");
```
* 📖 kamailio.cfg::function::query()
#### KSR.http_client.query_post() ####
```cpp
int KSR.http_client.query_post(str "url", str "post", str "dpv");
```
* 📖 kamailio.cfg::function::query_post()
#### KSR.http_client.query_post_hdrs() ####
```cpp
int KSR.http_client.query_post_hdrs(str "url", str "post", str "hdrs", str "dpv");
```
* 📖 kamailio.cfg::function::query_post_hdrs()
## imc ##
* 📖 kamailio.cfg::module::imc.html
#### KSR.imc.imc_manager() ####
```cpp
int KSR.imc.imc_manager();
```
* 📖 kamailio.cfg::function::imc_manager()
## ipops ##
* 📖 kamailio.cfg::module::ipops.html
#### KSR.ipops.compare_ips() ####
```cpp
int KSR.ipops.compare_ips(str "_sval1", str "_sval2");
```
* 📖 kamailio.cfg::function::compare_ips()
#### KSR.ipops.compare_pure_ips() ####
```cpp
int KSR.ipops.compare_pure_ips(str "_sval1", str "_sval2");
```
* 📖 kamailio.cfg::function::compare_pure_ips()
#### KSR.ipops.detailed_ip_type() ####
```cpp
int KSR.ipops.detailed_ip_type(str "_sval", str "_dpv");
```
* 📖 kamailio.cfg::function::detailed_ip_type()
#### KSR.ipops.detailed_ipv4_type() ####
```cpp
int KSR.ipops.detailed_ipv4_type(str "_sval", str "_dpv");
```
* 📖 kamailio.cfg::function::detailed_ipv4_type()
#### KSR.ipops.detailed_ipv6_type() ####
```cpp
int KSR.ipops.detailed_ipv6_type(str "_sval", str "_dpv");
```
* 📖 kamailio.cfg::function::detailed_ipv6_type()
#### KSR.ipops.dns_int_match_ip() ####
```cpp
int KSR.ipops.dns_int_match_ip(str "vhn", str "vip");
```
* 📖 kamailio.cfg::function::dns_int_match_ip()
#### KSR.ipops.dns_query() ####
```cpp
int KSR.ipops.dns_query(str "naptrname", str "pvid");
```
* 📖 kamailio.cfg::function::dns_query()
#### KSR.ipops.dns_sys_match_ip() ####
```cpp
int KSR.ipops.dns_sys_match_ip(str "vhn", str "vip");
```
* 📖 kamailio.cfg::function::dns_sys_match_ip()
#### KSR.ipops.ip_is_in_subnet() ####
```cpp
int KSR.ipops.ip_is_in_subnet(str "_sval1", str "_sval2");
```
* 📖 kamailio.cfg::function::ip_is_in_subnet()
#### KSR.ipops.ip_type() ####
```cpp
int KSR.ipops.ip_type(str "sval");
```
* 📖 kamailio.cfg::function::ip_type()
#### KSR.ipops.is_in_subnet() ####
```cpp
int KSR.ipops.is_in_subnet(str "_sval1", str "_sval2");
```
* 📖 kamailio.cfg::function::is_in_subnet()
#### KSR.ipops.is_ip() ####
```cpp
int KSR.ipops.is_ip(str "sval");
```
* 📖 kamailio.cfg::function::is_ip()
#### KSR.ipops.is_ip4() ####
```cpp
int KSR.ipops.is_ip4(str "sval");
```
* 📖 kamailio.cfg::function::is_ip4()
#### KSR.ipops.is_ip6() ####
```cpp
int KSR.ipops.is_ip6(str "sval");
```
* 📖 kamailio.cfg::function::is_ip6()
#### KSR.ipops.is_ip6_reference() ####
```cpp
int KSR.ipops.is_ip6_reference(str "sval");
```
* 📖 kamailio.cfg::function::is_ip6_reference()
#### KSR.ipops.is_ip_rfc1918() ####
```cpp
int KSR.ipops.is_ip_rfc1918(str "sval");
```
* 📖 kamailio.cfg::function::is_ip_rfc1918()
#### KSR.ipops.is_pure_ip() ####
```cpp
int KSR.ipops.is_pure_ip(str "sval");
```
* 📖 kamailio.cfg::function::is_pure_ip()
#### KSR.ipops.naptr_query() ####
```cpp
int KSR.ipops.naptr_query(str "naptrname", str "pvid");
```
* 📖 kamailio.cfg::function::naptr_query()
#### KSR.ipops.srv_query() ####
```cpp
int KSR.ipops.srv_query(str "naptrname", str "pvid");
```
* 📖 kamailio.cfg::function::srv_query()
## jansson ##
* 📖 kamailio.cfg::module::jansson.html
#### KSR.jansson.get() ####
```cpp
int KSR.jansson.get(str "spath", str "sdoc", str "spv");
```
* 📖 kamailio.cfg::function::get()
## jsonrpcs ##
* 📖 kamailio.cfg::module::jsonrpcs.html
#### KSR.jsonrpcs.dispatch() ####
```cpp
int KSR.jsonrpcs.dispatch();
```
* 📖 kamailio.cfg::function::dispatch()
#### KSR.jsonrpcs.exec() ####
```cpp
int KSR.jsonrpcs.exec(str "scmd");
```
* 📖 kamailio.cfg::function::exec()
#### KSR.jsonrpcs.execx() ####
```cpp
int KSR.jsonrpcs.execx(str "scmd");
```
* 📖 kamailio.cfg::function::execx()
#### KSR.jsonrpcs.response() ####
```cpp
xval KSR.jsonrpcs.response();
```
* 📖 kamailio.cfg::function::response()
## jwt ##
* 📖 kamailio.cfg::module::jwt.html
#### KSR.jwt.jwt_generate() ####
```cpp
int KSR.jwt.jwt_generate(str "key", str "alg", str "claims");
```
* 📖 kamailio.cfg::function::jwt_generate()
#### KSR.jwt.jwt_verify() ####
```cpp
int KSR.jwt.jwt_verify(str "key", str "alg", str "claims", str "jwtval");
```
* 📖 kamailio.cfg::function::jwt_verify()
## kafka ##
* 📖 kamailio.cfg::module::kafka.html
#### KSR.kafka.send() ####
```cpp
int KSR.kafka.send(str "s_topic", str "s_message");
```
* 📖 kamailio.cfg::function::send()
#### KSR.kafka.send_key() ####
```cpp
int KSR.kafka.send_key(str "s_topic", str "s_message", str "s_key");
```
* 📖 kamailio.cfg::function::send_key()
## kazoo ##
* 📖 kamailio.cfg::module::kazoo.html
#### KSR.kazoo.kazoo_publish() ####
```cpp
int KSR.kazoo.kazoo_publish(str "exchange", str "routing_key", str "payload");
```
* 📖 kamailio.cfg::function::kazoo_publish()
#### KSR.kazoo.kazoo_subscribe() ####
```cpp
int KSR.kazoo.kazoo_subscribe(str "payload");
```
* 📖 kamailio.cfg::function::kazoo_subscribe()
## keepalive ##
* 📖 kamailio.cfg::module::keepalive.html
#### KSR.keepalive.add_destination() ####
```cpp
int KSR.keepalive.add_destination(str "uri", str "owner");
```
* 📖 kamailio.cfg::function::add_destination()
#### KSR.keepalive.del_destination() ####
```cpp
int KSR.keepalive.del_destination(str "uri", str "owner");
```
* 📖 kamailio.cfg::function::del_destination()
#### KSR.keepalive.is_alive() ####
```cpp
int KSR.keepalive.is_alive(str "dest");
```
* 📖 kamailio.cfg::function::is_alive()
## kex ##
* 📖 kamailio.cfg::module::kex.html
#### KSR.kex.resetdebug() ####
```cpp
int KSR.kex.resetdebug();
```
* 📖 kamailio.cfg::function::resetdebug()
#### KSR.kex.setdebug() ####
```cpp
int KSR.kex.setdebug(int lval);
```
* 📖 kamailio.cfg::function::setdebug()
## kx ##
* 📖 kamailio.cfg::module::kemi.html
Functions exported by `kemix` module. They aim to provide a convenient way to
retrieve string or integer values for most commonly used variables or runtime
environment attributes.
#### KSR.kx.get_au() ####
```cpp
xval KSR.kx.get_au();
```
* 📖 kamailio.cfg::function::get_au()
#### KSR.kx.get_body() ####
```cpp
xval KSR.kx.get_body();
```
* 📖 kamailio.cfg::function::get_body()
Return the body of the SIP message (the value of $rb).
#### KSR.kx.get_bodylen() ####
```cpp
int KSR.kx.get_bodylen();
```
* 📖 kamailio.cfg::function::get_bodylen()
#### KSR.kx.get_callid() ####
```cpp
xval KSR.kx.get_callid();
```
* 📖 kamailio.cfg::function::get_callid()
#### KSR.kx.get_conid() ####
```cpp
int KSR.kx.get_conid();
```
* 📖 kamailio.cfg::function::get_conid()
Return the connection id for TCP, TLS and WebSocket, or -1 if no stream connection corresponds to current SIP message.
#### KSR.kx.get_cturi() ####
```cpp
xval KSR.kx.get_cturi();
```
* 📖 kamailio.cfg::function::get_cturi()
#### KSR.kx.get_def() ####
```cpp
xval KSR.kx.get_def(str "dname");
```
* 📖 kamailio.cfg::function::get_def()
#### KSR.kx.get_defn() ####
```cpp
int KSR.kx.get_defn(str "dname");
```
* 📖 kamailio.cfg::function::get_defn()
#### KSR.kx.get_duri() ####
```cpp
xval KSR.kx.get_duri();
```
* 📖 kamailio.cfg::function::get_duri()
Return the value of destination URI ($du).
#### KSR.kx.get_env() ####
```cpp
xval KSR.kx.get_env(str "envname");
```
* 📖 kamailio.cfg::function::get_env()
#### KSR.kx.get_envn() ####
```cpp
int KSR.kx.get_envn(str "envname");
```
* 📖 kamailio.cfg::function::get_envn()
#### KSR.kx.get_fhost() ####
```cpp
xval KSR.kx.get_fhost();
```
* 📖 kamailio.cfg::function::get_fhost()
Return From-URI domain ($fd).
#### KSR.kx.get_furi() ####
```cpp
xval KSR.kx.get_furi();
```
* 📖 kamailio.cfg::function::get_furi()
Return the From URI($fu).
#### KSR.kx.get_fuser() ####
```cpp
xval KSR.kx.get_fuser();
```
* 📖 kamailio.cfg::function::get_fuser()
Return the From-URI username ($fU).
#### KSR.kx.get_method() ####
```cpp
xval KSR.kx.get_method();
```
* 📖 kamailio.cfg::function::get_method()
Return the SIP method ($rm).
#### KSR.kx.get_msgbuf() ####
```cpp
xval KSR.kx.get_msgbuf();
```
* 📖 kamailio.cfg::function::get_msgbuf()
#### KSR.kx.get_msglen() ####
```cpp
int KSR.kx.get_msglen();
```
* 📖 kamailio.cfg::function::get_msglen()
#### KSR.kx.get_msgtype() ####
```cpp
int KSR.kx.get_msgtype();
```
* 📖 kamailio.cfg::function::get_msgtype()
#### KSR.kx.get_nhuri() ####
```cpp
xval KSR.kx.get_nhuri();
```
* 📖 kamailio.cfg::function::get_nhuri()
#### KSR.kx.get_ouri() ####
```cpp
xval KSR.kx.get_ouri();
```
* 📖 kamailio.cfg::function::get_ouri()
#### KSR.kx.get_proto() ####
```cpp
xval KSR.kx.get_proto();
```
* 📖 kamailio.cfg::function::get_proto()
#### KSR.kx.get_protoid() ####
```cpp
int KSR.kx.get_protoid();
```
* 📖 kamailio.cfg::function::get_protoid()
#### KSR.kx.get_rcv_sock_name() ####
```cpp
xval KSR.kx.get_rcv_sock_name();
```
* 📖 kamailio.cfg::function::get_rcv_sock_name()
#### KSR.kx.get_rcvadvip() ####
```cpp
xval KSR.kx.get_rcvadvip();
```
* 📖 kamailio.cfg::function::get_rcvadvip()
#### KSR.kx.get_rcvadvport() ####
```cpp
xval KSR.kx.get_rcvadvport();
```
* 📖 kamailio.cfg::function::get_rcvadvport()
#### KSR.kx.get_rcvip() ####
```cpp
xval KSR.kx.get_rcvip();
```
* 📖 kamailio.cfg::function::get_rcvip()
#### KSR.kx.get_rcvport() ####
```cpp
xval KSR.kx.get_rcvport();
```
* 📖 kamailio.cfg::function::get_rcvport()
#### KSR.kx.get_rhost() ####
```cpp
xval KSR.kx.get_rhost();
```
* 📖 kamailio.cfg::function::get_rhost()
Return the Request URI host (domain) part ($rd).
#### KSR.kx.get_ruri() ####
```cpp
xval KSR.kx.get_ruri();
```
* 📖 kamailio.cfg::function::get_ruri()
Return the Request URI ($ru).
#### KSR.kx.get_ruser() ####
```cpp
xval KSR.kx.get_ruser();
```
* 📖 kamailio.cfg::function::get_ruser()
Return the Request URI user part ($rU).
#### KSR.kx.get_send_sock() ####
```cpp
xval KSR.kx.get_send_sock();
```
* 📖 kamailio.cfg::function::get_send_sock()
#### KSR.kx.get_send_sock_name() ####
```cpp
xval KSR.kx.get_send_sock_name();
```
* 📖 kamailio.cfg::function::get_send_sock_name()
#### KSR.kx.get_send_sock_port() ####
```cpp
int KSR.kx.get_send_sock_port();
```
* 📖 kamailio.cfg::function::get_send_sock_port()
#### KSR.kx.get_srcip() ####
```cpp
xval KSR.kx.get_srcip();
```
* 📖 kamailio.cfg::function::get_srcip()
#### KSR.kx.get_srcport() ####
```cpp
xval KSR.kx.get_srcport();
```
* 📖 kamailio.cfg::function::get_srcport()
#### KSR.kx.get_srcuri() ####
```cpp
xval KSR.kx.get_srcuri();
```
* 📖 kamailio.cfg::function::get_srcuri()
#### KSR.kx.get_status() ####
```cpp
int KSR.kx.get_status();
```
* 📖 kamailio.cfg::function::get_status()
#### KSR.kx.get_thost() ####
```cpp
xval KSR.kx.get_thost();
```
* 📖 kamailio.cfg::function::get_thost()
Return the To-URI host (domain) part ($td).
#### KSR.kx.get_timestamp() ####
```cpp
int KSR.kx.get_timestamp();
```
* 📖 kamailio.cfg::function::get_timestamp()
#### KSR.kx.get_turi() ####
```cpp
xval KSR.kx.get_turi();
```
* 📖 kamailio.cfg::function::get_turi()
Return the To URI ($tu).
#### KSR.kx.get_tuser() ####
```cpp
xval KSR.kx.get_tuser();
```
* 📖 kamailio.cfg::function::get_tuser()
Return the To-URI user part ($tU).
#### KSR.kx.get_ua() ####
```cpp
xval KSR.kx.get_ua();
```
* 📖 kamailio.cfg::function::get_ua()
#### KSR.kx.gete_au() ####
```cpp
xval KSR.kx.gete_au();
```
* 📖 kamailio.cfg::function::gete_au()
#### KSR.kx.gete_body() ####
```cpp
xval KSR.kx.gete_body();
```
* 📖 kamailio.cfg::function::gete_body()
#### KSR.kx.gete_cturi() ####
```cpp
xval KSR.kx.gete_cturi();
```
* 📖 kamailio.cfg::function::gete_cturi()
#### KSR.kx.gete_duri() ####
```cpp
xval KSR.kx.gete_duri();
```
* 📖 kamailio.cfg::function::gete_duri()
#### KSR.kx.gete_fhost() ####
```cpp
xval KSR.kx.gete_fhost();
```
* 📖 kamailio.cfg::function::gete_fhost()
#### KSR.kx.gete_fuser() ####
```cpp
xval KSR.kx.gete_fuser();
```
* 📖 kamailio.cfg::function::gete_fuser()
#### KSR.kx.gete_rhost() ####
```cpp
xval KSR.kx.gete_rhost();
```
* 📖 kamailio.cfg::function::gete_rhost()
#### KSR.kx.gete_ruser() ####
```cpp
xval KSR.kx.gete_ruser();
```
* 📖 kamailio.cfg::function::gete_ruser()
#### KSR.kx.gete_thost() ####
```cpp
xval KSR.kx.gete_thost();
```
* 📖 kamailio.cfg::function::gete_thost()
#### KSR.kx.gete_tuser() ####
```cpp
xval KSR.kx.gete_tuser();
```
* 📖 kamailio.cfg::function::gete_tuser()
#### KSR.kx.gete_ua() ####
```cpp
xval KSR.kx.gete_ua();
```
* 📖 kamailio.cfg::function::gete_ua()
#### KSR.kx.gets_status() ####
```cpp
xval KSR.kx.gets_status();
```
* 📖 kamailio.cfg::function::gets_status()
#### KSR.kx.getw_au() ####
```cpp
xval KSR.kx.getw_au();
```
* 📖 kamailio.cfg::function::getw_au()
#### KSR.kx.getw_body() ####
```cpp
xval KSR.kx.getw_body();
```
* 📖 kamailio.cfg::function::getw_body()
#### KSR.kx.getw_cturi() ####
```cpp
xval KSR.kx.getw_cturi();
```
* 📖 kamailio.cfg::function::getw_cturi()
#### KSR.kx.getw_duri() ####
```cpp
xval KSR.kx.getw_duri();
```
* 📖 kamailio.cfg::function::getw_duri()
#### KSR.kx.getw_fhost() ####
```cpp
xval KSR.kx.getw_fhost();
```
* 📖 kamailio.cfg::function::getw_fhost()
#### KSR.kx.getw_fuser() ####
```cpp
xval KSR.kx.getw_fuser();
```
* 📖 kamailio.cfg::function::getw_fuser()
#### KSR.kx.getw_rhost() ####
```cpp
xval KSR.kx.getw_rhost();
```
* 📖 kamailio.cfg::function::getw_rhost()
#### KSR.kx.getw_ruser() ####
```cpp
xval KSR.kx.getw_ruser();
```
* 📖 kamailio.cfg::function::getw_ruser()
#### KSR.kx.getw_thost() ####
```cpp
xval KSR.kx.getw_thost();
```
* 📖 kamailio.cfg::function::getw_thost()
#### KSR.kx.getw_tuser() ####
```cpp
xval KSR.kx.getw_tuser();
```
* 📖 kamailio.cfg::function::getw_tuser()
#### KSR.kx.getw_ua() ####
```cpp
xval KSR.kx.getw_ua();
```
* 📖 kamailio.cfg::function::getw_ua()
## lcr ##
* 📖 kamailio.cfg::module::lcr.html
#### KSR.lcr.defunct_gw() ####
```cpp
int KSR.lcr.defunct_gw(int defunct_period);
```
* 📖 kamailio.cfg::function::defunct_gw()
#### KSR.lcr.from_any_gw() ####
```cpp
int KSR.lcr.from_any_gw();
```
* 📖 kamailio.cfg::function::from_any_gw()
#### KSR.lcr.from_any_gw_addr() ####
```cpp
int KSR.lcr.from_any_gw_addr(str "addr_str", int transport);
```
* 📖 kamailio.cfg::function::from_any_gw_addr()
#### KSR.lcr.from_gw() ####
```cpp
int KSR.lcr.from_gw(int lcr_id);
```
* 📖 kamailio.cfg::function::from_gw()
#### KSR.lcr.from_gw_addr() ####
```cpp
int KSR.lcr.from_gw_addr(int lcr_id, str "addr_str", int transport);
```
* 📖 kamailio.cfg::function::from_gw_addr()
#### KSR.lcr.inactivate_gw() ####
```cpp
int KSR.lcr.inactivate_gw();
```
* 📖 kamailio.cfg::function::inactivate_gw()
#### KSR.lcr.load_gws() ####
```cpp
int KSR.lcr.load_gws(int lcr_id);
```
* 📖 kamailio.cfg::function::load_gws()
#### KSR.lcr.load_gws_furi() ####
```cpp
int KSR.lcr.load_gws_furi(int lcr_id, str "ruri_user", str "from_uri");
```
* 📖 kamailio.cfg::function::load_gws_furi()
#### KSR.lcr.load_gws_ruser() ####
```cpp
int KSR.lcr.load_gws_ruser(int lcr_id, str "ruri_user");
```
* 📖 kamailio.cfg::function::load_gws_ruser()
#### KSR.lcr.next_gw() ####
```cpp
int KSR.lcr.next_gw();
```
* 📖 kamailio.cfg::function::next_gw()
#### KSR.lcr.to_any_gw() ####
```cpp
int KSR.lcr.to_any_gw();
```
* 📖 kamailio.cfg::function::to_any_gw()
#### KSR.lcr.to_any_gw_addr() ####
```cpp
int KSR.lcr.to_any_gw_addr(str "addr_str", int transport);
```
* 📖 kamailio.cfg::function::to_any_gw_addr()
#### KSR.lcr.to_gw() ####
```cpp
int KSR.lcr.to_gw(int lcr_id);
```
* 📖 kamailio.cfg::function::to_gw()
#### KSR.lcr.to_gw_addr() ####
```cpp
int KSR.lcr.to_gw_addr(int lcr_id, str "addr_str", int transport);
```
* 📖 kamailio.cfg::function::to_gw_addr()
## log_custom ##
* 📖 kamailio.cfg::module::log_custom.html
#### KSR.log_custom.log_udp() ####
```cpp
int KSR.log_custom.log_udp(str "txt");
```
* 📖 kamailio.cfg::function::log_udp()
## log_systemd ##
* 📖 kamailio.cfg::module::log_systemd.html
#### KSR.log_systemd.sd_journal_print() ####
```cpp
int KSR.log_systemd.sd_journal_print(str "slev", str "stxt");
```
* 📖 kamailio.cfg::function::sd_journal_print()
#### KSR.log_systemd.sd_journal_send_xvap() ####
```cpp
int KSR.log_systemd.sd_journal_send_xvap(str "xname");
```
* 📖 kamailio.cfg::function::sd_journal_send_xvap()
## lwsc ##
* 📖 kamailio.cfg::module::lwsc.html
#### KSR.lwsc.lwsc_notify() ####
```cpp
int KSR.lwsc.lwsc_notify(str "wsurl", str "data");
```
* 📖 kamailio.cfg::function::lwsc_notify()
#### KSR.lwsc.lwsc_notify_proto() ####
```cpp
int KSR.lwsc.lwsc_notify_proto(str "wsurl", str "wsproto", str "data");
```
* 📖 kamailio.cfg::function::lwsc_notify_proto()
#### KSR.lwsc.lwsc_request() ####
```cpp
int KSR.lwsc.lwsc_request(str "wsurl", str "data");
```
* 📖 kamailio.cfg::function::lwsc_request()
#### KSR.lwsc.lwsc_request_proto() ####
```cpp
int KSR.lwsc.lwsc_request_proto(str "wsurl", str "wsproto", str "data");
```
* 📖 kamailio.cfg::function::lwsc_request_proto()
## maxfwd ##
* 📖 kamailio.cfg::module::maxfwd.html
#### KSR.maxfwd.is_maxfwd_lt() ####
```cpp
int KSR.maxfwd.is_maxfwd_lt(int limit);
```
* 📖 kamailio.cfg::function::is_maxfwd_lt()
#### KSR.maxfwd.process_maxfwd() ####
```cpp
int KSR.maxfwd.process_maxfwd(int limit);
```
* 📖 kamailio.cfg::function::process_maxfwd()
## mediaproxy ##
* 📖 kamailio.cfg::module::mediaproxy.html
#### KSR.mediaproxy.end_media_session() ####
```cpp
int KSR.mediaproxy.end_media_session();
```
* 📖 kamailio.cfg::function::end_media_session()
#### KSR.mediaproxy.engage_media_proxy() ####
```cpp
int KSR.mediaproxy.engage_media_proxy();
```
* 📖 kamailio.cfg::function::engage_media_proxy()
#### KSR.mediaproxy.use_media_proxy() ####
```cpp
int KSR.mediaproxy.use_media_proxy();
```
* 📖 kamailio.cfg::function::use_media_proxy()
## misc_radius ##
* 📖 kamailio.cfg::module::misc_radius.html
#### KSR.misc_radius.does_uri_exist() ####
```cpp
int KSR.misc_radius.does_uri_exist();
```
* 📖 kamailio.cfg::function::does_uri_exist()
#### KSR.misc_radius.does_uri_exist_uval() ####
```cpp
int KSR.misc_radius.does_uri_exist_uval(str "suri");
```
* 📖 kamailio.cfg::function::does_uri_exist_uval()
#### KSR.misc_radius.does_uri_user_exist() ####
```cpp
int KSR.misc_radius.does_uri_user_exist();
```
* 📖 kamailio.cfg::function::does_uri_user_exist()
#### KSR.misc_radius.does_uri_user_exist_uval() ####
```cpp
int KSR.misc_radius.does_uri_user_exist_uval(str "user");
```
* 📖 kamailio.cfg::function::does_uri_user_exist_uval()
#### KSR.misc_radius.is_user_in() ####
```cpp
int KSR.misc_radius.is_user_in(str "user", str "group");
```
* 📖 kamailio.cfg::function::is_user_in()
#### KSR.misc_radius.load_callee_avps() ####
```cpp
int KSR.misc_radius.load_callee_avps(str "user");
```
* 📖 kamailio.cfg::function::load_callee_avps()
#### KSR.misc_radius.load_caller_avps() ####
```cpp
int KSR.misc_radius.load_caller_avps(str "user");
```
* 📖 kamailio.cfg::function::load_caller_avps()
## mqtt ##
* 📖 kamailio.cfg::module::mqtt.html
#### KSR.mqtt.publish() ####
```cpp
int KSR.mqtt.publish(str "topic", str "payload", int qos);
```
* 📖 kamailio.cfg::function::publish()
#### KSR.mqtt.subscribe() ####
```cpp
int KSR.mqtt.subscribe(str "topic", int qos);
```
* 📖 kamailio.cfg::function::subscribe()
#### KSR.mqtt.unsubscribe() ####
```cpp
int KSR.mqtt.unsubscribe(str "topic");
```
* 📖 kamailio.cfg::function::unsubscribe()
## mqueue ##
* 📖 kamailio.cfg::module::mqueue.html
#### KSR.mqueue.mq_add() ####
```cpp
int KSR.mqueue.mq_add(str "mq", str "key", str "val");
```
* 📖 kamailio.cfg::function::mq_add()
#### KSR.mqueue.mq_fetch() ####
```cpp
int KSR.mqueue.mq_fetch(str "mq");
```
* 📖 kamailio.cfg::function::mq_fetch()
#### KSR.mqueue.mq_pv_free() ####
```cpp
int KSR.mqueue.mq_pv_free(str "mq");
```
* 📖 kamailio.cfg::function::mq_pv_free()
#### KSR.mqueue.mq_size() ####
```cpp
int KSR.mqueue.mq_size(str "mq");
```
* 📖 kamailio.cfg::function::mq_size()
#### KSR.mqueue.mqk_get() ####
```cpp
xval KSR.mqueue.mqk_get(str "qname");
```
* 📖 kamailio.cfg::function::mqk_get()
#### KSR.mqueue.mqk_gete() ####
```cpp
xval KSR.mqueue.mqk_gete(str "qname");
```
* 📖 kamailio.cfg::function::mqk_gete()
#### KSR.mqueue.mqk_getw() ####
```cpp
xval KSR.mqueue.mqk_getw(str "qname");
```
* 📖 kamailio.cfg::function::mqk_getw()
#### KSR.mqueue.mqv_get() ####
```cpp
xval KSR.mqueue.mqv_get(str "qname");
```
* 📖 kamailio.cfg::function::mqv_get()
#### KSR.mqueue.mqv_gete() ####
```cpp
xval KSR.mqueue.mqv_gete(str "qname");
```
* 📖 kamailio.cfg::function::mqv_gete()
#### KSR.mqueue.mqv_getw() ####
```cpp
xval KSR.mqueue.mqv_getw(str "qname");
```
* 📖 kamailio.cfg::function::mqv_getw()
## msilo ##
* 📖 kamailio.cfg::module::msilo.html
#### KSR.msilo.mdump() ####
```cpp
int KSR.msilo.mdump();
```
* 📖 kamailio.cfg::function::mdump()
#### KSR.msilo.mdump_uri() ####
```cpp
int KSR.msilo.mdump_uri(str "owner_s");
```
* 📖 kamailio.cfg::function::mdump_uri()
#### KSR.msilo.mstore() ####
```cpp
int KSR.msilo.mstore();
```
* 📖 kamailio.cfg::function::mstore()
#### KSR.msilo.mstore_uri() ####
```cpp
int KSR.msilo.mstore_uri(str "owner_s");
```
* 📖 kamailio.cfg::function::mstore_uri()
## msrp ##
* 📖 kamailio.cfg::module::msrp.html
#### KSR.msrp.cmap_lookup() ####
```cpp
int KSR.msrp.cmap_lookup();
```
* 📖 kamailio.cfg::function::cmap_lookup()
#### KSR.msrp.cmap_save() ####
```cpp
int KSR.msrp.cmap_save();
```
* 📖 kamailio.cfg::function::cmap_save()
#### KSR.msrp.is_reply() ####
```cpp
int KSR.msrp.is_reply();
```
* 📖 kamailio.cfg::function::is_reply()
#### KSR.msrp.is_request() ####
```cpp
int KSR.msrp.is_request();
```
* 📖 kamailio.cfg::function::is_request()
#### KSR.msrp.relay() ####
```cpp
int KSR.msrp.relay();
```
* 📖 kamailio.cfg::function::relay()
#### KSR.msrp.relay_flags() ####
```cpp
int KSR.msrp.relay_flags(int rtflags);
```
* 📖 kamailio.cfg::function::relay_flags()
#### KSR.msrp.reply() ####
```cpp
int KSR.msrp.reply(str "rcode", str "rtext", str "rhdrs");
```
* 📖 kamailio.cfg::function::reply()
#### KSR.msrp.reply_flags() ####
```cpp
int KSR.msrp.reply_flags(int rtflags);
```
* 📖 kamailio.cfg::function::reply_flags()
#### KSR.msrp.set_dst() ####
```cpp
int KSR.msrp.set_dst(str "rtaddr", str "rfsock");
```
* 📖 kamailio.cfg::function::set_dst()
## mtree ##
* 📖 kamailio.cfg::module::mtree.html
#### KSR.mtree.mt_match() ####
```cpp
int KSR.mtree.mt_match(str "tname", str "tomatch", int mval);
```
* 📖 kamailio.cfg::function::mt_match()
## nat_traversal ##
* 📖 kamailio.cfg::module::nat_traversal.html
#### KSR.nat_traversal.client_nat_test() ####
```cpp
int KSR.nat_traversal.client_nat_test(int tests);
```
* 📖 kamailio.cfg::function::client_nat_test()
#### KSR.nat_traversal.fix_contact() ####
```cpp
int KSR.nat_traversal.fix_contact();
```
* 📖 kamailio.cfg::function::fix_contact()
#### KSR.nat_traversal.nat_keepalive() ####
```cpp
int KSR.nat_traversal.nat_keepalive();
```
* 📖 kamailio.cfg::function::nat_keepalive()
## nathelper ##
* 📖 kamailio.cfg::module::nathelper.html
#### KSR.nathelper.add_contact_alias() ####
```cpp
int KSR.nathelper.add_contact_alias();
```
* 📖 kamailio.cfg::function::add_contact_alias()
#### KSR.nathelper.add_contact_alias_addr() ####
```cpp
int KSR.nathelper.add_contact_alias_addr(str "ip_str", str "port_str", str "proto_str");
```
* 📖 kamailio.cfg::function::add_contact_alias_addr()
#### KSR.nathelper.add_rcv_param() ####
```cpp
int KSR.nathelper.add_rcv_param(int upos);
```
* 📖 kamailio.cfg::function::add_rcv_param()
#### KSR.nathelper.fix_nated_contact() ####
```cpp
int KSR.nathelper.fix_nated_contact();
```
* 📖 kamailio.cfg::function::fix_nated_contact()
#### KSR.nathelper.fix_nated_register() ####
```cpp
int KSR.nathelper.fix_nated_register();
```
* 📖 kamailio.cfg::function::fix_nated_register()
#### KSR.nathelper.fix_nated_sdp() ####
```cpp
int KSR.nathelper.fix_nated_sdp(int level);
```
* 📖 kamailio.cfg::function::fix_nated_sdp()
#### KSR.nathelper.fix_nated_sdp_ip() ####
```cpp
int KSR.nathelper.fix_nated_sdp_ip(int level, str "ip");
```
* 📖 kamailio.cfg::function::fix_nated_sdp_ip()
#### KSR.nathelper.handle_ruri_alias() ####
```cpp
int KSR.nathelper.handle_ruri_alias();
```
* 📖 kamailio.cfg::function::handle_ruri_alias()
#### KSR.nathelper.is_rfc1918() ####
```cpp
int KSR.nathelper.is_rfc1918(str "address");
```
* 📖 kamailio.cfg::function::is_rfc1918()
#### KSR.nathelper.nat_uac_test() ####
```cpp
int KSR.nathelper.nat_uac_test(int tests);
```
* 📖 kamailio.cfg::function::nat_uac_test()
#### KSR.nathelper.set_alias_to_pv() ####
```cpp
int KSR.nathelper.set_alias_to_pv(str "uri_avp");
```
* 📖 kamailio.cfg::function::set_alias_to_pv()
#### KSR.nathelper.set_contact_alias() ####
```cpp
int KSR.nathelper.set_contact_alias();
```
* 📖 kamailio.cfg::function::set_contact_alias()
#### KSR.nathelper.set_contact_alias_trim() ####
```cpp
int KSR.nathelper.set_contact_alias_trim();
```
* 📖 kamailio.cfg::function::set_contact_alias_trim()
## ndb_mongodb ##
* 📖 kamailio.cfg::module::ndb_mongodb.html
#### KSR.ndb_mongodb.exec() ####
```cpp
int KSR.ndb_mongodb.exec(str "ssrv", str "sdname", str "scname", str "scmd", str "sres");
```
* 📖 kamailio.cfg::function::exec()
#### KSR.ndb_mongodb.exec_simple() ####
```cpp
int KSR.ndb_mongodb.exec_simple(str "ssrv", str "sdname", str "scname", str "scmd", str "sres");
```
* 📖 kamailio.cfg::function::exec_simple()
#### KSR.ndb_mongodb.execx() ####
```cpp
int KSR.ndb_mongodb.execx(str "ssrv", str "sdname", str "scname", str "scmd", str "sres");
```
* 📖 kamailio.cfg::function::execx()
#### KSR.ndb_mongodb.find() ####
```cpp
int KSR.ndb_mongodb.find(str "ssrv", str "sdname", str "scname", str "scmd", str "sres");
```
* 📖 kamailio.cfg::function::find()
#### KSR.ndb_mongodb.find_one() ####
```cpp
int KSR.ndb_mongodb.find_one(str "ssrv", str "sdname", str "scname", str "scmd", str "sres");
```
* 📖 kamailio.cfg::function::find_one()
#### KSR.ndb_mongodb.free_reply() ####
```cpp
int KSR.ndb_mongodb.free_reply(str "name");
```
* 📖 kamailio.cfg::function::free_reply()
#### KSR.ndb_mongodb.next_reply() ####
```cpp
int KSR.ndb_mongodb.next_reply(str "name");
```
* 📖 kamailio.cfg::function::next_reply()
## ndb_redis ##
* 📖 kamailio.cfg::module::ndb_redis.html
#### KSR.ndb_redis.redis_cmd() ####
```cpp
int KSR.ndb_redis.redis_cmd(str "srv", str "rcmd", str "sres");
```
* 📖 kamailio.cfg::function::redis_cmd()
#### KSR.ndb_redis.redis_cmd_p1() ####
```cpp
int KSR.ndb_redis.redis_cmd_p1(str "srv", str "rcmd", str "p1", str "sres");
```
* 📖 kamailio.cfg::function::redis_cmd_p1()
#### KSR.ndb_redis.redis_cmd_p2() ####
```cpp
int KSR.ndb_redis.redis_cmd_p2(str "srv", str "rcmd", str "p1", str "p2", str "sres");
```
* 📖 kamailio.cfg::function::redis_cmd_p2()
#### KSR.ndb_redis.redis_cmd_p3() ####
```cpp
int KSR.ndb_redis.redis_cmd_p3(str "srv", str "rcmd", str "p1", str "p2", str "p3", str "sres");
```
* 📖 kamailio.cfg::function::redis_cmd_p3()
#### KSR.ndb_redis.redis_free() ####
```cpp
int KSR.ndb_redis.redis_free(str "name");
```
* 📖 kamailio.cfg::function::redis_free()
## path ##
* 📖 kamailio.cfg::module::path.html
#### KSR.path.add_path() ####
```cpp
int KSR.path.add_path();
```
* 📖 kamailio.cfg::function::add_path()
#### KSR.path.add_path_received() ####
```cpp
int KSR.path.add_path_received();
```
* 📖 kamailio.cfg::function::add_path_received()
#### KSR.path.add_path_received_user() ####
```cpp
int KSR.path.add_path_received_user(str "_user");
```
* 📖 kamailio.cfg::function::add_path_received_user()
#### KSR.path.add_path_received_user_params() ####
```cpp
int KSR.path.add_path_received_user_params(str "_user", str "_params");
```
* 📖 kamailio.cfg::function::add_path_received_user_params()
#### KSR.path.add_path_user() ####
```cpp
int KSR.path.add_path_user(str "_user");
```
* 📖 kamailio.cfg::function::add_path_user()
#### KSR.path.add_path_user_params() ####
```cpp
int KSR.path.add_path_user_params(str "_user", str "_params");
```
* 📖 kamailio.cfg::function::add_path_user_params()
## pdt ##
* 📖 kamailio.cfg::module::pdt.html
#### KSR.pdt.pd_translate() ####
```cpp
int KSR.pdt.pd_translate(str "sd", int md);
```
* 📖 kamailio.cfg::function::pd_translate()
#### KSR.pdt.pprefix2domain() ####
```cpp
int KSR.pdt.pprefix2domain(int m, int s);
```
* 📖 kamailio.cfg::function::pprefix2domain()
## permissions ##
* 📖 kamailio.cfg::module::permissions.html
#### KSR.permissions.allow_address() ####
```cpp
int KSR.permissions.allow_address(int addr_group, str "ips", int port);
```
* 📖 kamailio.cfg::function::allow_address()
#### KSR.permissions.allow_address_group() ####
```cpp
int KSR.permissions.allow_address_group(str "_addr", int _port);
```
* 📖 kamailio.cfg::function::allow_address_group()
#### KSR.permissions.allow_source_address() ####
```cpp
int KSR.permissions.allow_source_address(int addr_group);
```
* 📖 kamailio.cfg::function::allow_source_address()
#### KSR.permissions.allow_source_address_group() ####
```cpp
int KSR.permissions.allow_source_address_group();
```
* 📖 kamailio.cfg::function::allow_source_address_group()
#### KSR.permissions.allow_trusted() ####
```cpp
int KSR.permissions.allow_trusted();
```
* 📖 kamailio.cfg::function::allow_trusted()
## phonenum ##
* 📖 kamailio.cfg::module::phonenum.html
#### KSR.phonenum.match() ####
```cpp
int KSR.phonenum.match(str "tomatch", str "pvclass");
```
* 📖 kamailio.cfg::function::match()
## pike ##
* 📖 kamailio.cfg::module::pike.html
#### KSR.pike.pike_check_ip() ####
```cpp
int KSR.pike.pike_check_ip(str "strip");
```
* 📖 kamailio.cfg::function::pike_check_ip()
#### KSR.pike.pike_check_req() ####
```cpp
int KSR.pike.pike_check_req();
```
* 📖 kamailio.cfg::function::pike_check_req()
## pipelimit ##
* 📖 kamailio.cfg::module::pipelimit.html
#### KSR.pipelimit.pl_active() ####
```cpp
int KSR.pipelimit.pl_active(str "pipeid");
```
* 📖 kamailio.cfg::function::pl_active()
#### KSR.pipelimit.pl_check() ####
```cpp
int KSR.pipelimit.pl_check(str "pipeid");
```
* 📖 kamailio.cfg::function::pl_check()
#### KSR.pipelimit.pl_check_limit() ####
```cpp
int KSR.pipelimit.pl_check_limit(str "pipeid", str "alg", int limit);
```
* 📖 kamailio.cfg::function::pl_check_limit()
#### KSR.pipelimit.pl_drop() ####
```cpp
int KSR.pipelimit.pl_drop();
```
* 📖 kamailio.cfg::function::pl_drop()
#### KSR.pipelimit.pl_drop_range() ####
```cpp
int KSR.pipelimit.pl_drop_range(int rmin, int rmax);
```
* 📖 kamailio.cfg::function::pl_drop_range()
#### KSR.pipelimit.pl_drop_retry() ####
```cpp
int KSR.pipelimit.pl_drop_retry(int rafter);
```
* 📖 kamailio.cfg::function::pl_drop_retry()
## prefix_route ##
* 📖 kamailio.cfg::module::prefix_route.html
#### KSR.prefix_route.prefix_route() ####
```cpp
int KSR.prefix_route.prefix_route(str "ruser");
```
* 📖 kamailio.cfg::function::prefix_route()
#### KSR.prefix_route.prefix_route_uri() ####
```cpp
int KSR.prefix_route.prefix_route_uri();
```
* 📖 kamailio.cfg::function::prefix_route_uri()
## presence ##
* 📖 kamailio.cfg::module::presence.html
#### KSR.presence.handle_publish() ####
```cpp
int KSR.presence.handle_publish();
```
* 📖 kamailio.cfg::function::handle_publish()
#### KSR.presence.handle_publish_uri() ####
```cpp
int KSR.presence.handle_publish_uri(str "sender_uri");
```
* 📖 kamailio.cfg::function::handle_publish_uri()
#### KSR.presence.handle_subscribe() ####
```cpp
int KSR.presence.handle_subscribe();
```
* 📖 kamailio.cfg::function::handle_subscribe()
#### KSR.presence.handle_subscribe_uri() ####
```cpp
int KSR.presence.handle_subscribe_uri(str "wuri");
```
* 📖 kamailio.cfg::function::handle_subscribe_uri()
#### KSR.presence.pres_auth_status() ####
```cpp
int KSR.presence.pres_auth_status(str "watcher_uri", str "presentity_uri");
```
* 📖 kamailio.cfg::function::pres_auth_status()
#### KSR.presence.pres_has_subscribers() ####
```cpp
int KSR.presence.pres_has_subscribers(str "pres_uri", str "wevent");
```
* 📖 kamailio.cfg::function::pres_has_subscribers()
#### KSR.presence.pres_refresh_watchers() ####
```cpp
int KSR.presence.pres_refresh_watchers(str "pres", str "event", int type);
```
* 📖 kamailio.cfg::function::pres_refresh_watchers()
#### KSR.presence.pres_refresh_watchers_file() ####
```cpp
int KSR.presence.pres_refresh_watchers_file(str "pres", str "event", int type, str "file_uri", str "filename");
```
* 📖 kamailio.cfg::function::pres_refresh_watchers_file()
#### KSR.presence.pres_update_watchers() ####
```cpp
int KSR.presence.pres_update_watchers(str "pres_uri", str "event");
```
* 📖 kamailio.cfg::function::pres_update_watchers()
## presence_xml ##
* 📖 kamailio.cfg::module::presence_xml.html
#### KSR.presence_xml.pres_check_activities() ####
```cpp
int KSR.presence_xml.pres_check_activities(str "pres_uri", str "activity");
```
* 📖 kamailio.cfg::function::pres_check_activities()
#### KSR.presence_xml.pres_check_basic() ####
```cpp
int KSR.presence_xml.pres_check_basic(str "pres_uri", str "status");
```
* 📖 kamailio.cfg::function::pres_check_basic()
## pua ##
* 📖 kamailio.cfg::module::pua.html
#### KSR.pua.pua_set_publish() ####
```cpp
int KSR.pua.pua_set_publish();
```
* 📖 kamailio.cfg::function::pua_set_publish()
#### KSR.pua.pua_update_contact() ####
```cpp
int KSR.pua.pua_update_contact();
```
* 📖 kamailio.cfg::function::pua_update_contact()
## pv_headers ##
* 📖 kamailio.cfg::module::pv_headers.html
#### KSR.pv_headers.pvh_append_header() ####
```cpp
int KSR.pv_headers.pvh_append_header(str "hname", str "hvalue");
```
* 📖 kamailio.cfg::function::pvh_append_header()
#### KSR.pv_headers.pvh_apply_headers() ####
```cpp
int KSR.pv_headers.pvh_apply_headers();
```
* 📖 kamailio.cfg::function::pvh_apply_headers()
#### KSR.pv_headers.pvh_check_header() ####
```cpp
int KSR.pv_headers.pvh_check_header(str "hname");
```
* 📖 kamailio.cfg::function::pvh_check_header()
#### KSR.pv_headers.pvh_collect_headers() ####
```cpp
int KSR.pv_headers.pvh_collect_headers();
```
* 📖 kamailio.cfg::function::pvh_collect_headers()
#### KSR.pv_headers.pvh_modify_header() ####
```cpp
int KSR.pv_headers.pvh_modify_header(str "hname", str "hvalue", int indx);
```
* 📖 kamailio.cfg::function::pvh_modify_header()
#### KSR.pv_headers.pvh_remove_header() ####
```cpp
int KSR.pv_headers.pvh_remove_header(str "hname", int indx);
```
* 📖 kamailio.cfg::function::pvh_remove_header()
#### KSR.pv_headers.pvh_reset_headers() ####
```cpp
int KSR.pv_headers.pvh_reset_headers();
```
* 📖 kamailio.cfg::function::pvh_reset_headers()
## pvx ##
* 📖 kamailio.cfg::module::pv.html
#### KSR.pvx.avp_get() ####
```cpp
xval KSR.pvx.avp_get(str "xname");
```
* 📖 kamailio.cfg::function::avp_get()
#### KSR.pvx.avp_gete() ####
```cpp
xval KSR.pvx.avp_gete(str "xname");
```
* 📖 kamailio.cfg::function::avp_gete()
#### KSR.pvx.avp_getw() ####
```cpp
xval KSR.pvx.avp_getw(str "xname");
```
* 📖 kamailio.cfg::function::avp_getw()
#### KSR.pvx.avp_is_null() ####
```cpp
int KSR.pvx.avp_is_null(str "xname");
```
* 📖 kamailio.cfg::function::avp_is_null()
#### KSR.pvx.avp_rm() ####
```cpp
int KSR.pvx.avp_rm(str "xname");
```
* 📖 kamailio.cfg::function::avp_rm()
#### KSR.pvx.avp_seti() ####
```cpp
int KSR.pvx.avp_seti(str "xname", int vn);
```
* 📖 kamailio.cfg::function::avp_seti()
#### KSR.pvx.avp_sets() ####
```cpp
int KSR.pvx.avp_sets(str "xname", str "vs");
```
* 📖 kamailio.cfg::function::avp_sets()
#### KSR.pvx.evalx() ####
```cpp
int KSR.pvx.evalx(str "dst", str "fmt");
```
* 📖 kamailio.cfg::function::evalx()
#### KSR.pvx.pv_var_to_xavp() ####
```cpp
int KSR.pvx.pv_var_to_xavp(str "varname", str "xname");
```
* 📖 kamailio.cfg::function::pv_var_to_xavp()
#### KSR.pvx.pv_xavi_print() ####
```cpp
int KSR.pvx.pv_xavi_print();
```
* 📖 kamailio.cfg::function::pv_xavi_print()
#### KSR.pvx.pv_xavp_print() ####
```cpp
int KSR.pvx.pv_xavp_print();
```
* 📖 kamailio.cfg::function::pv_xavp_print()
#### KSR.pvx.pv_xavp_to_var() ####
```cpp
int KSR.pvx.pv_xavp_to_var(str "xname");
```
* 📖 kamailio.cfg::function::pv_xavp_to_var()
#### KSR.pvx.pv_xavu_print() ####
```cpp
int KSR.pvx.pv_xavu_print();
```
* 📖 kamailio.cfg::function::pv_xavu_print()
#### KSR.pvx.sbranch_append() ####
```cpp
int KSR.pvx.sbranch_append();
```
* 📖 kamailio.cfg::function::sbranch_append()
#### KSR.pvx.sbranch_reset() ####
```cpp
int KSR.pvx.sbranch_reset();
```
* 📖 kamailio.cfg::function::sbranch_reset()
#### KSR.pvx.sbranch_set_ruri() ####
```cpp
int KSR.pvx.sbranch_set_ruri();
```
* 📖 kamailio.cfg::function::sbranch_set_ruri()
#### KSR.pvx.shv_get() ####
```cpp
xval KSR.pvx.shv_get(str "vname");
```
* 📖 kamailio.cfg::function::shv_get()
#### KSR.pvx.shv_seti() ####
```cpp
int KSR.pvx.shv_seti(str "vname", int ival);
```
* 📖 kamailio.cfg::function::shv_seti()
#### KSR.pvx.shv_sets() ####
```cpp
int KSR.pvx.shv_sets(str "vname", str "sval");
```
* 📖 kamailio.cfg::function::shv_sets()
#### KSR.pvx.var_get() ####
```cpp
xval KSR.pvx.var_get(str "vname");
```
* 📖 kamailio.cfg::function::var_get()
#### KSR.pvx.var_seti() ####
```cpp
int KSR.pvx.var_seti(str "vname", int ival);
```
* 📖 kamailio.cfg::function::var_seti()
#### KSR.pvx.var_sets() ####
```cpp
int KSR.pvx.var_sets(str "vname", str "sval");
```
* 📖 kamailio.cfg::function::var_sets()
#### KSR.pvx.xavi_child_get() ####
```cpp
xval KSR.pvx.xavi_child_get(str "rname", str "cname");
```
* 📖 kamailio.cfg::function::xavi_child_get()
#### KSR.pvx.xavi_child_gete() ####
```cpp
xval KSR.pvx.xavi_child_gete(str "rname", str "cname");
```
* 📖 kamailio.cfg::function::xavi_child_gete()
#### KSR.pvx.xavi_child_getw() ####
```cpp
xval KSR.pvx.xavi_child_getw(str "rname", str "cname");
```
* 📖 kamailio.cfg::function::xavi_child_getw()
#### KSR.pvx.xavi_child_is_null() ####
```cpp
int KSR.pvx.xavi_child_is_null(str "rname", str "cname");
```
* 📖 kamailio.cfg::function::xavi_child_is_null()
#### KSR.pvx.xavi_child_rm() ####
```cpp
int KSR.pvx.xavi_child_rm(str "rname", str "cname");
```
* 📖 kamailio.cfg::function::xavi_child_rm()
#### KSR.pvx.xavi_child_seti() ####
```cpp
int KSR.pvx.xavi_child_seti(str "rname", str "cname", int ival);
```
* 📖 kamailio.cfg::function::xavi_child_seti()
#### KSR.pvx.xavi_child_sets() ####
```cpp
int KSR.pvx.xavi_child_sets(str "rname", str "cname", str "sval");
```
* 📖 kamailio.cfg::function::xavi_child_sets()
#### KSR.pvx.xavi_get() ####
```cpp
xval KSR.pvx.xavi_get(str "rname");
```
* 📖 kamailio.cfg::function::xavi_get()
#### KSR.pvx.xavi_get_keys() ####
```cpp
xval KSR.pvx.xavi_get_keys(str "rname", int indx);
```
* 📖 kamailio.cfg::function::xavi_get_keys()
#### KSR.pvx.xavi_getd() ####
```cpp
xval KSR.pvx.xavi_getd(str "rname");
```
* 📖 kamailio.cfg::function::xavi_getd()
#### KSR.pvx.xavi_getd_p1() ####
```cpp
xval KSR.pvx.xavi_getd_p1(str "rname", int indx);
```
* 📖 kamailio.cfg::function::xavi_getd_p1()
#### KSR.pvx.xavi_gete() ####
```cpp
xval KSR.pvx.xavi_gete(str "rname");
```
* 📖 kamailio.cfg::function::xavi_gete()
#### KSR.pvx.xavi_getw() ####
```cpp
xval KSR.pvx.xavi_getw(str "rname");
```
* 📖 kamailio.cfg::function::xavi_getw()
#### KSR.pvx.xavi_is_null() ####
```cpp
int KSR.pvx.xavi_is_null(str "rname");
```
* 📖 kamailio.cfg::function::xavi_is_null()
#### KSR.pvx.xavi_rm() ####
```cpp
int KSR.pvx.xavi_rm(str "rname");
```
* 📖 kamailio.cfg::function::xavi_rm()
#### KSR.pvx.xavi_seti() ####
```cpp
int KSR.pvx.xavi_seti(str "rname", int ival);
```
* 📖 kamailio.cfg::function::xavi_seti()
#### KSR.pvx.xavi_sets() ####
```cpp
int KSR.pvx.xavi_sets(str "rname", str "sval");
```
* 📖 kamailio.cfg::function::xavi_sets()
#### KSR.pvx.xavp_child_get() ####
```cpp
xval KSR.pvx.xavp_child_get(str "rname", str "cname");
```
* 📖 kamailio.cfg::function::xavp_child_get()
#### KSR.pvx.xavp_child_gete() ####
```cpp
xval KSR.pvx.xavp_child_gete(str "rname", str "cname");
```
* 📖 kamailio.cfg::function::xavp_child_gete()
#### KSR.pvx.xavp_child_getw() ####
```cpp
xval KSR.pvx.xavp_child_getw(str "rname", str "cname");
```
* 📖 kamailio.cfg::function::xavp_child_getw()
#### KSR.pvx.xavp_child_is_null() ####
```cpp
int KSR.pvx.xavp_child_is_null(str "rname", str "cname");
```
* 📖 kamailio.cfg::function::xavp_child_is_null()
#### KSR.pvx.xavp_child_rm() ####
```cpp
int KSR.pvx.xavp_child_rm(str "rname", str "cname");
```
* 📖 kamailio.cfg::function::xavp_child_rm()
#### KSR.pvx.xavp_child_seti() ####
```cpp
int KSR.pvx.xavp_child_seti(str "rname", str "cname", int ival);
```
* 📖 kamailio.cfg::function::xavp_child_seti()
#### KSR.pvx.xavp_child_sets() ####
```cpp
int KSR.pvx.xavp_child_sets(str "rname", str "cname", str "sval");
```
* 📖 kamailio.cfg::function::xavp_child_sets()
#### KSR.pvx.xavp_copy() ####
```cpp
int KSR.pvx.xavp_copy(str "src_name", int src_idx, str "dst_name");
```
* 📖 kamailio.cfg::function::xavp_copy()
#### KSR.pvx.xavp_copy_dst() ####
```cpp
int KSR.pvx.xavp_copy_dst(str "src_name", int src_idx, str "dst_name", int dst_idx);
```
* 📖 kamailio.cfg::function::xavp_copy_dst()
#### KSR.pvx.xavp_get() ####
```cpp
xval KSR.pvx.xavp_get(str "rname");
```
* 📖 kamailio.cfg::function::xavp_get()
#### KSR.pvx.xavp_get_keys() ####
```cpp
xval KSR.pvx.xavp_get_keys(str "rname", int indx);
```
* 📖 kamailio.cfg::function::xavp_get_keys()
#### KSR.pvx.xavp_getd() ####
```cpp
xval KSR.pvx.xavp_getd(str "rname");
```
* 📖 kamailio.cfg::function::xavp_getd()
#### KSR.pvx.xavp_getd_p1() ####
```cpp
xval KSR.pvx.xavp_getd_p1(str "rname", int indx);
```
* 📖 kamailio.cfg::function::xavp_getd_p1()
#### KSR.pvx.xavp_gete() ####
```cpp
xval KSR.pvx.xavp_gete(str "rname");
```
* 📖 kamailio.cfg::function::xavp_gete()
#### KSR.pvx.xavp_getw() ####
```cpp
xval KSR.pvx.xavp_getw(str "rname");
```
* 📖 kamailio.cfg::function::xavp_getw()
#### KSR.pvx.xavp_is_null() ####
```cpp
int KSR.pvx.xavp_is_null(str "rname");
```
* 📖 kamailio.cfg::function::xavp_is_null()
#### KSR.pvx.xavp_params_explode() ####
```cpp
int KSR.pvx.xavp_params_explode(str "sparams", str "sxname");
```
* 📖 kamailio.cfg::function::xavp_params_explode()
#### KSR.pvx.xavp_params_implode() ####
```cpp
int KSR.pvx.xavp_params_implode(str "sxname", str "svname");
```
* 📖 kamailio.cfg::function::xavp_params_implode()
#### KSR.pvx.xavp_rm() ####
```cpp
int KSR.pvx.xavp_rm(str "rname");
```
* 📖 kamailio.cfg::function::xavp_rm()
#### KSR.pvx.xavp_seti() ####
```cpp
int KSR.pvx.xavp_seti(str "rname", int ival);
```
* 📖 kamailio.cfg::function::xavp_seti()
#### KSR.pvx.xavp_sets() ####
```cpp
int KSR.pvx.xavp_sets(str "rname", str "sval");
```
* 📖 kamailio.cfg::function::xavp_sets()
#### KSR.pvx.xavp_slist_explode() ####
```cpp
int KSR.pvx.xavp_slist_explode(str "slist", str "sep", str "mode", str "sxname");
```
* 📖 kamailio.cfg::function::xavp_slist_explode()
#### KSR.pvx.xavu_child_get() ####
```cpp
xval KSR.pvx.xavu_child_get(str "rname", str "cname");
```
* 📖 kamailio.cfg::function::xavu_child_get()
#### KSR.pvx.xavu_child_gete() ####
```cpp
xval KSR.pvx.xavu_child_gete(str "rname", str "cname");
```
* 📖 kamailio.cfg::function::xavu_child_gete()
#### KSR.pvx.xavu_child_getw() ####
```cpp
xval KSR.pvx.xavu_child_getw(str "rname", str "cname");
```
* 📖 kamailio.cfg::function::xavu_child_getw()
#### KSR.pvx.xavu_child_is_null() ####
```cpp
int KSR.pvx.xavu_child_is_null(str "rname", str "cname");
```
* 📖 kamailio.cfg::function::xavu_child_is_null()
#### KSR.pvx.xavu_child_rm() ####
```cpp
int KSR.pvx.xavu_child_rm(str "rname", str "cname");
```
* 📖 kamailio.cfg::function::xavu_child_rm()
#### KSR.pvx.xavu_child_seti() ####
```cpp
int KSR.pvx.xavu_child_seti(str "rname", str "cname", int ival);
```
* 📖 kamailio.cfg::function::xavu_child_seti()
#### KSR.pvx.xavu_child_sets() ####
```cpp
int KSR.pvx.xavu_child_sets(str "rname", str "cname", str "sval");
```
* 📖 kamailio.cfg::function::xavu_child_sets()
#### KSR.pvx.xavu_get() ####
```cpp
xval KSR.pvx.xavu_get(str "rname");
```
* 📖 kamailio.cfg::function::xavu_get()
#### KSR.pvx.xavu_gete() ####
```cpp
xval KSR.pvx.xavu_gete(str "rname");
```
* 📖 kamailio.cfg::function::xavu_gete()
#### KSR.pvx.xavu_getw() ####
```cpp
xval KSR.pvx.xavu_getw(str "rname");
```
* 📖 kamailio.cfg::function::xavu_getw()
#### KSR.pvx.xavu_is_null() ####
```cpp
int KSR.pvx.xavu_is_null(str "rname");
```
* 📖 kamailio.cfg::function::xavu_is_null()
#### KSR.pvx.xavu_rm() ####
```cpp
int KSR.pvx.xavu_rm(str "rname");
```
* 📖 kamailio.cfg::function::xavu_rm()
#### KSR.pvx.xavu_seti() ####
```cpp
int KSR.pvx.xavu_seti(str "rname", int ival);
```
* 📖 kamailio.cfg::function::xavu_seti()
#### KSR.pvx.xavu_sets() ####
```cpp
int KSR.pvx.xavu_sets(str "rname", str "sval");
```
* 📖 kamailio.cfg::function::xavu_sets()
## rabbitmq ##
* 📖 kamailio.cfg::module::rabbitmq.html
#### KSR.rabbitmq.publish() ####
```cpp
int KSR.rabbitmq.publish(str "exchange", str "routingkey", str "contenttype", str "messagebody");
```
* 📖 kamailio.cfg::function::publish()
#### KSR.rabbitmq.publish_consume() ####
```cpp
int KSR.rabbitmq.publish_consume(str "exchange", str "routingkey", str "contenttype", str "messagebody", str "dpv");
```
* 📖 kamailio.cfg::function::publish_consume()
## regex ##
* 📖 kamailio.cfg::module::regex.html
#### KSR.regex.pcre_match() ####
```cpp
int KSR.regex.pcre_match(str "string", str "regex");
```
* 📖 kamailio.cfg::function::pcre_match()
#### KSR.regex.pcre_match_group() ####
```cpp
int KSR.regex.pcre_match_group(str "string", int num_pcre);
```
* 📖 kamailio.cfg::function::pcre_match_group()
## registrar ##
* 📖 kamailio.cfg::module::registrar.html
#### KSR.registrar.add_sock_hdr() ####
```cpp
int KSR.registrar.add_sock_hdr(str "hdr_name");
```
* 📖 kamailio.cfg::function::add_sock_hdr()
#### KSR.registrar.lookup() ####
```cpp
int KSR.registrar.lookup(str "table");
```
* 📖 kamailio.cfg::function::lookup()
#### KSR.registrar.lookup_branches() ####
```cpp
int KSR.registrar.lookup_branches(str "_dtable");
```
* 📖 kamailio.cfg::function::lookup_branches()
#### KSR.registrar.lookup_to_dset() ####
```cpp
int KSR.registrar.lookup_to_dset(str "table", str "uri");
```
* 📖 kamailio.cfg::function::lookup_to_dset()
#### KSR.registrar.lookup_uri() ####
```cpp
int KSR.registrar.lookup_uri(str "table", str "uri");
```
* 📖 kamailio.cfg::function::lookup_uri()
#### KSR.registrar.reg_fetch_contacts() ####
```cpp
int KSR.registrar.reg_fetch_contacts(str "dtable", str "uri", str "profile");
```
* 📖 kamailio.cfg::function::reg_fetch_contacts()
#### KSR.registrar.reg_free_contacts() ####
```cpp
int KSR.registrar.reg_free_contacts(str "profile");
```
* 📖 kamailio.cfg::function::reg_free_contacts()
#### KSR.registrar.reg_send_reply() ####
```cpp
int KSR.registrar.reg_send_reply();
```
* 📖 kamailio.cfg::function::reg_send_reply()
#### KSR.registrar.registered() ####
```cpp
int KSR.registrar.registered(str "table");
```
* 📖 kamailio.cfg::function::registered()
#### KSR.registrar.registered_action() ####
```cpp
int KSR.registrar.registered_action(str "_dtable", str "_uri", int _f, int _aflags);
```
* 📖 kamailio.cfg::function::registered_action()
#### KSR.registrar.registered_flags() ####
```cpp
int KSR.registrar.registered_flags(str "_dtable", str "_uri", int _f);
```
* 📖 kamailio.cfg::function::registered_flags()
#### KSR.registrar.registered_uri() ####
```cpp
int KSR.registrar.registered_uri(str "_dtable", str "_uri");
```
* 📖 kamailio.cfg::function::registered_uri()
#### KSR.registrar.save() ####
```cpp
int KSR.registrar.save(str "table", int flags);
```
* 📖 kamailio.cfg::function::save()
#### KSR.registrar.save_uri() ####
```cpp
int KSR.registrar.save_uri(str "table", int flags, str "uri");
```
* 📖 kamailio.cfg::function::save_uri()
#### KSR.registrar.set_q_override() ####
```cpp
int KSR.registrar.set_q_override(str "new_q");
```
* 📖 kamailio.cfg::function::set_q_override()
#### KSR.registrar.unregister() ####
```cpp
int KSR.registrar.unregister(str "_dtable", str "_uri");
```
* 📖 kamailio.cfg::function::unregister()
#### KSR.registrar.unregister_ruid() ####
```cpp
int KSR.registrar.unregister_ruid(str "_dtable", str "_uri", str "_ruid");
```
* 📖 kamailio.cfg::function::unregister_ruid()
## rls ##
* 📖 kamailio.cfg::module::rls.html
#### KSR.rls.handle_notify() ####
```cpp
int KSR.rls.handle_notify();
```
* 📖 kamailio.cfg::function::handle_notify()
#### KSR.rls.handle_subscribe() ####
```cpp
int KSR.rls.handle_subscribe();
```
* 📖 kamailio.cfg::function::handle_subscribe()
#### KSR.rls.handle_subscribe_uri() ####
```cpp
int KSR.rls.handle_subscribe_uri(str "wuri");
```
* 📖 kamailio.cfg::function::handle_subscribe_uri()
#### KSR.rls.update_subs() ####
```cpp
int KSR.rls.update_subs(str "uri", str "event");
```
* 📖 kamailio.cfg::function::update_subs()
## rr ##
* 📖 kamailio.cfg::module::rr.html
#### KSR.rr.add_rr_param() ####
```cpp
int KSR.rr.add_rr_param(str "sparam");
```
* 📖 kamailio.cfg::function::add_rr_param()
#### KSR.rr.check_route_param() ####
```cpp
int KSR.rr.check_route_param(str "sre");
```
* 📖 kamailio.cfg::function::check_route_param()
#### KSR.rr.is_direction() ####
```cpp
int KSR.rr.is_direction(str "dir");
```
* 📖 kamailio.cfg::function::is_direction()
#### KSR.rr.loose_route() ####
```cpp
int KSR.rr.loose_route();
```
* 📖 kamailio.cfg::function::loose_route()
#### KSR.rr.loose_route_mode() ####
```cpp
int KSR.rr.loose_route_mode(int vmode);
```
* 📖 kamailio.cfg::function::loose_route_mode()
#### KSR.rr.loose_route_preloaded() ####
```cpp
int KSR.rr.loose_route_preloaded();
```
* 📖 kamailio.cfg::function::loose_route_preloaded()
#### KSR.rr.next_hop_route() ####
```cpp
int KSR.rr.next_hop_route();
```
* 📖 kamailio.cfg::function::next_hop_route()
#### KSR.rr.record_route() ####
```cpp
int KSR.rr.record_route();
```
* 📖 kamailio.cfg::function::record_route()
#### KSR.rr.record_route_advertised_address() ####
```cpp
int KSR.rr.record_route_advertised_address(str "addr");
```
* 📖 kamailio.cfg::function::record_route_advertised_address()
#### KSR.rr.record_route_params() ####
```cpp
int KSR.rr.record_route_params(str "sparams");
```
* 📖 kamailio.cfg::function::record_route_params()
#### KSR.rr.record_route_preset() ####
```cpp
int KSR.rr.record_route_preset(str "addr1", str "addr2");
```
* 📖 kamailio.cfg::function::record_route_preset()
#### KSR.rr.record_route_preset_one() ####
```cpp
int KSR.rr.record_route_preset_one(str "addr1");
```
* 📖 kamailio.cfg::function::record_route_preset_one()
#### KSR.rr.remove_record_route() ####
```cpp
int KSR.rr.remove_record_route();
```
* 📖 kamailio.cfg::function::remove_record_route()
## rtjson ##
* 📖 kamailio.cfg::module::rtjson.html
#### KSR.rtjson.init_routes() ####
```cpp
int KSR.rtjson.init_routes(str "srdoc");
```
* 📖 kamailio.cfg::function::init_routes()
#### KSR.rtjson.next_route() ####
```cpp
int KSR.rtjson.next_route();
```
* 📖 kamailio.cfg::function::next_route()
#### KSR.rtjson.push_routes() ####
```cpp
int KSR.rtjson.push_routes();
```
* 📖 kamailio.cfg::function::push_routes()
#### KSR.rtjson.update_branch() ####
```cpp
int KSR.rtjson.update_branch();
```
* 📖 kamailio.cfg::function::update_branch()
## rtpengine ##
* 📖 kamailio.cfg::module::rtpengine.html
This module enables media streams to be proxied via an RTPproxy.
#### KSR.rtpengine.block_dtmf() ####
```cpp
int KSR.rtpengine.block_dtmf(str "flags");
```
* 📖 kamailio.cfg::function::block_dtmf()
#### KSR.rtpengine.block_dtmf0() ####
```cpp
int KSR.rtpengine.block_dtmf0();
```
* 📖 kamailio.cfg::function::block_dtmf0()
#### KSR.rtpengine.block_media() ####
```cpp
int KSR.rtpengine.block_media(str "flags");
```
* 📖 kamailio.cfg::function::block_media()
#### KSR.rtpengine.block_media0() ####
```cpp
int KSR.rtpengine.block_media0();
```
* 📖 kamailio.cfg::function::block_media0()
#### KSR.rtpengine.play_media() ####
```cpp
int KSR.rtpengine.play_media(str "flags");
```
* 📖 kamailio.cfg::function::play_media()
#### KSR.rtpengine.rtpengine_answer() ####
```cpp
int KSR.rtpengine.rtpengine_answer(str "flags");
```
* 📖 kamailio.cfg::function::rtpengine_answer()
#### KSR.rtpengine.rtpengine_answer0() ####
```cpp
int KSR.rtpengine.rtpengine_answer0();
```
* 📖 kamailio.cfg::function::rtpengine_answer0()
#### KSR.rtpengine.rtpengine_delete() ####
```cpp
int KSR.rtpengine.rtpengine_delete(str "flags");
```
* 📖 kamailio.cfg::function::rtpengine_delete()
#### KSR.rtpengine.rtpengine_delete0() ####
```cpp
int KSR.rtpengine.rtpengine_delete0();
```
* 📖 kamailio.cfg::function::rtpengine_delete0()
#### KSR.rtpengine.rtpengine_manage() ####
```cpp
int KSR.rtpengine.rtpengine_manage(str "flags");
```
* 📖 kamailio.cfg::function::rtpengine_manage()
#### KSR.rtpengine.rtpengine_manage0() ####
```cpp
int KSR.rtpengine.rtpengine_manage0();
```
* 📖 kamailio.cfg::function::rtpengine_manage0()
#### KSR.rtpengine.rtpengine_offer() ####
```cpp
int KSR.rtpengine.rtpengine_offer(str "flags");
```
* 📖 kamailio.cfg::function::rtpengine_offer()
#### KSR.rtpengine.rtpengine_offer0() ####
```cpp
int KSR.rtpengine.rtpengine_offer0();
```
* 📖 kamailio.cfg::function::rtpengine_offer0()
#### KSR.rtpengine.rtpengine_query() ####
```cpp
int KSR.rtpengine.rtpengine_query(str "flags");
```
* 📖 kamailio.cfg::function::rtpengine_query()
#### KSR.rtpengine.rtpengine_query0() ####
```cpp
int KSR.rtpengine.rtpengine_query0();
```
* 📖 kamailio.cfg::function::rtpengine_query0()
#### KSR.rtpengine.set_rtpengine_set() ####
```cpp
int KSR.rtpengine.set_rtpengine_set(int r1);
```
* 📖 kamailio.cfg::function::set_rtpengine_set()
#### KSR.rtpengine.set_rtpengine_set2() ####
```cpp
int KSR.rtpengine.set_rtpengine_set2(int r1, int r2);
```
* 📖 kamailio.cfg::function::set_rtpengine_set2()
This function is the sibling function to [set_rtpengine_set()](#ksrrtpengineset_rtpengine_set). The original module function is declared as
`set_rtpengine_set(setid[, setid2])`.
In KEMI set_rtpengine_set() takes only the first parameter and set_rtpengine_set2() allows for the second optional parameter to be passed.
```
KSR.rtpengine.set_rtpengine_set2(2, 1);
KSR.rtpengine.rtpengine_offer();
```
Please review the documentation for [set_rtpengine_set()](#ksrrtpengineset_rtpengine_set) for more information.
#### KSR.rtpengine.start_recording() ####
```cpp
int KSR.rtpengine.start_recording();
```
* 📖 kamailio.cfg::function::start_recording()
#### KSR.rtpengine.stop_media() ####
```cpp
int KSR.rtpengine.stop_media(str "flags");
```
* 📖 kamailio.cfg::function::stop_media()
#### KSR.rtpengine.stop_media0() ####
```cpp
int KSR.rtpengine.stop_media0();
```
* 📖 kamailio.cfg::function::stop_media0()
#### KSR.rtpengine.stop_recording() ####
```cpp
int KSR.rtpengine.stop_recording();
```
* 📖 kamailio.cfg::function::stop_recording()
#### KSR.rtpengine.unblock_dtmf() ####
```cpp
int KSR.rtpengine.unblock_dtmf(str "flags");
```
* 📖 kamailio.cfg::function::unblock_dtmf()
#### KSR.rtpengine.unblock_dtmf0() ####
```cpp
int KSR.rtpengine.unblock_dtmf0();
```
* 📖 kamailio.cfg::function::unblock_dtmf0()
#### KSR.rtpengine.unblock_media() ####
```cpp
int KSR.rtpengine.unblock_media(str "flags");
```
* 📖 kamailio.cfg::function::unblock_media()
#### KSR.rtpengine.unblock_media0() ####
```cpp
int KSR.rtpengine.unblock_media0();
```
* 📖 kamailio.cfg::function::unblock_media0()
## rtpproxy ##
* 📖 kamailio.cfg::module::rtpproxy.html
#### KSR.rtpproxy.rtpproxy_answer() ####
```cpp
int KSR.rtpproxy.rtpproxy_answer(str "flags");
```
* 📖 kamailio.cfg::function::rtpproxy_answer()
#### KSR.rtpproxy.rtpproxy_answer0() ####
```cpp
int KSR.rtpproxy.rtpproxy_answer0();
```
* 📖 kamailio.cfg::function::rtpproxy_answer0()
#### KSR.rtpproxy.rtpproxy_answer_ip() ####
```cpp
int KSR.rtpproxy.rtpproxy_answer_ip(str "flags", str "mip");
```
* 📖 kamailio.cfg::function::rtpproxy_answer_ip()
#### KSR.rtpproxy.rtpproxy_destroy() ####
```cpp
int KSR.rtpproxy.rtpproxy_destroy(str "flags");
```
* 📖 kamailio.cfg::function::rtpproxy_destroy()
#### KSR.rtpproxy.rtpproxy_destroy0() ####
```cpp
int KSR.rtpproxy.rtpproxy_destroy0();
```
* 📖 kamailio.cfg::function::rtpproxy_destroy0()
#### KSR.rtpproxy.rtpproxy_manage() ####
```cpp
int KSR.rtpproxy.rtpproxy_manage(str "flags");
```
* 📖 kamailio.cfg::function::rtpproxy_manage()
#### KSR.rtpproxy.rtpproxy_manage0() ####
```cpp
int KSR.rtpproxy.rtpproxy_manage0();
```
* 📖 kamailio.cfg::function::rtpproxy_manage0()
#### KSR.rtpproxy.rtpproxy_manage_ip() ####
```cpp
int KSR.rtpproxy.rtpproxy_manage_ip(str "flags", str "mip");
```
* 📖 kamailio.cfg::function::rtpproxy_manage_ip()
#### KSR.rtpproxy.rtpproxy_offer() ####
```cpp
int KSR.rtpproxy.rtpproxy_offer(str "flags");
```
* 📖 kamailio.cfg::function::rtpproxy_offer()
#### KSR.rtpproxy.rtpproxy_offer0() ####
```cpp
int KSR.rtpproxy.rtpproxy_offer0();
```
* 📖 kamailio.cfg::function::rtpproxy_offer0()
#### KSR.rtpproxy.rtpproxy_offer_ip() ####
```cpp
int KSR.rtpproxy.rtpproxy_offer_ip(str "flags", str "mip");
```
* 📖 kamailio.cfg::function::rtpproxy_offer_ip()
#### KSR.rtpproxy.rtpproxy_stop_stream2uac() ####
```cpp
int KSR.rtpproxy.rtpproxy_stop_stream2uac();
```
* 📖 kamailio.cfg::function::rtpproxy_stop_stream2uac()
#### KSR.rtpproxy.rtpproxy_stop_stream2uas() ####
```cpp
int KSR.rtpproxy.rtpproxy_stop_stream2uas();
```
* 📖 kamailio.cfg::function::rtpproxy_stop_stream2uas()
#### KSR.rtpproxy.rtpproxy_stream2uac() ####
```cpp
int KSR.rtpproxy.rtpproxy_stream2uac(str "pname", int count);
```
* 📖 kamailio.cfg::function::rtpproxy_stream2uac()
#### KSR.rtpproxy.rtpproxy_stream2uas() ####
```cpp
int KSR.rtpproxy.rtpproxy_stream2uas(str "pname", int count);
```
* 📖 kamailio.cfg::function::rtpproxy_stream2uas()
#### KSR.rtpproxy.set_rtpproxy_set() ####
```cpp
int KSR.rtpproxy.set_rtpproxy_set(int rset);
```
* 📖 kamailio.cfg::function::set_rtpproxy_set()
#### KSR.rtpproxy.start_recording() ####
```cpp
int KSR.rtpproxy.start_recording();
```
* 📖 kamailio.cfg::function::start_recording()
## sanity ##
* 📖 kamailio.cfg::module::sanity.html
#### KSR.sanity.sanity_check() ####
```cpp
int KSR.sanity.sanity_check(int mflags, int uflags);
```
* 📖 kamailio.cfg::function::sanity_check()
#### KSR.sanity.sanity_check_defaults() ####
```cpp
int KSR.sanity.sanity_check_defaults();
```
* 📖 kamailio.cfg::function::sanity_check_defaults()
#### KSR.sanity.sanity_reply() ####
```cpp
int KSR.sanity.sanity_reply();
```
* 📖 kamailio.cfg::function::sanity_reply()
## sca ##
* 📖 kamailio.cfg::module::sca.html
#### KSR.sca.call_info_update() ####
```cpp
int KSR.sca.call_info_update(int update_mask, str "uri_to", str "uri_from");
```
* 📖 kamailio.cfg::function::call_info_update()
#### KSR.sca.call_info_update_default() ####
```cpp
int KSR.sca.call_info_update_default();
```
* 📖 kamailio.cfg::function::call_info_update_default()
#### KSR.sca.call_info_update_mask() ####
```cpp
int KSR.sca.call_info_update_mask(int umask);
```
* 📖 kamailio.cfg::function::call_info_update_mask()
#### KSR.sca.call_info_update_turi() ####
```cpp
int KSR.sca.call_info_update_turi(int umask, str "sto");
```
* 📖 kamailio.cfg::function::call_info_update_turi()
#### KSR.sca.handle_subscribe() ####
```cpp
int KSR.sca.handle_subscribe();
```
* 📖 kamailio.cfg::function::handle_subscribe()
## sdpops ##
* 📖 kamailio.cfg::module::sdpops.html
#### KSR.sdpops.keep_codecs_by_id() ####
```cpp
int KSR.sdpops.keep_codecs_by_id(str "codecs", str "media");
```
* 📖 kamailio.cfg::function::keep_codecs_by_id()
#### KSR.sdpops.keep_codecs_by_name() ####
```cpp
int KSR.sdpops.keep_codecs_by_name(str "codecs", str "media");
```
* 📖 kamailio.cfg::function::keep_codecs_by_name()
#### KSR.sdpops.remove_codecs_by_id() ####
```cpp
int KSR.sdpops.remove_codecs_by_id(str "codecs", str "media");
```
* 📖 kamailio.cfg::function::remove_codecs_by_id()
#### KSR.sdpops.remove_codecs_by_name() ####
```cpp
int KSR.sdpops.remove_codecs_by_name(str "codecs", str "media");
```
* 📖 kamailio.cfg::function::remove_codecs_by_name()
#### KSR.sdpops.remove_line_by_prefix() ####
```cpp
int KSR.sdpops.remove_line_by_prefix(str "prefix", str "media");
```
* 📖 kamailio.cfg::function::remove_line_by_prefix()
#### KSR.sdpops.remove_media() ####
```cpp
int KSR.sdpops.remove_media(str "media");
```
* 📖 kamailio.cfg::function::remove_media()
#### KSR.sdpops.sdp_content() ####
```cpp
int KSR.sdpops.sdp_content();
```
* 📖 kamailio.cfg::function::sdp_content()
#### KSR.sdpops.sdp_content_flags() ####
```cpp
int KSR.sdpops.sdp_content_flags(int flags);
```
* 📖 kamailio.cfg::function::sdp_content_flags()
#### KSR.sdpops.sdp_get() ####
```cpp
int KSR.sdpops.sdp_get(str "avp");
```
* 📖 kamailio.cfg::function::sdp_get()
#### KSR.sdpops.sdp_get_line_startswith() ####
```cpp
int KSR.sdpops.sdp_get_line_startswith(str "aname", str "sline");
```
* 📖 kamailio.cfg::function::sdp_get_line_startswith()
#### KSR.sdpops.sdp_print() ####
```cpp
int KSR.sdpops.sdp_print(int llevel);
```
* 📖 kamailio.cfg::function::sdp_print()
#### KSR.sdpops.sdp_transport() ####
```cpp
int KSR.sdpops.sdp_transport(str "avp");
```
* 📖 kamailio.cfg::function::sdp_transport()
#### KSR.sdpops.sdp_with_active_media() ####
```cpp
int KSR.sdpops.sdp_with_active_media(str "media");
```
* 📖 kamailio.cfg::function::sdp_with_active_media()
#### KSR.sdpops.sdp_with_codecs_by_id() ####
```cpp
int KSR.sdpops.sdp_with_codecs_by_id(str "codecs");
```
* 📖 kamailio.cfg::function::sdp_with_codecs_by_id()
#### KSR.sdpops.sdp_with_codecs_by_name() ####
```cpp
int KSR.sdpops.sdp_with_codecs_by_name(str "codecs");
```
* 📖 kamailio.cfg::function::sdp_with_codecs_by_name()
#### KSR.sdpops.sdp_with_ice() ####
```cpp
int KSR.sdpops.sdp_with_ice();
```
* 📖 kamailio.cfg::function::sdp_with_ice()
#### KSR.sdpops.sdp_with_media() ####
```cpp
int KSR.sdpops.sdp_with_media(str "media");
```
* 📖 kamailio.cfg::function::sdp_with_media()
#### KSR.sdpops.sdp_with_transport() ####
```cpp
int KSR.sdpops.sdp_with_transport(str "transport");
```
* 📖 kamailio.cfg::function::sdp_with_transport()
#### KSR.sdpops.sdp_with_transport_like() ####
```cpp
int KSR.sdpops.sdp_with_transport_like(str "transport");
```
* 📖 kamailio.cfg::function::sdp_with_transport_like()
## secsipid ##
* 📖 kamailio.cfg::module::secsipid.html
#### KSR.secsipid.secsipid_add_identity() ####
```cpp
int KSR.secsipid.secsipid_add_identity(str "origtn", str "desttn", str "attest", str "origid", str "x5u", str "keypath");
```
* 📖 kamailio.cfg::function::secsipid_add_identity()
#### KSR.secsipid.secsipid_check_identity() ####
```cpp
int KSR.secsipid.secsipid_check_identity(str "keypath");
```
* 📖 kamailio.cfg::function::secsipid_check_identity()
#### KSR.secsipid.secsipid_check_identity_pubkey() ####
```cpp
int KSR.secsipid.secsipid_check_identity_pubkey(str "keyval");
```
* 📖 kamailio.cfg::function::secsipid_check_identity_pubkey()
#### KSR.secsipid.secsipid_get_url() ####
```cpp
xval KSR.secsipid.secsipid_get_url(str "surl");
```
* 📖 kamailio.cfg::function::secsipid_get_url()
## sipcapture ##
* 📖 kamailio.cfg::module::sipcapture.html
#### KSR.sipcapture.float2int() ####
```cpp
int KSR.sipcapture.float2int(str "_val", str "_coof");
```
* 📖 kamailio.cfg::function::float2int()
#### KSR.sipcapture.report_capture() ####
```cpp
int KSR.sipcapture.report_capture(str "_table");
```
* 📖 kamailio.cfg::function::report_capture()
#### KSR.sipcapture.report_capture_cid() ####
```cpp
int KSR.sipcapture.report_capture_cid(str "_table", str "_cid");
```
* 📖 kamailio.cfg::function::report_capture_cid()
#### KSR.sipcapture.report_capture_data() ####
```cpp
int KSR.sipcapture.report_capture_data(str "_table", str "_cid", str "_data");
```
* 📖 kamailio.cfg::function::report_capture_data()
#### KSR.sipcapture.sip_capture() ####
```cpp
int KSR.sipcapture.sip_capture();
```
* 📖 kamailio.cfg::function::sip_capture()
#### KSR.sipcapture.sip_capture_forward() ####
```cpp
int KSR.sipcapture.sip_capture_forward(str "puri");
```
* 📖 kamailio.cfg::function::sip_capture_forward()
#### KSR.sipcapture.sip_capture_mode() ####
```cpp
int KSR.sipcapture.sip_capture_mode(str "_table", str "_cmdata");
```
* 📖 kamailio.cfg::function::sip_capture_mode()
#### KSR.sipcapture.sip_capture_table() ####
```cpp
int KSR.sipcapture.sip_capture_table(str "_table");
```
* 📖 kamailio.cfg::function::sip_capture_table()
## sipdump ##
* 📖 kamailio.cfg::module::sipdump.html
#### KSR.sipdump.get_buf() ####
```cpp
xval KSR.sipdump.get_buf();
```
* 📖 kamailio.cfg::function::get_buf()
#### KSR.sipdump.get_dst_ip() ####
```cpp
xval KSR.sipdump.get_dst_ip();
```
* 📖 kamailio.cfg::function::get_dst_ip()
#### KSR.sipdump.get_src_ip() ####
```cpp
xval KSR.sipdump.get_src_ip();
```
* 📖 kamailio.cfg::function::get_src_ip()
#### KSR.sipdump.get_tag() ####
```cpp
xval KSR.sipdump.get_tag();
```
* 📖 kamailio.cfg::function::get_tag()
#### KSR.sipdump.send() ####
```cpp
int KSR.sipdump.send(str "stag");
```
* 📖 kamailio.cfg::function::send()
## sipjson ##
* 📖 kamailio.cfg::module::sipjson.html
#### KSR.sipjson.sj_serialize() ####
```cpp
int KSR.sipjson.sj_serialize(str "smode", str "pvn");
```
* 📖 kamailio.cfg::function::sj_serialize()
## siptrace ##
* 📖 kamailio.cfg::module::siptrace.html
#### KSR.siptrace.hlog() ####
```cpp
int KSR.siptrace.hlog(str "message");
```
* 📖 kamailio.cfg::function::hlog()
#### KSR.siptrace.hlog_cid() ####
```cpp
int KSR.siptrace.hlog_cid(str "correlationid", str "message");
```
* 📖 kamailio.cfg::function::hlog_cid()
#### KSR.siptrace.sip_trace() ####
```cpp
int KSR.siptrace.sip_trace();
```
* 📖 kamailio.cfg::function::sip_trace()
#### KSR.siptrace.sip_trace_dst() ####
```cpp
int KSR.siptrace.sip_trace_dst(str "duri");
```
* 📖 kamailio.cfg::function::sip_trace_dst()
#### KSR.siptrace.sip_trace_dst_cid() ####
```cpp
int KSR.siptrace.sip_trace_dst_cid(str "duri", str "cid");
```
* 📖 kamailio.cfg::function::sip_trace_dst_cid()
#### KSR.siptrace.sip_trace_dst_cid_type() ####
```cpp
int KSR.siptrace.sip_trace_dst_cid_type(str "duri", str "cid", str "sflag");
```
* 📖 kamailio.cfg::function::sip_trace_dst_cid_type()
#### KSR.siptrace.sip_trace_mode() ####
```cpp
int KSR.siptrace.sip_trace_mode(str "smode");
```
* 📖 kamailio.cfg::function::sip_trace_mode()
## siputils ##
* 📖 kamailio.cfg::module::siputils.html
#### KSR.siputils.contact_param_decode() ####
```cpp
int KSR.siputils.contact_param_decode(str "nparam");
```
* 📖 kamailio.cfg::function::contact_param_decode()
#### KSR.siputils.contact_param_decode_ruri() ####
```cpp
int KSR.siputils.contact_param_decode_ruri(str "nparam");
```
* 📖 kamailio.cfg::function::contact_param_decode_ruri()
#### KSR.siputils.contact_param_encode() ####
```cpp
int KSR.siputils.contact_param_encode(str "nparam", str "saddr");
```
* 📖 kamailio.cfg::function::contact_param_encode()
#### KSR.siputils.contact_param_rm() ####
```cpp
int KSR.siputils.contact_param_rm(str "nparam");
```
* 📖 kamailio.cfg::function::contact_param_rm()
#### KSR.siputils.decode_contact() ####
```cpp
int KSR.siputils.decode_contact();
```
* 📖 kamailio.cfg::function::decode_contact()
#### KSR.siputils.decode_contact_header() ####
```cpp
int KSR.siputils.decode_contact_header();
```
* 📖 kamailio.cfg::function::decode_contact_header()
#### KSR.siputils.encode_contact() ####
```cpp
int KSR.siputils.encode_contact(str "eprefix", str "eaddr");
```
* 📖 kamailio.cfg::function::encode_contact()
#### KSR.siputils.has_totag() ####
```cpp
int KSR.siputils.has_totag();
```
* 📖 kamailio.cfg::function::has_totag()
#### KSR.siputils.is_alphanum() ####
```cpp
int KSR.siputils.is_alphanum(str "tval");
```
* 📖 kamailio.cfg::function::is_alphanum()
#### KSR.siputils.is_alphanumex() ####
```cpp
int KSR.siputils.is_alphanumex(str "tval", str "eset");
```
* 📖 kamailio.cfg::function::is_alphanumex()
#### KSR.siputils.is_first_hop() ####
```cpp
int KSR.siputils.is_first_hop();
```
* 📖 kamailio.cfg::function::is_first_hop()
#### KSR.siputils.is_numeric() ####
```cpp
int KSR.siputils.is_numeric(str "tval");
```
* 📖 kamailio.cfg::function::is_numeric()
#### KSR.siputils.is_reply() ####
```cpp
int KSR.siputils.is_reply();
```
* 📖 kamailio.cfg::function::is_reply()
#### KSR.siputils.is_request() ####
```cpp
int KSR.siputils.is_request();
```
* 📖 kamailio.cfg::function::is_request()
#### KSR.siputils.is_tel_number() ####
```cpp
int KSR.siputils.is_tel_number(str "tval");
```
* 📖 kamailio.cfg::function::is_tel_number()
#### KSR.siputils.is_uri() ####
```cpp
int KSR.siputils.is_uri(str "suri");
```
* 📖 kamailio.cfg::function::is_uri()
#### KSR.siputils.is_user() ####
```cpp
int KSR.siputils.is_user(str "suser");
```
* 📖 kamailio.cfg::function::is_user()
#### KSR.siputils.options_reply() ####
```cpp
int KSR.siputils.options_reply();
```
* 📖 kamailio.cfg::function::options_reply()
#### KSR.siputils.uri_param() ####
```cpp
int KSR.siputils.uri_param(str "sparam");
```
* 📖 kamailio.cfg::function::uri_param()
#### KSR.siputils.uri_param_any() ####
```cpp
int KSR.siputils.uri_param_any(str "sparam");
```
* 📖 kamailio.cfg::function::uri_param_any()
#### KSR.siputils.uri_param_rm() ####
```cpp
int KSR.siputils.uri_param_rm(str "sparam");
```
* 📖 kamailio.cfg::function::uri_param_rm()
#### KSR.siputils.uri_param_value() ####
```cpp
int KSR.siputils.uri_param_value(str "sparam", str "svalue");
```
* 📖 kamailio.cfg::function::uri_param_value()
## sl ##
* 📖 kamailio.cfg::module::sl.html
#### KSR.sl.send_reply() ####
```cpp
int KSR.sl.send_reply(int code, str "reason");
```
* 📖 kamailio.cfg::function::send_reply()
#### KSR.sl.send_reply_mode() ####
```cpp
int KSR.sl.send_reply_mode(int code, str "reason", int mode);
```
* 📖 kamailio.cfg::function::send_reply_mode()
#### KSR.sl.sl_forward_reply() ####
```cpp
int KSR.sl.sl_forward_reply(str "code", str "reason");
```
* 📖 kamailio.cfg::function::sl_forward_reply()
#### KSR.sl.sl_reply_error() ####
```cpp
int KSR.sl.sl_reply_error();
```
* 📖 kamailio.cfg::function::sl_reply_error()
#### KSR.sl.sl_send_reply() ####
```cpp
int KSR.sl.sl_send_reply(int code, str "reason");
```
* 📖 kamailio.cfg::function::sl_send_reply()
## speeddial ##
* 📖 kamailio.cfg::module::speeddial.html
#### KSR.speeddial.lookup() ####
```cpp
int KSR.speeddial.lookup(str "stable");
```
* 📖 kamailio.cfg::function::lookup()
#### KSR.speeddial.lookup_owner() ####
```cpp
int KSR.speeddial.lookup_owner(str "stable", str "sowner");
```
* 📖 kamailio.cfg::function::lookup_owner()
## sqlops ##
* 📖 kamailio.cfg::module::sqlops.html
#### KSR.sqlops.sql_is_null() ####
```cpp
int KSR.sqlops.sql_is_null(str "sres", int i, int j);
```
* 📖 kamailio.cfg::function::sql_is_null()
#### KSR.sqlops.sql_num_columns() ####
```cpp
int KSR.sqlops.sql_num_columns(str "sres");
```
* 📖 kamailio.cfg::function::sql_num_columns()
#### KSR.sqlops.sql_num_rows() ####
```cpp
int KSR.sqlops.sql_num_rows(str "sres");
```
* 📖 kamailio.cfg::function::sql_num_rows()
#### KSR.sqlops.sql_pvquery() ####
```cpp
int KSR.sqlops.sql_pvquery(str "scon", str "squery", str "sres");
```
* 📖 kamailio.cfg::function::sql_pvquery()
#### KSR.sqlops.sql_query() ####
```cpp
int KSR.sqlops.sql_query(str "scon", str "squery", str "sres");
```
* 📖 kamailio.cfg::function::sql_query()
#### KSR.sqlops.sql_query_async() ####
```cpp
int KSR.sqlops.sql_query_async(str "scon", str "squery");
```
* 📖 kamailio.cfg::function::sql_query_async()
#### KSR.sqlops.sql_result_free() ####
```cpp
int KSR.sqlops.sql_result_free(str "sres");
```
* 📖 kamailio.cfg::function::sql_result_free()
#### KSR.sqlops.sql_result_get() ####
```cpp
xval KSR.sqlops.sql_result_get(str "resid", int row, int col);
```
* 📖 kamailio.cfg::function::sql_result_get()
#### KSR.sqlops.sql_result_gete() ####
```cpp
xval KSR.sqlops.sql_result_gete(str "resid", int row, int col);
```
* 📖 kamailio.cfg::function::sql_result_gete()
#### KSR.sqlops.sql_result_getz() ####
```cpp
xval KSR.sqlops.sql_result_getz(str "resid", int row, int col);
```
* 📖 kamailio.cfg::function::sql_result_getz()
#### KSR.sqlops.sql_xquery() ####
```cpp
int KSR.sqlops.sql_xquery(str "scon", str "squery", str "xavp");
```
* 📖 kamailio.cfg::function::sql_xquery()
## ss7ops ##
* 📖 kamailio.cfg::module::ss7ops.html
#### KSR.ss7ops.isup_to_json() ####
```cpp
int KSR.ss7ops.isup_to_json(int proto);
```
* 📖 kamailio.cfg::function::isup_to_json()
## sst ##
* 📖 kamailio.cfg::module::sst.html
#### KSR.sst.sst_check_min() ####
```cpp
int KSR.sst.sst_check_min(int flag);
```
* 📖 kamailio.cfg::function::sst_check_min()
## statistics ##
* 📖 kamailio.cfg::module::statistics.html
#### KSR.statistics.reset_stat() ####
```cpp
int KSR.statistics.reset_stat(str "sname");
```
* 📖 kamailio.cfg::function::reset_stat()
#### KSR.statistics.update_stat() ####
```cpp
int KSR.statistics.update_stat(str "sname", int sval);
```
* 📖 kamailio.cfg::function::update_stat()
## statsc ##
* 📖 kamailio.cfg::module::statsc.html
#### KSR.statsc.statsc_reset() ####
```cpp
int KSR.statsc.statsc_reset();
```
* 📖 kamailio.cfg::function::statsc_reset()
## statsd ##
* 📖 kamailio.cfg::module::statsd.html
#### KSR.statsd.statsd_decr() ####
```cpp
int KSR.statsd.statsd_decr(str "key");
```
* 📖 kamailio.cfg::function::statsd_decr()
#### KSR.statsd.statsd_gauge() ####
```cpp
int KSR.statsd.statsd_gauge(str "key", str "val");
```
* 📖 kamailio.cfg::function::statsd_gauge()
#### KSR.statsd.statsd_incr() ####
```cpp
int KSR.statsd.statsd_incr(str "key");
```
* 📖 kamailio.cfg::function::statsd_incr()
#### KSR.statsd.statsd_set() ####
```cpp
int KSR.statsd.statsd_set(str "key", str "val");
```
* 📖 kamailio.cfg::function::statsd_set()
#### KSR.statsd.statsd_start() ####
```cpp
int KSR.statsd.statsd_start(str "key");
```
* 📖 kamailio.cfg::function::statsd_start()
#### KSR.statsd.statsd_stop() ####
```cpp
int KSR.statsd.statsd_stop(str "key");
```
* 📖 kamailio.cfg::function::statsd_stop()
## stirshaken ##
* 📖 kamailio.cfg::module::stirshaken.html
#### KSR.stirshaken.stirshaken_add_identity() ####
```cpp
int KSR.stirshaken.stirshaken_add_identity(str "x5u", str "attest", str "origtn_val", str "desttn_val", str "origid");
```
* 📖 kamailio.cfg::function::stirshaken_add_identity()
#### KSR.stirshaken.stirshaken_add_identity_with_key() ####
```cpp
int KSR.stirshaken.stirshaken_add_identity_with_key(str "x5u", str "attest", str "origtn_val", str "desttn_val", str "origid", str "keypath");
```
* 📖 kamailio.cfg::function::stirshaken_add_identity_with_key()
#### KSR.stirshaken.stirshaken_check_identity() ####
```cpp
int KSR.stirshaken.stirshaken_check_identity();
```
* 📖 kamailio.cfg::function::stirshaken_check_identity()
#### KSR.stirshaken.stirshaken_check_identity_with_cert() ####
```cpp
int KSR.stirshaken.stirshaken_check_identity_with_cert(str "cert_path");
```
* 📖 kamailio.cfg::function::stirshaken_check_identity_with_cert()
#### KSR.stirshaken.stirshaken_check_identity_with_key() ####
```cpp
int KSR.stirshaken.stirshaken_check_identity_with_key(str "keypath");
```
* 📖 kamailio.cfg::function::stirshaken_check_identity_with_key()
## sworker ##
* 📖 kamailio.cfg::module::sworker.html
#### KSR.sworker.task() ####
```cpp
int KSR.sworker.task(str "gname");
```
* 📖 kamailio.cfg::function::task()
## tcpops ##
* 📖 kamailio.cfg::module::tcpops.html
#### KSR.tcpops.tcp_conid_alive() ####
```cpp
int KSR.tcpops.tcp_conid_alive(int i_conid);
```
* 📖 kamailio.cfg::function::tcp_conid_alive()
#### KSR.tcpops.tcp_conid_state() ####
```cpp
int KSR.tcpops.tcp_conid_state(int i_conid);
```
* 📖 kamailio.cfg::function::tcp_conid_state()
#### KSR.tcpops.tcp_enable_closed_event() ####
```cpp
int KSR.tcpops.tcp_enable_closed_event();
```
* 📖 kamailio.cfg::function::tcp_enable_closed_event()
#### KSR.tcpops.tcp_enable_closed_event_cid() ####
```cpp
int KSR.tcpops.tcp_enable_closed_event_cid(int i_conid);
```
* 📖 kamailio.cfg::function::tcp_enable_closed_event_cid()
#### KSR.tcpops.tcp_keepalive_disable() ####
```cpp
int KSR.tcpops.tcp_keepalive_disable();
```
* 📖 kamailio.cfg::function::tcp_keepalive_disable()
#### KSR.tcpops.tcp_keepalive_disable_cid() ####
```cpp
int KSR.tcpops.tcp_keepalive_disable_cid(int i_con);
```
* 📖 kamailio.cfg::function::tcp_keepalive_disable_cid()
#### KSR.tcpops.tcp_keepalive_enable() ####
```cpp
int KSR.tcpops.tcp_keepalive_enable(int i_idle, int i_cnt, int i_intvl);
```
* 📖 kamailio.cfg::function::tcp_keepalive_enable()
#### KSR.tcpops.tcp_keepalive_enable_cid() ####
```cpp
int KSR.tcpops.tcp_keepalive_enable_cid(int i_con, int i_idle, int i_cnt, int i_intvl);
```
* 📖 kamailio.cfg::function::tcp_keepalive_enable_cid()
#### KSR.tcpops.tcp_set_connection_lifetime() ####
```cpp
int KSR.tcpops.tcp_set_connection_lifetime(int i_time);
```
* 📖 kamailio.cfg::function::tcp_set_connection_lifetime()
#### KSR.tcpops.tcp_set_connection_lifetime_cid() ####
```cpp
int KSR.tcpops.tcp_set_connection_lifetime_cid(int i_conid, int i_time);
```
* 📖 kamailio.cfg::function::tcp_set_connection_lifetime_cid()
#### KSR.tcpops.tcp_set_otcpid() ####
```cpp
int KSR.tcpops.tcp_set_otcpid(int vconid);
```
* 📖 kamailio.cfg::function::tcp_set_otcpid()
#### KSR.tcpops.tcp_set_otcpid_flag() ####
```cpp
int KSR.tcpops.tcp_set_otcpid_flag(int vmode);
```
* 📖 kamailio.cfg::function::tcp_set_otcpid_flag()
## textops ##
* 📖 kamailio.cfg::module::textops.html
#### KSR.textops.append_body_part() ####
```cpp
int KSR.textops.append_body_part(str "txt", str "ct");
```
* 📖 kamailio.cfg::function::append_body_part()
#### KSR.textops.append_body_part_cd() ####
```cpp
int KSR.textops.append_body_part_cd(str "txt", str "ct", str "cd");
```
* 📖 kamailio.cfg::function::append_body_part_cd()
#### KSR.textops.append_body_part_hex() ####
```cpp
int KSR.textops.append_body_part_hex(str "txt", str "ct");
```
* 📖 kamailio.cfg::function::append_body_part_hex()
#### KSR.textops.append_body_part_hex_cd() ####
```cpp
int KSR.textops.append_body_part_hex_cd(str "htxt", str "ct", str "cd");
```
* 📖 kamailio.cfg::function::append_body_part_hex_cd()
#### KSR.textops.cmp_istr() ####
```cpp
int KSR.textops.cmp_istr(str "s1", str "s2");
```
* 📖 kamailio.cfg::function::cmp_istr()
#### KSR.textops.cmp_str() ####
```cpp
int KSR.textops.cmp_str(str "s1", str "s2");
```
* 📖 kamailio.cfg::function::cmp_str()
#### KSR.textops.ends_with() ####
```cpp
int KSR.textops.ends_with(str "vstr", str "vsuffix");
```
* 📖 kamailio.cfg::function::ends_with()
#### KSR.textops.filter_body() ####
```cpp
int KSR.textops.filter_body(str "content_type");
```
* 📖 kamailio.cfg::function::filter_body()
#### KSR.textops.get_body_part() ####
```cpp
int KSR.textops.get_body_part(str "ctype", str "pvname");
```
* 📖 kamailio.cfg::function::get_body_part()
#### KSR.textops.get_body_part_raw() ####
```cpp
int KSR.textops.get_body_part_raw(str "ctype", str "pvname");
```
* 📖 kamailio.cfg::function::get_body_part_raw()
#### KSR.textops.has_body() ####
```cpp
int KSR.textops.has_body();
```
* 📖 kamailio.cfg::function::has_body()
#### KSR.textops.has_body_type() ####
```cpp
int KSR.textops.has_body_type(str "ctype");
```
* 📖 kamailio.cfg::function::has_body_type()
#### KSR.textops.in_list() ####
```cpp
int KSR.textops.in_list(str "subject", str "list", str "vsep");
```
* 📖 kamailio.cfg::function::in_list()
#### KSR.textops.in_list_prefix() ####
```cpp
int KSR.textops.in_list_prefix(str "subject", str "list", str "vsep");
```
* 📖 kamailio.cfg::function::in_list_prefix()
#### KSR.textops.is_audio_on_hold() ####
```cpp
int KSR.textops.is_audio_on_hold();
```
* 📖 kamailio.cfg::function::is_audio_on_hold()
#### KSR.textops.is_present_hf() ####
```cpp
int KSR.textops.is_present_hf(str "hname");
```
* 📖 kamailio.cfg::function::is_present_hf()
#### KSR.textops.is_present_hf_re() ####
```cpp
int KSR.textops.is_present_hf_re(str "ematch");
```
* 📖 kamailio.cfg::function::is_present_hf_re()
#### KSR.textops.is_privacy() ####
```cpp
int KSR.textops.is_privacy(str "privacy");
```
* 📖 kamailio.cfg::function::is_privacy()
#### KSR.textops.regex_substring() ####
```cpp
int KSR.textops.regex_substring(str "input", str "regex", int mindex, int nmatch, str "dst");
```
* 📖 kamailio.cfg::function::regex_substring()
#### KSR.textops.remove_body_part() ####
```cpp
int KSR.textops.remove_body_part(str "content_type");
```
* 📖 kamailio.cfg::function::remove_body_part()
#### KSR.textops.remove_hf() ####
```cpp
int KSR.textops.remove_hf(str "hname");
```
* 📖 kamailio.cfg::function::remove_hf()
#### KSR.textops.remove_hf_exp() ####
```cpp
int KSR.textops.remove_hf_exp(str "ematch", str "eskip");
```
* 📖 kamailio.cfg::function::remove_hf_exp()
#### KSR.textops.remove_hf_re() ####
```cpp
int KSR.textops.remove_hf_re(str "ematch");
```
* 📖 kamailio.cfg::function::remove_hf_re()
#### KSR.textops.replace() ####
```cpp
int KSR.textops.replace(str "sre", str "sval");
```
* 📖 kamailio.cfg::function::replace()
#### KSR.textops.replace_all() ####
```cpp
int KSR.textops.replace_all(str "sre", str "sval");
```
* 📖 kamailio.cfg::function::replace_all()
#### KSR.textops.replace_body() ####
```cpp
int KSR.textops.replace_body(str "sre", str "sval");
```
* 📖 kamailio.cfg::function::replace_body()
#### KSR.textops.replace_body_all() ####
```cpp
int KSR.textops.replace_body_all(str "sre", str "sval");
```
* 📖 kamailio.cfg::function::replace_body_all()
#### KSR.textops.replace_body_atonce() ####
```cpp
int KSR.textops.replace_body_atonce(str "sre", str "sval");
```
* 📖 kamailio.cfg::function::replace_body_atonce()
#### KSR.textops.replace_body_str() ####
```cpp
int KSR.textops.replace_body_str(str "mkey", str "rval", str "rmode");
```
* 📖 kamailio.cfg::function::replace_body_str()
#### KSR.textops.replace_hdrs() ####
```cpp
int KSR.textops.replace_hdrs(str "sre", str "sval");
```
* 📖 kamailio.cfg::function::replace_hdrs()
#### KSR.textops.replace_hdrs_str() ####
```cpp
int KSR.textops.replace_hdrs_str(str "mkey", str "rval", str "rmode");
```
* 📖 kamailio.cfg::function::replace_hdrs_str()
#### KSR.textops.replace_str() ####
```cpp
int KSR.textops.replace_str(str "mkey", str "rval", str "rmode");
```
* 📖 kamailio.cfg::function::replace_str()
#### KSR.textops.search() ####
```cpp
int KSR.textops.search(str "sre");
```
* 📖 kamailio.cfg::function::search()
#### KSR.textops.search_append() ####
```cpp
int KSR.textops.search_append(str "ematch", str "val");
```
* 📖 kamailio.cfg::function::search_append()
#### KSR.textops.search_append_body() ####
```cpp
int KSR.textops.search_append_body(str "ematch", str "val");
```
* 📖 kamailio.cfg::function::search_append_body()
#### KSR.textops.search_body() ####
```cpp
int KSR.textops.search_body(str "sre");
```
* 📖 kamailio.cfg::function::search_body()
#### KSR.textops.search_hf() ####
```cpp
int KSR.textops.search_hf(str "hname", str "sre", str "flags");
```
* 📖 kamailio.cfg::function::search_hf()
#### KSR.textops.search_str() ####
```cpp
int KSR.textops.search_str(str "stext", str "sre");
```
* 📖 kamailio.cfg::function::search_str()
#### KSR.textops.set_body() ####
```cpp
int KSR.textops.set_body(str "nb", str "nc");
```
* 📖 kamailio.cfg::function::set_body()
#### KSR.textops.set_body_multipart() ####
```cpp
int KSR.textops.set_body_multipart(str "nbody", str "ctype", str "boundary");
```
* 📖 kamailio.cfg::function::set_body_multipart()
#### KSR.textops.set_body_multipart_boundary() ####
```cpp
int KSR.textops.set_body_multipart_boundary(str "boundary");
```
* 📖 kamailio.cfg::function::set_body_multipart_boundary()
#### KSR.textops.set_body_multipart_content() ####
```cpp
int KSR.textops.set_body_multipart_content(str "nbody", str "ctype");
```
* 📖 kamailio.cfg::function::set_body_multipart_content()
#### KSR.textops.set_body_multipart_mode() ####
```cpp
int KSR.textops.set_body_multipart_mode();
```
* 📖 kamailio.cfg::function::set_body_multipart_mode()
#### KSR.textops.set_reply_body() ####
```cpp
int KSR.textops.set_reply_body(str "nb", str "nc");
```
* 📖 kamailio.cfg::function::set_reply_body()
#### KSR.textops.starts_with() ####
```cpp
int KSR.textops.starts_with(str "s1", str "s2");
```
* 📖 kamailio.cfg::function::starts_with()
#### KSR.textops.str_find() ####
```cpp
int KSR.textops.str_find(str "txt", str "needle");
```
* 📖 kamailio.cfg::function::str_find()
#### KSR.textops.str_ifind() ####
```cpp
int KSR.textops.str_ifind(str "txt", str "needle");
```
* 📖 kamailio.cfg::function::str_ifind()
#### KSR.textops.subst() ####
```cpp
int KSR.textops.subst(str "subst");
```
* 📖 kamailio.cfg::function::subst()
#### KSR.textops.subst_body() ####
```cpp
int KSR.textops.subst_body(str "subst");
```
* 📖 kamailio.cfg::function::subst_body()
#### KSR.textops.subst_hf() ####
```cpp
int KSR.textops.subst_hf(str "hname", str "subst", str "flags");
```
* 📖 kamailio.cfg::function::subst_hf()
#### KSR.textops.subst_uri() ####
```cpp
int KSR.textops.subst_uri(str "subst");
```
* 📖 kamailio.cfg::function::subst_uri()
#### KSR.textops.subst_user() ####
```cpp
int KSR.textops.subst_user(str "subst");
```
* 📖 kamailio.cfg::function::subst_user()
## textopsx ##
* 📖 kamailio.cfg::module::textopsx.html
#### KSR.textopsx.append_hf_value() ####
```cpp
int KSR.textopsx.append_hf_value(str "hexp", str "val");
```
* 📖 kamailio.cfg::function::append_hf_value()
#### KSR.textopsx.assign_hf_value() ####
```cpp
int KSR.textopsx.assign_hf_value(str "hexp", str "val");
```
* 📖 kamailio.cfg::function::assign_hf_value()
#### KSR.textopsx.assign_hf_value2() ####
```cpp
int KSR.textopsx.assign_hf_value2(str "hexp", str "val");
```
* 📖 kamailio.cfg::function::assign_hf_value2()
#### KSR.textopsx.change_reply_status() ####
```cpp
int KSR.textopsx.change_reply_status(int code, str "reason");
```
* 📖 kamailio.cfg::function::change_reply_status()
#### KSR.textopsx.change_reply_status_code() ####
```cpp
int KSR.textopsx.change_reply_status_code(int code);
```
* 📖 kamailio.cfg::function::change_reply_status_code()
#### KSR.textopsx.exclude_hf_value() ####
```cpp
int KSR.textopsx.exclude_hf_value(str "hexp", str "val");
```
* 📖 kamailio.cfg::function::exclude_hf_value()
#### KSR.textopsx.fnmatch() ####
```cpp
int KSR.textopsx.fnmatch(str "val", str "match");
```
* 📖 kamailio.cfg::function::fnmatch()
#### KSR.textopsx.fnmatch_ex() ####
```cpp
int KSR.textopsx.fnmatch_ex(str "val", str "match", str "flags");
```
* 📖 kamailio.cfg::function::fnmatch_ex()
#### KSR.textopsx.hf_value_exists() ####
```cpp
int KSR.textopsx.hf_value_exists(str "hexp", str "val");
```
* 📖 kamailio.cfg::function::hf_value_exists()
#### KSR.textopsx.include_hf_value() ####
```cpp
int KSR.textopsx.include_hf_value(str "hexp", str "val");
```
* 📖 kamailio.cfg::function::include_hf_value()
#### KSR.textopsx.insert_hf_value() ####
```cpp
int KSR.textopsx.insert_hf_value(str "hexp", str "val");
```
* 📖 kamailio.cfg::function::insert_hf_value()
#### KSR.textopsx.keep_hf() ####
```cpp
int KSR.textopsx.keep_hf();
```
* 📖 kamailio.cfg::function::keep_hf()
#### KSR.textopsx.keep_hf_re() ####
```cpp
int KSR.textopsx.keep_hf_re(str "sre");
```
* 📖 kamailio.cfg::function::keep_hf_re()
#### KSR.textopsx.msg_apply_changes() ####
```cpp
int KSR.textopsx.msg_apply_changes();
```
* 📖 kamailio.cfg::function::msg_apply_changes()
#### KSR.textopsx.msg_set_buffer() ####
```cpp
int KSR.textopsx.msg_set_buffer(str "obuf");
```
* 📖 kamailio.cfg::function::msg_set_buffer()
#### KSR.textopsx.remove_body() ####
```cpp
int KSR.textopsx.remove_body();
```
* 📖 kamailio.cfg::function::remove_body()
#### KSR.textopsx.remove_hf_value() ####
```cpp
int KSR.textopsx.remove_hf_value(str "hexp");
```
* 📖 kamailio.cfg::function::remove_hf_value()
#### KSR.textopsx.remove_hf_value2() ####
```cpp
int KSR.textopsx.remove_hf_value2(str "hexp", str "val");
```
* 📖 kamailio.cfg::function::remove_hf_value2()
## tls ##
* 📖 kamailio.cfg::module::tls.html
#### KSR.tls.cget() ####
```cpp
xval KSR.tls.cget(str "aname");
```
* 📖 kamailio.cfg::function::cget()
Return values corresponding the pseudo-variables exported by TLS module, related
to TLS connection and certificates. The parameter has to be the name of the
pseudo-variable (without `$`).
Example:
```
local vPeerSubjectCn = KSR.tls.cget("tls_peer_subject_cn");
```
#### KSR.tls.is_peer_verified() ####
```cpp
int KSR.tls.is_peer_verified();
```
* 📖 kamailio.cfg::function::is_peer_verified()
#### KSR.tls.set_connect_server_id() ####
```cpp
int KSR.tls.set_connect_server_id(str "srvid");
```
* 📖 kamailio.cfg::function::set_connect_server_id()
## tm ##
* 📖 kamailio.cfg::module::tm.html
#### KSR.tm.ki_t_load_contacts_mode() ####
```cpp
int KSR.tm.ki_t_load_contacts_mode(int mode);
```
* 📖 kamailio.cfg::function::ki_t_load_contacts_mode()
#### KSR.tm.t_any_replied() ####
```cpp
int KSR.tm.t_any_replied();
```
* 📖 kamailio.cfg::function::t_any_replied()
#### KSR.tm.t_any_timeout() ####
```cpp
int KSR.tm.t_any_timeout();
```
* 📖 kamailio.cfg::function::t_any_timeout()
#### KSR.tm.t_branch_replied() ####
```cpp
int KSR.tm.t_branch_replied();
```
* 📖 kamailio.cfg::function::t_branch_replied()
#### KSR.tm.t_branch_timeout() ####
```cpp
int KSR.tm.t_branch_timeout();
```
* 📖 kamailio.cfg::function::t_branch_timeout()
#### KSR.tm.t_check_status() ####
```cpp
int KSR.tm.t_check_status(str "sexp");
```
* 📖 kamailio.cfg::function::t_check_status()
#### KSR.tm.t_check_trans() ####
```cpp
int KSR.tm.t_check_trans();
```
* 📖 kamailio.cfg::function::t_check_trans()
#### KSR.tm.t_clean() ####
```cpp
int KSR.tm.t_clean();
```
* 📖 kamailio.cfg::function::t_clean()
#### KSR.tm.t_drop_replies() ####
```cpp
int KSR.tm.t_drop_replies(str "mode");
```
* 📖 kamailio.cfg::function::t_drop_replies()
#### KSR.tm.t_drop_replies_all() ####
```cpp
int KSR.tm.t_drop_replies_all();
```
* 📖 kamailio.cfg::function::t_drop_replies_all()
#### KSR.tm.t_get_branch_index() ####
```cpp
int KSR.tm.t_get_branch_index();
```
* 📖 kamailio.cfg::function::t_get_branch_index()
#### KSR.tm.t_get_status_code() ####
```cpp
int KSR.tm.t_get_status_code();
```
* 📖 kamailio.cfg::function::t_get_status_code()
#### KSR.tm.t_grep_status() ####
```cpp
int KSR.tm.t_grep_status(int code);
```
* 📖 kamailio.cfg::function::t_grep_status()
#### KSR.tm.t_is_canceled() ####
```cpp
int KSR.tm.t_is_canceled();
```
* 📖 kamailio.cfg::function::t_is_canceled()
#### KSR.tm.t_is_expired() ####
```cpp
int KSR.tm.t_is_expired();
```
* 📖 kamailio.cfg::function::t_is_expired()
#### KSR.tm.t_is_retr_async_reply() ####
```cpp
int KSR.tm.t_is_retr_async_reply();
```
* 📖 kamailio.cfg::function::t_is_retr_async_reply()
#### KSR.tm.t_is_set() ####
```cpp
int KSR.tm.t_is_set(str "target");
```
* 📖 kamailio.cfg::function::t_is_set()
#### KSR.tm.t_load_contacts() ####
```cpp
int KSR.tm.t_load_contacts();
```
* 📖 kamailio.cfg::function::t_load_contacts()
#### KSR.tm.t_lookup_cancel() ####
```cpp
int KSR.tm.t_lookup_cancel();
```
* 📖 kamailio.cfg::function::t_lookup_cancel()
#### KSR.tm.t_lookup_cancel_flags() ####
```cpp
int KSR.tm.t_lookup_cancel_flags(int flags);
```
* 📖 kamailio.cfg::function::t_lookup_cancel_flags()
#### KSR.tm.t_lookup_request() ####
```cpp
int KSR.tm.t_lookup_request();
```
* 📖 kamailio.cfg::function::t_lookup_request()
#### KSR.tm.t_newtran() ####
```cpp
int KSR.tm.t_newtran();
```
* 📖 kamailio.cfg::function::t_newtran()
#### KSR.tm.t_next_contact_flow() ####
```cpp
int KSR.tm.t_next_contact_flow();
```
* 📖 kamailio.cfg::function::t_next_contact_flow()
#### KSR.tm.t_next_contacts() ####
```cpp
int KSR.tm.t_next_contacts();
```
* 📖 kamailio.cfg::function::t_next_contacts()
#### KSR.tm.t_on_branch() ####
```cpp
int KSR.tm.t_on_branch(str "rname");
```
* 📖 kamailio.cfg::function::t_on_branch()
#### KSR.tm.t_on_branch_failure() ####
```cpp
int KSR.tm.t_on_branch_failure(str "rname");
```
* 📖 kamailio.cfg::function::t_on_branch_failure()
#### KSR.tm.t_on_failure() ####
```cpp
int KSR.tm.t_on_failure(str "rname");
```
* 📖 kamailio.cfg::function::t_on_failure()
#### KSR.tm.t_on_reply() ####
```cpp
int KSR.tm.t_on_reply(str "rname");
```
* 📖 kamailio.cfg::function::t_on_reply()
#### KSR.tm.t_relay() ####
```cpp
int KSR.tm.t_relay();
```
* 📖 kamailio.cfg::function::t_relay()
#### KSR.tm.t_relay_to_flags() ####
```cpp
int KSR.tm.t_relay_to_flags(int rflags);
```
* 📖 kamailio.cfg::function::t_relay_to_flags()
#### KSR.tm.t_relay_to_proto() ####
```cpp
int KSR.tm.t_relay_to_proto(str "sproto");
```
* 📖 kamailio.cfg::function::t_relay_to_proto()
#### KSR.tm.t_relay_to_proto_addr() ####
```cpp
int KSR.tm.t_relay_to_proto_addr(str "sproto", str "host", int port);
```
* 📖 kamailio.cfg::function::t_relay_to_proto_addr()
#### KSR.tm.t_relay_to_proxy() ####
```cpp
int KSR.tm.t_relay_to_proxy(str "sproxy");
```
* 📖 kamailio.cfg::function::t_relay_to_proxy()
#### KSR.tm.t_relay_to_proxy_flags() ####
```cpp
int KSR.tm.t_relay_to_proxy_flags(str "sproxy", int rflags);
```
* 📖 kamailio.cfg::function::t_relay_to_proxy_flags()
#### KSR.tm.t_release() ####
```cpp
int KSR.tm.t_release();
```
* 📖 kamailio.cfg::function::t_release()
#### KSR.tm.t_replicate() ####
```cpp
int KSR.tm.t_replicate(str "suri");
```
* 📖 kamailio.cfg::function::t_replicate()
#### KSR.tm.t_reply() ####
```cpp
int KSR.tm.t_reply(int code, str "reason");
```
* 📖 kamailio.cfg::function::t_reply()
#### KSR.tm.t_reset_fr() ####
```cpp
int KSR.tm.t_reset_fr();
```
* 📖 kamailio.cfg::function::t_reset_fr()
#### KSR.tm.t_reset_max_lifetime() ####
```cpp
int KSR.tm.t_reset_max_lifetime();
```
* 📖 kamailio.cfg::function::t_reset_max_lifetime()
#### KSR.tm.t_reset_retr() ####
```cpp
int KSR.tm.t_reset_retr();
```
* 📖 kamailio.cfg::function::t_reset_retr()
#### KSR.tm.t_retransmit_reply() ####
```cpp
int KSR.tm.t_retransmit_reply();
```
* 📖 kamailio.cfg::function::t_retransmit_reply()
#### KSR.tm.t_save_lumps() ####
```cpp
int KSR.tm.t_save_lumps();
```
* 📖 kamailio.cfg::function::t_save_lumps()
#### KSR.tm.t_send_reply() ####
```cpp
int KSR.tm.t_send_reply(int code, str "reason");
```
* 📖 kamailio.cfg::function::t_send_reply()
#### KSR.tm.t_set_auto_inv_100() ####
```cpp
int KSR.tm.t_set_auto_inv_100(int state);
```
* 📖 kamailio.cfg::function::t_set_auto_inv_100()
#### KSR.tm.t_set_disable_6xx() ####
```cpp
int KSR.tm.t_set_disable_6xx(int state);
```
* 📖 kamailio.cfg::function::t_set_disable_6xx()
#### KSR.tm.t_set_disable_failover() ####
```cpp
int KSR.tm.t_set_disable_failover(int state);
```
* 📖 kamailio.cfg::function::t_set_disable_failover()
#### KSR.tm.t_set_disable_internal_reply() ####
```cpp
int KSR.tm.t_set_disable_internal_reply(int state);
```
* 📖 kamailio.cfg::function::t_set_disable_internal_reply()
#### KSR.tm.t_set_fr() ####
```cpp
int KSR.tm.t_set_fr(int fr_inv, int fr);
```
* 📖 kamailio.cfg::function::t_set_fr()
#### KSR.tm.t_set_fr_inv() ####
```cpp
int KSR.tm.t_set_fr_inv(int fr_inv);
```
* 📖 kamailio.cfg::function::t_set_fr_inv()
#### KSR.tm.t_set_max_lifetime() ####
```cpp
int KSR.tm.t_set_max_lifetime(int t1, int t2);
```
* 📖 kamailio.cfg::function::t_set_max_lifetime()
#### KSR.tm.t_set_no_e2e_cancel_reason() ####
```cpp
int KSR.tm.t_set_no_e2e_cancel_reason(int state);
```
* 📖 kamailio.cfg::function::t_set_no_e2e_cancel_reason()
#### KSR.tm.t_set_retr() ####
```cpp
int KSR.tm.t_set_retr(int t1, int t2);
```
* 📖 kamailio.cfg::function::t_set_retr()
#### KSR.tm.t_uac_send() ####
```cpp
int KSR.tm.t_uac_send(str "method", str "ruri", str "nexthop", str "ssock", str "hdrs", str "body");
```
* 📖 kamailio.cfg::function::t_uac_send()
#### KSR.tm.t_use_uac_headers() ####
```cpp
int KSR.tm.t_use_uac_headers();
```
* 📖 kamailio.cfg::function::t_use_uac_headers()
## tmrec ##
* 📖 kamailio.cfg::module::tmrec.html
#### KSR.tmrec.is_leap_year() ####
```cpp
int KSR.tmrec.is_leap_year(int y);
```
* 📖 kamailio.cfg::function::is_leap_year()
#### KSR.tmrec.is_leap_year_now() ####
```cpp
int KSR.tmrec.is_leap_year_now();
```
* 📖 kamailio.cfg::function::is_leap_year_now()
#### KSR.tmrec.match() ####
```cpp
int KSR.tmrec.match(str "rv");
```
* 📖 kamailio.cfg::function::match()
#### KSR.tmrec.match_timestamp() ####
```cpp
int KSR.tmrec.match_timestamp(str "rv", int ti);
```
* 📖 kamailio.cfg::function::match_timestamp()
#### KSR.tmrec.time_period_match() ####
```cpp
int KSR.tmrec.time_period_match(str "period");
```
* 📖 kamailio.cfg::function::time_period_match()
#### KSR.tmrec.time_period_match_timestamp() ####
```cpp
int KSR.tmrec.time_period_match_timestamp(str "period", int ti);
```
* 📖 kamailio.cfg::function::time_period_match_timestamp()
## tmx ##
* 📖 kamailio.cfg::module::tmx.html
#### KSR.tmx.t_cancel_branches() ####
```cpp
int KSR.tmx.t_cancel_branches(str "mode");
```
* 📖 kamailio.cfg::function::t_cancel_branches()
#### KSR.tmx.t_cancel_callid() ####
```cpp
int KSR.tmx.t_cancel_callid(str "callid_s", str "cseq_s", int fl);
```
* 📖 kamailio.cfg::function::t_cancel_callid()
#### KSR.tmx.t_cancel_callid_reason() ####
```cpp
int KSR.tmx.t_cancel_callid_reason(str "callid_s", str "cseq_s", int fl, int rcode);
```
* 📖 kamailio.cfg::function::t_cancel_callid_reason()
#### KSR.tmx.t_continue() ####
```cpp
int KSR.tmx.t_continue(int tindex, int tlabel, str "cbname");
```
* 📖 kamailio.cfg::function::t_continue()
#### KSR.tmx.t_drop() ####
```cpp
int KSR.tmx.t_drop();
```
* 📖 kamailio.cfg::function::t_drop()
#### KSR.tmx.t_drop_rcode() ####
```cpp
int KSR.tmx.t_drop_rcode(int rcode);
```
* 📖 kamailio.cfg::function::t_drop_rcode()
#### KSR.tmx.t_flush_flags() ####
```cpp
int KSR.tmx.t_flush_flags();
```
* 📖 kamailio.cfg::function::t_flush_flags()
#### KSR.tmx.t_flush_xflags() ####
```cpp
int KSR.tmx.t_flush_xflags();
```
* 📖 kamailio.cfg::function::t_flush_xflags()
#### KSR.tmx.t_is_branch_route() ####
```cpp
int KSR.tmx.t_is_branch_route();
```
* 📖 kamailio.cfg::function::t_is_branch_route()
#### KSR.tmx.t_is_failure_route() ####
```cpp
int KSR.tmx.t_is_failure_route();
```
* 📖 kamailio.cfg::function::t_is_failure_route()
#### KSR.tmx.t_is_reply_route() ####
```cpp
int KSR.tmx.t_is_reply_route();
```
* 📖 kamailio.cfg::function::t_is_reply_route()
#### KSR.tmx.t_is_request_route() ####
```cpp
int KSR.tmx.t_is_request_route();
```
* 📖 kamailio.cfg::function::t_is_request_route()
#### KSR.tmx.t_precheck_trans() ####
```cpp
int KSR.tmx.t_precheck_trans();
```
* 📖 kamailio.cfg::function::t_precheck_trans()
#### KSR.tmx.t_reply_callid() ####
```cpp
int KSR.tmx.t_reply_callid(str "callid_s", str "cseq_s", int code, str "status_s");
```
* 📖 kamailio.cfg::function::t_reply_callid()
#### KSR.tmx.t_reuse_branch() ####
```cpp
int KSR.tmx.t_reuse_branch();
```
* 📖 kamailio.cfg::function::t_reuse_branch()
#### KSR.tmx.t_suspend() ####
```cpp
int KSR.tmx.t_suspend();
```
* 📖 kamailio.cfg::function::t_suspend()
## topos ##
* 📖 kamailio.cfg::module::topos.html
#### KSR.topos.tps_set_context() ####
```cpp
int KSR.topos.tps_set_context(str "ctx");
```
* 📖 kamailio.cfg::function::tps_set_context()
## tsilo ##
* 📖 kamailio.cfg::module::tsilo.html
#### KSR.tsilo.ts_append() ####
```cpp
int KSR.tsilo.ts_append(str "_table", str "_ruri");
```
* 📖 kamailio.cfg::function::ts_append()
#### KSR.tsilo.ts_append_to() ####
```cpp
int KSR.tsilo.ts_append_to(int tindex, int tlabel, str "_table");
```
* 📖 kamailio.cfg::function::ts_append_to()
#### KSR.tsilo.ts_append_to_uri() ####
```cpp
int KSR.tsilo.ts_append_to_uri(int tindex, int tlabel, str "_table", str "_uri");
```
* 📖 kamailio.cfg::function::ts_append_to_uri()
#### KSR.tsilo.ts_store() ####
```cpp
int KSR.tsilo.ts_store();
```
* 📖 kamailio.cfg::function::ts_store()
#### KSR.tsilo.ts_store_uri() ####
```cpp
int KSR.tsilo.ts_store_uri(str "puri");
```
* 📖 kamailio.cfg::function::ts_store_uri()
## uac ##
* 📖 kamailio.cfg::module::uac.html
#### KSR.uac.uac_auth() ####
```cpp
int KSR.uac.uac_auth();
```
* 📖 kamailio.cfg::function::uac_auth()
#### KSR.uac.uac_auth_mode() ####
```cpp
int KSR.uac.uac_auth_mode(int mode);
```
* 📖 kamailio.cfg::function::uac_auth_mode()
#### KSR.uac.uac_reg_disable() ####
```cpp
int KSR.uac.uac_reg_disable(str "attr", str "val");
```
* 📖 kamailio.cfg::function::uac_reg_disable()
#### KSR.uac.uac_reg_enable() ####
```cpp
int KSR.uac.uac_reg_enable(str "attr", str "val");
```
* 📖 kamailio.cfg::function::uac_reg_enable()
#### KSR.uac.uac_reg_lookup() ####
```cpp
int KSR.uac.uac_reg_lookup(str "userid", str "sdst");
```
* 📖 kamailio.cfg::function::uac_reg_lookup()
#### KSR.uac.uac_reg_refresh() ####
```cpp
int KSR.uac.uac_reg_refresh(str "l_uuid");
```
* 📖 kamailio.cfg::function::uac_reg_refresh()
#### KSR.uac.uac_reg_request_to() ####
```cpp
int KSR.uac.uac_reg_request_to(str "userid", int imode);
```
* 📖 kamailio.cfg::function::uac_reg_request_to()
#### KSR.uac.uac_reg_status() ####
```cpp
int KSR.uac.uac_reg_status(str "sruuid");
```
* 📖 kamailio.cfg::function::uac_reg_status()
#### KSR.uac.uac_replace_from() ####
```cpp
int KSR.uac.uac_replace_from(str "pdsp", str "puri");
```
* 📖 kamailio.cfg::function::uac_replace_from()
#### KSR.uac.uac_replace_from_uri() ####
```cpp
int KSR.uac.uac_replace_from_uri(str "puri");
```
* 📖 kamailio.cfg::function::uac_replace_from_uri()
#### KSR.uac.uac_replace_to() ####
```cpp
int KSR.uac.uac_replace_to(str "pdsp", str "puri");
```
* 📖 kamailio.cfg::function::uac_replace_to()
#### KSR.uac.uac_replace_to_uri() ####
```cpp
int KSR.uac.uac_replace_to_uri(str "puri");
```
* 📖 kamailio.cfg::function::uac_replace_to_uri()
#### KSR.uac.uac_req_send() ####
```cpp
int KSR.uac.uac_req_send();
```
* 📖 kamailio.cfg::function::uac_req_send()
#### KSR.uac.uac_restore_from() ####
```cpp
int KSR.uac.uac_restore_from();
```
* 📖 kamailio.cfg::function::uac_restore_from()
#### KSR.uac.uac_restore_to() ####
```cpp
int KSR.uac.uac_restore_to();
```
* 📖 kamailio.cfg::function::uac_restore_to()
## uac_redirect ##
* 📖 kamailio.cfg::module::uac_redirect.html
#### KSR.uac_redirect.get_redirects() ####
```cpp
int KSR.uac_redirect.get_redirects(int max_c, int max_b);
```
* 📖 kamailio.cfg::function::get_redirects()
#### KSR.uac_redirect.get_redirects_acc() ####
```cpp
int KSR.uac_redirect.get_redirects_acc(int max_c, int max_b, str "reason");
```
* 📖 kamailio.cfg::function::get_redirects_acc()
#### KSR.uac_redirect.get_redirects_all() ####
```cpp
int KSR.uac_redirect.get_redirects_all();
```
* 📖 kamailio.cfg::function::get_redirects_all()
## uri_db ##
* 📖 kamailio.cfg::module::uri_db.html
#### KSR.uri_db.check_from() ####
```cpp
int KSR.uri_db.check_from();
```
* 📖 kamailio.cfg::function::check_from()
#### KSR.uri_db.check_to() ####
```cpp
int KSR.uri_db.check_to();
```
* 📖 kamailio.cfg::function::check_to()
#### KSR.uri_db.check_uri() ####
```cpp
int KSR.uri_db.check_uri(str "suri");
```
* 📖 kamailio.cfg::function::check_uri()
#### KSR.uri_db.check_uri_realm() ####
```cpp
int KSR.uri_db.check_uri_realm(str "suri", str "susername", str "srealm");
```
* 📖 kamailio.cfg::function::check_uri_realm()
#### KSR.uri_db.does_uri_exist() ####
```cpp
int KSR.uri_db.does_uri_exist();
```
* 📖 kamailio.cfg::function::does_uri_exist()
## userblocklist ##
* 📖 kamailio.cfg::module::userblocklist.html
#### KSR.userblocklist.check_allowlist() ####
```cpp
int KSR.userblocklist.check_allowlist(str "stable");
```
* 📖 kamailio.cfg::function::check_allowlist()
#### KSR.userblocklist.check_blocklist() ####
```cpp
int KSR.userblocklist.check_blocklist(str "stable");
```
* 📖 kamailio.cfg::function::check_blocklist()
#### KSR.userblocklist.check_global_blocklist() ####
```cpp
int KSR.userblocklist.check_global_blocklist();
```
* 📖 kamailio.cfg::function::check_global_blocklist()
#### KSR.userblocklist.check_user_allowlist() ####
```cpp
int KSR.userblocklist.check_user_allowlist(str "suser", str "sdomain");
```
* 📖 kamailio.cfg::function::check_user_allowlist()
#### KSR.userblocklist.check_user_allowlist_number() ####
```cpp
int KSR.userblocklist.check_user_allowlist_number(str "suser", str "sdomain", str "snumber");
```
* 📖 kamailio.cfg::function::check_user_allowlist_number()
#### KSR.userblocklist.check_user_allowlist_table() ####
```cpp
int KSR.userblocklist.check_user_allowlist_table(str "suser", str "sdomain", str "snumber", str "stable");
```
* 📖 kamailio.cfg::function::check_user_allowlist_table()
#### KSR.userblocklist.check_user_blocklist() ####
```cpp
int KSR.userblocklist.check_user_blocklist(str "suser", str "sdomain");
```
* 📖 kamailio.cfg::function::check_user_blocklist()
#### KSR.userblocklist.check_user_blocklist_number() ####
```cpp
int KSR.userblocklist.check_user_blocklist_number(str "suser", str "sdomain", str "snumber");
```
* 📖 kamailio.cfg::function::check_user_blocklist_number()
#### KSR.userblocklist.check_user_blocklist_table() ####
```cpp
int KSR.userblocklist.check_user_blocklist_table(str "suser", str "sdomain", str "snumber", str "stable");
```
* 📖 kamailio.cfg::function::check_user_blocklist_table()
## utils ##
* 📖 kamailio.cfg::module::utils.html
#### KSR.utils.xcap_auth_status() ####
```cpp
int KSR.utils.xcap_auth_status(str "watcher_uri", str "presentity_uri");
```
* 📖 kamailio.cfg::function::xcap_auth_status()
## websocket ##
* 📖 kamailio.cfg::module::websocket.html
#### KSR.websocket.close() ####
```cpp
int KSR.websocket.close();
```
* 📖 kamailio.cfg::function::close()
#### KSR.websocket.close_conid() ####
```cpp
int KSR.websocket.close_conid(int status, str "reason", int con);
```
* 📖 kamailio.cfg::function::close_conid()
#### KSR.websocket.close_reason() ####
```cpp
int KSR.websocket.close_reason(int status, str "reason");
```
* 📖 kamailio.cfg::function::close_reason()
#### KSR.websocket.handle_handshake() ####
```cpp
int KSR.websocket.handle_handshake();
```
* 📖 kamailio.cfg::function::handle_handshake()
## xcap_server ##
* 📖 kamailio.cfg::module::xcap_server.html
#### KSR.xcap_server.xcaps_del() ####
```cpp
int KSR.xcap_server.xcaps_del(str "uri", str "path");
```
* 📖 kamailio.cfg::function::xcaps_del()
#### KSR.xcap_server.xcaps_get() ####
```cpp
int KSR.xcap_server.xcaps_get(str "uri", str "path");
```
* 📖 kamailio.cfg::function::xcaps_get()
#### KSR.xcap_server.xcaps_put() ####
```cpp
int KSR.xcap_server.xcaps_put(str "uri", str "path", str "pbody");
```
* 📖 kamailio.cfg::function::xcaps_put()
## xhttp ##
* 📖 kamailio.cfg::module::xhttp.html
#### KSR.xhttp.get_hu() ####
```cpp
xval KSR.xhttp.get_hu();
```
* 📖 kamailio.cfg::function::get_hu()
#### KSR.xhttp.xhttp_reply() ####
```cpp
int KSR.xhttp.xhttp_reply(int code, str "reason", str "ctype", str "body");
```
* 📖 kamailio.cfg::function::xhttp_reply()
## xhttp_pi ##
* 📖 kamailio.cfg::module::xhttp_pi.html
#### KSR.xhttp_pi.dispatch() ####
```cpp
int KSR.xhttp_pi.dispatch();
```
* 📖 kamailio.cfg::function::dispatch()
## xhttp_prom ##
* 📖 kamailio.cfg::module::xhttp_prom.html
#### KSR.xhttp_prom.check_uri() ####
```cpp
int KSR.xhttp_prom.check_uri();
```
* 📖 kamailio.cfg::function::check_uri()
#### KSR.xhttp_prom.counter_inc_l0() ####
```cpp
int KSR.xhttp_prom.counter_inc_l0(str "s_name", int number);
```
* 📖 kamailio.cfg::function::counter_inc_l0()
#### KSR.xhttp_prom.counter_inc_l1() ####
```cpp
int KSR.xhttp_prom.counter_inc_l1(str "s_name", int number, str "l1");
```
* 📖 kamailio.cfg::function::counter_inc_l1()
#### KSR.xhttp_prom.counter_inc_l2() ####
```cpp
int KSR.xhttp_prom.counter_inc_l2(str "s_name", int number, str "l1", str "l2");
```
* 📖 kamailio.cfg::function::counter_inc_l2()
#### KSR.xhttp_prom.counter_inc_l3() ####
```cpp
int KSR.xhttp_prom.counter_inc_l3(str "s_name", int number, str "l1", str "l2", str "l3");
```
* 📖 kamailio.cfg::function::counter_inc_l3()
#### KSR.xhttp_prom.counter_reset_l0() ####
```cpp
int KSR.xhttp_prom.counter_reset_l0(str "s_name");
```
* 📖 kamailio.cfg::function::counter_reset_l0()
#### KSR.xhttp_prom.counter_reset_l1() ####
```cpp
int KSR.xhttp_prom.counter_reset_l1(str "s_name", str "l1");
```
* 📖 kamailio.cfg::function::counter_reset_l1()
#### KSR.xhttp_prom.counter_reset_l2() ####
```cpp
int KSR.xhttp_prom.counter_reset_l2(str "s_name", str "l1", str "l2");
```
* 📖 kamailio.cfg::function::counter_reset_l2()
#### KSR.xhttp_prom.counter_reset_l3() ####
```cpp
int KSR.xhttp_prom.counter_reset_l3(str "s_name", str "l1", str "l2", str "l3");
```
* 📖 kamailio.cfg::function::counter_reset_l3()
#### KSR.xhttp_prom.dispatch() ####
```cpp
int KSR.xhttp_prom.dispatch();
```
* 📖 kamailio.cfg::function::dispatch()
#### KSR.xhttp_prom.gauge_reset_l0() ####
```cpp
int KSR.xhttp_prom.gauge_reset_l0(str "s_name");
```
* 📖 kamailio.cfg::function::gauge_reset_l0()
#### KSR.xhttp_prom.gauge_reset_l1() ####
```cpp
int KSR.xhttp_prom.gauge_reset_l1(str "s_name", str "l1");
```
* 📖 kamailio.cfg::function::gauge_reset_l1()
#### KSR.xhttp_prom.gauge_reset_l2() ####
```cpp
int KSR.xhttp_prom.gauge_reset_l2(str "s_name", str "l1", str "l2");
```
* 📖 kamailio.cfg::function::gauge_reset_l2()
#### KSR.xhttp_prom.gauge_reset_l3() ####
```cpp
int KSR.xhttp_prom.gauge_reset_l3(str "s_name", str "l1", str "l2", str "l3");
```
* 📖 kamailio.cfg::function::gauge_reset_l3()
#### KSR.xhttp_prom.gauge_set_l0() ####
```cpp
int KSR.xhttp_prom.gauge_set_l0(str "s_name", str "s_number");
```
* 📖 kamailio.cfg::function::gauge_set_l0()
#### KSR.xhttp_prom.gauge_set_l1() ####
```cpp
int KSR.xhttp_prom.gauge_set_l1(str "s_name", str "s_number", str "l1");
```
* 📖 kamailio.cfg::function::gauge_set_l1()
#### KSR.xhttp_prom.gauge_set_l2() ####
```cpp
int KSR.xhttp_prom.gauge_set_l2(str "s_name", str "s_number", str "l1", str "l2");
```
* 📖 kamailio.cfg::function::gauge_set_l2()
#### KSR.xhttp_prom.gauge_set_l3() ####
```cpp
int KSR.xhttp_prom.gauge_set_l3(str "s_name", str "s_number", str "l1", str "l2", str "l3");
```
* 📖 kamailio.cfg::function::gauge_set_l3()
#### KSR.xhttp_prom.histogram_observe_l0() ####
```cpp
int KSR.xhttp_prom.histogram_observe_l0(str "s_name", str "s_number");
```
* 📖 kamailio.cfg::function::histogram_observe_l0()
#### KSR.xhttp_prom.histogram_observe_l1() ####
```cpp
int KSR.xhttp_prom.histogram_observe_l1(str "s_name", str "s_number", str "l1");
```
* 📖 kamailio.cfg::function::histogram_observe_l1()
#### KSR.xhttp_prom.histogram_observe_l2() ####
```cpp
int KSR.xhttp_prom.histogram_observe_l2(str "s_name", str "s_number", str "l1", str "l2");
```
* 📖 kamailio.cfg::function::histogram_observe_l2()
#### KSR.xhttp_prom.histogram_observe_l3() ####
```cpp
int KSR.xhttp_prom.histogram_observe_l3(str "s_name", str "s_number", str "l1", str "l2", str "l3");
```
* 📖 kamailio.cfg::function::histogram_observe_l3()
## xhttp_rpc ##
* 📖 kamailio.cfg::module::xhttp_rpc.html
#### KSR.xhttp_rpc.dispatch() ####
```cpp
int KSR.xhttp_rpc.dispatch();
```
* 📖 kamailio.cfg::function::dispatch()
## xlog ##
* 📖 kamailio.cfg::module::xlog.html
#### KSR.xlog.xalert() ####
```cpp
int KSR.xlog.xalert(str "lmsg");
```
* 📖 kamailio.cfg::function::xalert()
#### KSR.xlog.xcrit() ####
```cpp
int KSR.xlog.xcrit(str "lmsg");
```
* 📖 kamailio.cfg::function::xcrit()
#### KSR.xlog.xdbg() ####
```cpp
int KSR.xlog.xdbg(str "lmsg");
```
* 📖 kamailio.cfg::function::xdbg()
#### KSR.xlog.xerr() ####
```cpp
int KSR.xlog.xerr(str "lmsg");
```
* 📖 kamailio.cfg::function::xerr()
#### KSR.xlog.xinfo() ####
```cpp
int KSR.xlog.xinfo(str "lmsg");
```
* 📖 kamailio.cfg::function::xinfo()
#### KSR.xlog.xlog() ####
```cpp
int KSR.xlog.xlog(str "slevel", str "lmsg");
```
* 📖 kamailio.cfg::function::xlog()
#### KSR.xlog.xnotice() ####
```cpp
int KSR.xlog.xnotice(str "lmsg");
```
* 📖 kamailio.cfg::function::xnotice()
#### KSR.xlog.xwarn() ####
```cpp
int KSR.xlog.xwarn(str "lmsg");
```
* 📖 kamailio.cfg::function::xwarn()
## xmlrpc ##
* 📖 kamailio.cfg::module::xmlrpc.html
#### KSR.xmlrpc.dispatch_rpc() ####
```cpp
int KSR.xmlrpc.dispatch_rpc();
```
* 📖 kamailio.cfg::function::dispatch_rpc()
#### KSR.xmlrpc.xmlrpc_reply() ####
```cpp
int KSR.xmlrpc.xmlrpc_reply(int rcode, str "reason");
```
* 📖 kamailio.cfg::function::xmlrpc_reply()