diff --git a/src/modules/acc/README b/src/modules/acc/README index dca5a6ecc5f..3d1dd7f17bb 100644 --- a/src/modules/acc/README +++ b/src/modules/acc/README @@ -1444,7 +1444,7 @@ Chapter 2. Frequently Asked Questions Where can I find more about Kamailio? - Take a look at http://www.kamailio.org/. + Take a look at https://www.kamailio.org/. 2.5. @@ -1453,16 +1453,16 @@ Chapter 2. Frequently Asked Questions First at all check if your question was already answered on one of our mailing lists: * User Mailing List - - http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users + https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users * Developer Mailing List - - http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev + https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev E-mails regarding any stable Kamailio release should be sent to - and e-mails regarding development - versions should be sent to . + and e-mails regarding development + versions should be sent to . If you want to keep the mail private, send it to - . + . 2.6. diff --git a/src/modules/app_perl/README b/src/modules/app_perl/README index 7861bd85dff..fb0aa288756 100644 --- a/src/modules/app_perl/README +++ b/src/modules/app_perl/README @@ -1669,7 +1669,7 @@ Chapter 4. Frequently Asked Questions Where can I find more about Kamailio? - Take a look at http://www.kamailio.org/. + Take a look at https://www.kamailio.org/. 4.3. @@ -1678,16 +1678,16 @@ Chapter 4. Frequently Asked Questions First at all check if your question was already answered on one of our mailing lists: * User Mailing List - - http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users + https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users * Developer Mailing List - - http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev + https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev E-mails regarding any stable Kamailio release should be sent to - and e-mails regarding development - versions should be sent to . + and e-mails regarding development + versions should be sent to . If you want to keep the mail private, send it to - . + . 4.4. diff --git a/src/modules/carrierroute/README b/src/modules/carrierroute/README index ba402136b77..b766dac0fbf 100644 --- a/src/modules/carrierroute/README +++ b/src/modules/carrierroute/README @@ -946,7 +946,7 @@ domain register { with module parameters so they can be changed, but the name of the columns must be as they are in the SQL script. You can also find the complete database documentation on the project webpage, - http://www.kamailio.org/docs/db-tables/kamailio-db-devel.html. The + https://www.kamailio.org/docs/db-tables/kamailio-db-devel.html. The flags and mask columns have the same function as in the carrierfailureroute table. A zero value in the flags and mask column means that any message flags will match this rule. diff --git a/src/modules/cdp/README b/src/modules/cdp/README index 148293b4d9f..8137baf7e28 100644 --- a/src/modules/cdp/README +++ b/src/modules/cdp/README @@ -928,7 +928,7 @@ Chapter 3. Frequently Asked Questions Where can I find more about Kamailio? - Take a look at http://www.kamailio.org/. + Take a look at https://www.kamailio.org/. 3.2. @@ -937,16 +937,16 @@ Chapter 3. Frequently Asked Questions First at all check if your question was already answered on one of our mailing lists: * User Mailing List - - http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users + https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users * Developer Mailing List - - http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev + https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev E-mails regarding any stable Kamailio release should be sent to - and e-mails regarding development - versions should be sent to . + and e-mails regarding development + versions should be sent to . If you want to keep the mail private, send it to - . + . 3.3. diff --git a/src/modules/cdp_avp/README b/src/modules/cdp_avp/README index 2ef17cd1bfe..6203a78e45d 100644 --- a/src/modules/cdp_avp/README +++ b/src/modules/cdp_avp/README @@ -1660,7 +1660,7 @@ Chapter 3. Frequently Asked Questions Where can I find more about Kamailio? - Take a look at http://www.kamailio.org/. + Take a look at https://www.kamailio.org/. 3.2. @@ -1669,16 +1669,16 @@ Chapter 3. Frequently Asked Questions First at all check if your question was already answered on one of our mailing lists: * User Mailing List - - http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users + https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users * Developer Mailing List - - http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev + https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev E-mails regarding any stable Kamailio release should be sent to - and e-mails regarding development - versions should be sent to . + and e-mails regarding development + versions should be sent to . If you want to keep the mail private, send it to - . + . 3.3. diff --git a/src/modules/cplc/README b/src/modules/cplc/README index 45732f2eb20..58d17ec8e98 100644 --- a/src/modules/cplc/README +++ b/src/modules/cplc/README @@ -565,4 +565,4 @@ kamcmd cpl.get username they can be changed, but the name of the columns must be as they are in the SQL script. You can also find the complete database documentation on the project webpage, - http://www.kamailio.org/docs/db-tables/kamailio-db-devel.html. + https://www.kamailio.org/docs/db-tables/kamailio-db-devel.html. diff --git a/src/modules/dialog/README b/src/modules/dialog/README index a3c880092bd..b469ed8cfc0 100644 --- a/src/modules/dialog/README +++ b/src/modules/dialog/README @@ -2000,7 +2000,7 @@ Chapter 3. Frequently Asked Questions Where can I find more about Kamailio? - Take a look at http://www.kamailio.org/. + Take a look at https://www.kamailio.org/. 3.3. @@ -2009,16 +2009,16 @@ Chapter 3. Frequently Asked Questions First at all check if your question was already answered on one of our mailing lists: * User Mailing List - - http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users + https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users * Developer Mailing List - - http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev + https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev E-mails regarding any stable Kamailio release should be sent to - and e-mails regarding development - versions should be sent to . + and e-mails regarding development + versions should be sent to . If you want to keep the mail private, send it to - . + . 3.4. diff --git a/src/modules/dialplan/README b/src/modules/dialplan/README index a05a3424354..d87a8d01428 100644 --- a/src/modules/dialplan/README +++ b/src/modules/dialplan/README @@ -480,7 +480,7 @@ xlog("translated to var $var(y) \n"); syntax to create them can be found in dialplan-create.sql script in the database directories in the kamailio/scripts folder. You can also find the complete database documentation on the project webpage, - http://www.kamailio.org/docs/db-tables/kamailio-db-devel.html. + https://www.kamailio.org/docs/db-tables/kamailio-db-devel.html. Some sample records from a dialplan table are presented in the next figure. diff --git a/src/modules/dispatcher/README b/src/modules/dispatcher/README index 4be9271a43f..6b421fc3e11 100644 --- a/src/modules/dispatcher/README +++ b/src/modules/dispatcher/README @@ -1632,7 +1632,7 @@ Chapter 2. Frequently Asked Questions Where can I find more about Kamailio? - Take a look at http://www.kamailio.org/. + Take a look at https://www.kamailio.org/. 2.4. @@ -1641,17 +1641,16 @@ Chapter 2. Frequently Asked Questions First at all check if your question was already answered on one of our mailing lists: * User Mailing List - - http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users + https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users * Developer Mailing List - - http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev + https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev E-mails regarding any stable version should be sent to - and e-mail regarding development - versions or GIT snapshots should be send to - . + and e-mail regarding development versions + or GIT snapshots should be send to . If you want to keep the mail private, send it to - . + . 2.5. diff --git a/src/modules/drouting/README b/src/modules/drouting/README index 907e3f0b2c7..3abb78f0507 100644 --- a/src/modules/drouting/README +++ b/src/modules/drouting/README @@ -818,7 +818,7 @@ if (is_from_gw("3","1") { dr_gateways, dr_rules. The SQL syntax to create them can be found in drouting-create.sql script in kamctl db directories. You can also find the complete database documentation on the project webpage, - http://www.kamailio.org/docs/db-tables/kamailio-db-devel.html. + https://www.kamailio.org/docs/db-tables/kamailio-db-devel.html. Chapter 2. Developer Guide diff --git a/src/modules/evapi/README b/src/modules/evapi/README index b7e28a2dec8..65511e74ff4 100644 --- a/src/modules/evapi/README +++ b/src/modules/evapi/README @@ -356,4 +356,4 @@ event_route[evapi:message-received] { * $evapi(conidx) - internal connection index Exported pseudo-variables are documented at - http://www.kamailio.org/wiki/. + https://www.kamailio.org/wiki/. diff --git a/src/modules/geoip/README b/src/modules/geoip/README index ed5644696be..46a1d464254 100644 --- a/src/modules/geoip/README +++ b/src/modules/geoip/README @@ -165,4 +165,4 @@ if(geoip_match("$si", "src")) + contc - continent code Exported pseudo-variables are documented at - http://www.kamailio.org/wiki/. + https://www.kamailio.org/wiki/. diff --git a/src/modules/geoip2/README b/src/modules/geoip2/README index fd07cddec0a..697ccf0889c 100644 --- a/src/modules/geoip2/README +++ b/src/modules/geoip2/README @@ -144,4 +144,4 @@ if(geoip2_match("$si", "src")) + contc - continent code Exported pseudo-variables are documented at - http://www.kamailio.org/wiki/. + https://www.kamailio.org/wiki/. diff --git a/src/modules/htable/README b/src/modules/htable/README index 19ee8c58cec..b892ccca512 100644 --- a/src/modules/htable/README +++ b/src/modules/htable/README @@ -30,58 +30,58 @@ Ovidiu Sas 1. Admin Guide - 1.1. Overview - 1.2. Dependencies - - 1.2.1. Kamailio Modules - 1.2.2. External Libraries or Applications - 1.2.3. Loading from database - - 1.3. Parameters - - 1.3.1. htable (str) - 1.3.2. db_url (str) - 1.3.3. key_name_column (str) - 1.3.4. key_type_column (str) - 1.3.5. value_type_column (str) - 1.3.6. key_value_column (str) - 1.3.7. expires_column (str) - 1.3.8. array_size_suffix (str) - 1.3.9. fetch_rows (integer) - 1.3.10. timer_interval (integer) - 1.3.11. db_expires (integer) - 1.3.12. enable_dmq (integer) - 1.3.13. timer_procs (integer) - 1.3.14. event_callback (str) - - 1.4. Functions - - 1.4.1. sht_print() - 1.4.2. sht_rm_name_re(htable=>regexp) - 1.4.3. sht_rm_value_re(htable=>regexp) - 1.4.4. sht_reset(htable) - 1.4.5. sht_lock(htable=>key) - 1.4.6. sht_unlock(htable=>key) - 1.4.7. sht_iterator_start(iname, hname) - 1.4.8. sht_iterator_end(iname) - 1.4.9. sht_iterator_next(iname) - - 1.5. Exported pseudo-variables - 1.6. RPC Commands - - 1.6.1. htable.get htable key - 1.6.2. htable.delete htable key - 1.6.3. htable.sets htable key value - 1.6.4. htable.seti htable key value - 1.6.5. htable.dump htable - 1.6.6. htable.reload htable - 1.6.7. htable.listTables - 1.6.8. htable.stats - - 1.7. Event routes - - 1.7.1. htable:mod-init - 1.7.2. htable:expired: + 1. Overview + 2. Dependencies + + 2.1. Kamailio Modules + 2.2. External Libraries or Applications + 2.3. Loading from database + + 3. Parameters + + 3.1. htable (str) + 3.2. db_url (str) + 3.3. key_name_column (str) + 3.4. key_type_column (str) + 3.5. value_type_column (str) + 3.6. key_value_column (str) + 3.7. expires_column (str) + 3.8. array_size_suffix (str) + 3.9. fetch_rows (integer) + 3.10. timer_interval (integer) + 3.11. db_expires (integer) + 3.12. enable_dmq (integer) + 3.13. timer_procs (integer) + 3.14. event_callback (str) + + 4. Functions + + 4.1. sht_print() + 4.2. sht_rm_name_re(htable=>regexp) + 4.3. sht_rm_value_re(htable=>regexp) + 4.4. sht_reset(htable) + 4.5. sht_lock(htable=>key) + 4.6. sht_unlock(htable=>key) + 4.7. sht_iterator_start(iname, hname) + 4.8. sht_iterator_end(iname) + 4.9. sht_iterator_next(iname) + + 5. Exported pseudo-variables + 6. RPC Commands + + 6.1. htable.get htable key + 6.2. htable.delete htable key + 6.3. htable.sets htable key value + 6.4. htable.seti htable key value + 6.5. htable.dump htable + 6.6. htable.reload htable + 6.7. htable.listTables + 6.8. htable.stats + + 7. Event routes + + 7.1. htable:mod-init + 7.2. htable:expired:
List of Examples @@ -114,7 +114,62 @@ Ovidiu Sas Chapter 1. Admin Guide -1.1. Overview + Table of Contents + + 1. Overview + 2. Dependencies + + 2.1. Kamailio Modules + 2.2. External Libraries or Applications + 2.3. Loading from database + + 3. Parameters + + 3.1. htable (str) + 3.2. db_url (str) + 3.3. key_name_column (str) + 3.4. key_type_column (str) + 3.5. value_type_column (str) + 3.6. key_value_column (str) + 3.7. expires_column (str) + 3.8. array_size_suffix (str) + 3.9. fetch_rows (integer) + 3.10. timer_interval (integer) + 3.11. db_expires (integer) + 3.12. enable_dmq (integer) + 3.13. timer_procs (integer) + 3.14. event_callback (str) + + 4. Functions + + 4.1. sht_print() + 4.2. sht_rm_name_re(htable=>regexp) + 4.3. sht_rm_value_re(htable=>regexp) + 4.4. sht_reset(htable) + 4.5. sht_lock(htable=>key) + 4.6. sht_unlock(htable=>key) + 4.7. sht_iterator_start(iname, hname) + 4.8. sht_iterator_end(iname) + 4.9. sht_iterator_next(iname) + + 5. Exported pseudo-variables + 6. RPC Commands + + 6.1. htable.get htable key + 6.2. htable.delete htable key + 6.3. htable.sets htable key value + 6.4. htable.seti htable key value + 6.5. htable.dump htable + 6.6. htable.reload htable + 6.7. htable.listTables + 6.8. htable.stats + + 7. Event routes + + 7.1. htable:mod-init + 7.2. htable:expired:
+ +1. Overview The module adds a hash table container to the configuration language. The hash table is stored in shared memory and the access to it can be @@ -298,21 +353,25 @@ $ kamcmd htable.dump htable } } -1.2. Dependencies +2. Dependencies -1.2.1. Kamailio Modules + 2.1. Kamailio Modules + 2.2. External Libraries or Applications + 2.3. Loading from database + +2.1. Kamailio Modules The following modules must be loaded before this module: * If DMQ replication is enabled, the DMQ module must be loaded first.. -1.2.2. External Libraries or Applications +2.2. External Libraries or Applications The following libraries or applications must be installed before running Kamailio with this module loaded: * None. -1.2.3. Loading from database +2.3. Loading from database The module is able to load values in a hash table at startup upon providing a DB URL and table name. @@ -331,9 +390,24 @@ $ kamcmd htable.dump htable + 1 - value is integer. * key value - string containing the value of the key. -1.3. Parameters - -1.3.1. htable (str) +3. Parameters + + 3.1. htable (str) + 3.2. db_url (str) + 3.3. key_name_column (str) + 3.4. key_type_column (str) + 3.5. value_type_column (str) + 3.6. key_value_column (str) + 3.7. expires_column (str) + 3.8. array_size_suffix (str) + 3.9. fetch_rows (integer) + 3.10. timer_interval (integer) + 3.11. db_expires (integer) + 3.12. enable_dmq (integer) + 3.13. timer_procs (integer) + 3.14. event_callback (str) + +3.1. htable (str) The definition of a hash table. The value of the parameter may have the following format: @@ -390,7 +464,7 @@ modparam("htable", "htable", "c=>size=4;autoexpire=7200;initval=1;dmqreplicate=1 ;") ... -1.3.2. db_url (str) +3.2. db_url (str) The URL to connect to database for loading values in hash table at start up. @@ -402,7 +476,7 @@ modparam("htable", "htable", "c=>size=4;autoexpire=7200;initval=1;dmqreplicate=1 modparam("htable", "db_url", "mysql://kamailio:kamailiorw@localhost/kamailio") ... -1.3.3. key_name_column (str) +3.3. key_name_column (str) The name of the column containing the hash table key name. @@ -413,7 +487,7 @@ modparam("htable", "db_url", "mysql://kamailio:kamailiorw@localhost/kamailio") modparam("htable", "key_name_column", "kname") ... -1.3.4. key_type_column (str) +3.4. key_type_column (str) The name of the column containing the hash table key type. @@ -424,7 +498,7 @@ modparam("htable", "key_name_column", "kname") modparam("htable", "key_type_column", "ktype") ... -1.3.5. value_type_column (str) +3.5. value_type_column (str) The name of the column containing the hash table value type. @@ -435,7 +509,7 @@ modparam("htable", "key_type_column", "ktype") modparam("htable", "value_type_column", "vtype") ... -1.3.6. key_value_column (str) +3.6. key_value_column (str) The name of the column containing hash table key value. @@ -446,7 +520,7 @@ modparam("htable", "value_type_column", "vtype") modparam("htable", "key_value_column", "kvalue") ... -1.3.7. expires_column (str) +3.7. expires_column (str) The name of the column containing the expires value. @@ -457,7 +531,7 @@ modparam("htable", "key_value_column", "kvalue") modparam("htable", "expires_column", "expiry") ... -1.3.8. array_size_suffix (str) +3.8. array_size_suffix (str) The suffix to be added to store the number of items in an array (see key type). @@ -469,7 +543,7 @@ modparam("htable", "expires_column", "expiry") modparam("htable", "array_size_suffix", "-count") ... -1.3.9. fetch_rows (integer) +3.9. fetch_rows (integer) How many rows to fetch at once from database. @@ -480,7 +554,7 @@ modparam("htable", "array_size_suffix", "-count") modparam("htable", "fetch_rows", 1000) ... -1.3.10. timer_interval (integer) +3.10. timer_interval (integer) Interval in seconds to check for expired htable values. @@ -491,7 +565,7 @@ modparam("htable", "fetch_rows", 1000) modparam("htable", "timer_interval", 10) ... -1.3.11. db_expires (integer) +3.11. db_expires (integer) If set to 1, the module will load/save the expires values of the items in hash table from/to database. It applies only to hash tables that @@ -504,7 +578,7 @@ modparam("htable", "timer_interval", 10) modparam("htable", "db_expires", 1) ... -1.3.12. enable_dmq (integer) +3.12. enable_dmq (integer) If set to 1, will enable DMQ replication of actions performed upon entries in all tables having "dmqreplicate" parameter set. Any update @@ -526,7 +600,7 @@ modparam("htable", "db_expires", 1) modparam("htable", "enable_dmq", 1) ... -1.3.13. timer_procs (integer) +3.13. timer_procs (integer) If set to 1 or greater, the module will create its own timer processes to scan for expired items in hash tables. If set to zero, it will use @@ -540,7 +614,7 @@ modparam("htable", "enable_dmq", 1) modparam("htable", "timer_procs", 4) ... -1.3.14. event_callback (str) +3.14. event_callback (str) The name of the function in the kemi configuration file (embedded scripting language such as Lua, Python, ...) to be executed instead of @@ -560,9 +634,19 @@ function ksr_htable_event(evname) end ... -1.4. Functions +4. Functions -1.4.1. sht_print() + 4.1. sht_print() + 4.2. sht_rm_name_re(htable=>regexp) + 4.3. sht_rm_value_re(htable=>regexp) + 4.4. sht_reset(htable) + 4.5. sht_lock(htable=>key) + 4.6. sht_unlock(htable=>key) + 4.7. sht_iterator_start(iname, hname) + 4.8. sht_iterator_end(iname) + 4.9. sht_iterator_next(iname) + +4.1. sht_print() Dump content of hash table to L_ERR log level. Intended for debug purposes. @@ -575,7 +659,7 @@ end sht_print(); ... -1.4.2. sht_rm_name_re(htable=>regexp) +4.2. sht_rm_name_re(htable=>regexp) Delete all entries in the htable that match the name against regular expression. @@ -588,7 +672,7 @@ sht_print(); sht_rm_name_re("ha=>.*"); ... -1.4.3. sht_rm_value_re(htable=>regexp) +4.3. sht_rm_value_re(htable=>regexp) Delete all entries in the htable that match the value against regular expression. @@ -601,7 +685,7 @@ sht_rm_name_re("ha=>.*"); sht_rm_value_re("ha=>.*"); ... -1.4.4. sht_reset(htable) +4.4. sht_reset(htable) Delete all entries in the htable. The name of the hash table can be a dynamic string with variables. @@ -613,7 +697,7 @@ sht_rm_value_re("ha=>.*"); sht_reset("ha$var(x)"); ... -1.4.5. sht_lock(htable=>key) +4.5. sht_lock(htable=>key) Lock the slot in htable corresponding to the key item. Note that the locking is re-entrant for the process, therefore the lock and unlock @@ -626,7 +710,7 @@ sht_reset("ha$var(x)"); sht_lock("ha=>test"); ... -1.4.6. sht_unlock(htable=>key) +4.6. sht_unlock(htable=>key) Unlock the slot in htable corespoding to the key item. Note that the locking is re-entrant for the process, therefore the lock and unlock @@ -641,7 +725,7 @@ $sht(ha=>test) = $sht(ha=>test) + 10; sht_unlock("ha=>test"); ... -1.4.7. sht_iterator_start(iname, hname) +4.7. sht_iterator_start(iname, hname) Start an iterator for hash table named by the value of parameter hname. The parameter iname is used to identify the iterator. There can be up @@ -661,7 +745,7 @@ sht_unlock("ha=>test"); sht_iterator_start("i1", "h1"); ... -1.4.8. sht_iterator_end(iname) +4.8. sht_iterator_end(iname) Close the iterator identified by iname parameter and release the hash table slot aquired by the iterator. The iname value must be the same @@ -676,7 +760,7 @@ sht_iterator_start("i1", "h1"); sht_iterator_end("i1"); ... -1.4.9. sht_iterator_next(iname) +4.9. sht_iterator_next(iname) Move the iterator to the next item in hash table. It must be called also after sht_iterator_start() to get the first item in the hash @@ -702,7 +786,7 @@ sht_iterator_end("i1"); sht_iterator_end("i1"); ... -1.5. Exported pseudo-variables +5. Exported pseudo-variables * $sht(htable=>key) * $shtex(htable=>key) @@ -714,11 +798,20 @@ sht_iterator_end("i1"); * $shtrecord(attribute) Exported pseudo-variables are documented at - http://www.kamailio.org/wiki/. + https://www.kamailio.org/wiki/. + +6. RPC Commands -1.6. RPC Commands + 6.1. htable.get htable key + 6.2. htable.delete htable key + 6.3. htable.sets htable key value + 6.4. htable.seti htable key value + 6.5. htable.dump htable + 6.6. htable.reload htable + 6.7. htable.listTables + 6.8. htable.stats -1.6.1. htable.get htable key +6.1. htable.get htable key Lists one value in a hash table @@ -737,7 +830,7 @@ kamcmd htable.get students alice kamcmd htable.get students course[0] ... -1.6.2. htable.delete htable key +6.2. htable.delete htable key Delete one value in a hash table @@ -756,7 +849,7 @@ kamcmd htable.delete students alice kamcmd htable.delete students course[0] ... -1.6.3. htable.sets htable key value +6.3. htable.sets htable key value Set an item in hash table to string value. @@ -776,7 +869,7 @@ kamcmd htable.sets test x abc kamcmd htable.sets test x[0] abc ... -1.6.4. htable.seti htable key value +6.4. htable.seti htable key value Set an item in hash table to integer value. @@ -796,7 +889,7 @@ kamcmd htable.seti test x 123 kamcmd htable.sets test x[0] 123 ... -1.6.5. htable.dump htable +6.5. htable.dump htable Lists all the values in a hash table @@ -810,7 +903,7 @@ kamcmd htable.sets test x[0] 123 kamcmd htable.dump ipban ... -1.6.6. htable.reload htable +6.6. htable.reload htable Reload hash table from database. @@ -824,7 +917,7 @@ kamcmd htable.dump ipban kamcmd htable.reload ipban ... -1.6.7. htable.listTables +6.7. htable.listTables Lists all defined tables @@ -838,7 +931,7 @@ kamcmd htable.reload ipban kamcmd htable.listTables ... -1.6.8. htable.stats +6.8. htable.stats Get statistics for hash tables - name, number of slots, number of items, max number of items per slot, min number of items per slot. @@ -853,9 +946,12 @@ kamcmd htable.listTables kamcmd htable.stats ... -1.7. Event routes +7. Event routes + + 7.1. htable:mod-init + 7.2. htable:expired:
-1.7.1. htable:mod-init +7.1. htable:mod-init When defined, the module calls event_route[htable:mod-init] after all modules have been initialized. A typical use case is to initialise @@ -868,7 +964,7 @@ event_route[htable:mod-init] { } ... -1.7.2. htable:expired:
+7.2. htable:expired:
When defined, the module calls event_route[htable:expired:
] when an entry in the given table expires. In this event route, the key and diff --git a/src/modules/imc/README b/src/modules/imc/README index 957fb515b64..cf0a200fe64 100644 --- a/src/modules/imc/README +++ b/src/modules/imc/README @@ -391,4 +391,4 @@ kamcmd imc_list_members _room_ by yourself you can use the imc-create.sql SQL script in the database directories in the kamailio/scripts folder as template. You can also find the complete database documentation on the project webpage, - http://www.kamailio.org/docs/db-tables/kamailio-db-devel.html. + https://www.kamailio.org/docs/db-tables/kamailio-db-devel.html. diff --git a/src/modules/ims_dialog/README b/src/modules/ims_dialog/README index 32b104b7fc0..5ed5f79315d 100644 --- a/src/modules/ims_dialog/README +++ b/src/modules/ims_dialog/README @@ -1073,7 +1073,7 @@ Chapter 3. Frequently Asked Questions Where can I find more about Kamailio? - Take a look at http://www.kamailio.org/. + Take a look at https://www.kamailio.org/. 3.4. @@ -1082,16 +1082,16 @@ Chapter 3. Frequently Asked Questions First at all check if your question was already answered on one of our mailing lists: * User Mailing List - - http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users + https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users * Developer Mailing List - - http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev + https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev E-mails regarding any stable Kamailio release should be sent to - and e-mails regarding development - versions should be sent to . + and e-mails regarding development + versions should be sent to . If you want to keep the mail private, send it to - . + . 3.5. diff --git a/src/modules/ims_registrar_scscf/README b/src/modules/ims_registrar_scscf/README index 075f5b9149d..3401e825ef8 100644 --- a/src/modules/ims_registrar_scscf/README +++ b/src/modules/ims_registrar_scscf/README @@ -812,7 +812,7 @@ Chapter 2. Frequently Asked Questions Where can I find more about Kamailio? - Take a look at http://www.kamailio.org/. + Take a look at https://www.kamailio.org/. 2.2. @@ -821,16 +821,16 @@ Chapter 2. Frequently Asked Questions First at all check if your question was already answered on one of our mailing lists: * User Mailing List - - http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users + https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users * Developer Mailing List - - http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev + https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev E-mails regarding any stable Kamailio release should be sent to - and e-mails regarding development - versions should be sent to . + and e-mails regarding development + versions should be sent to . If you want to keep the mail private, send it to - . + . 2.3. diff --git a/src/modules/ims_usrloc_pcscf/README b/src/modules/ims_usrloc_pcscf/README index c0a1486b527..e11bd9b0cb9 100644 --- a/src/modules/ims_usrloc_pcscf/README +++ b/src/modules/ims_usrloc_pcscf/README @@ -272,7 +272,7 @@ Chapter 2. Frequently Asked Questions Where can I find more about Kamailio? - Take a look at http://www.kamailio.org/. + Take a look at https://www.kamailio.org/. 2.2. @@ -281,16 +281,16 @@ Chapter 2. Frequently Asked Questions First at all check if your question was already answered on one of our mailing lists: * User Mailing List - - http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users + https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users * Developer Mailing List - - http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev + https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev E-mails regarding any stable Kamailio release should be sent to - and e-mails regarding development - versions should be sent to . + and e-mails regarding development + versions should be sent to . If you want to keep the mail private, send it to - . + . 2.3. diff --git a/src/modules/jsonrpcc/README b/src/modules/jsonrpcc/README index 603fcc71fca..8cdb2f2e8ad 100644 --- a/src/modules/jsonrpcc/README +++ b/src/modules/jsonrpcc/README @@ -1,4 +1,4 @@ -jsonrpc-c (client) Module +JSONRPCC (jsonrpc client) Module Matthew Williams @@ -110,8 +110,8 @@ Chapter 1. Admin Guide Example 1.1. Set servers parameter ... -modparam("jsonrpc", "servers", "localhost:9999,2 10.10.0.1:9999,2 backup.server: -9999,1") +modparam("jsonrpcc", "servers", "localhost:9999,2 10.10.0.1:9999,2 backup.server +:9999,1") ... 3.2. max_conn_attempts (int) @@ -121,7 +121,7 @@ modparam("jsonrpc", "servers", "localhost:9999,2 10.10.0.1:9999,2 backup.server: Example 1.2. Set max_conn_attempts parameter ... -modparam("jsonrpc", "max_conn_attempts", 10) +modparam("jsonrpcc", "max_conn_attempts", 10) ... 4. Functions diff --git a/src/modules/matrix/README b/src/modules/matrix/README index 119a0f98421..65054404092 100644 --- a/src/modules/matrix/README +++ b/src/modules/matrix/README @@ -237,7 +237,7 @@ kamcmd matrix.reload template. Database, table, and column names can be set with module parameters so they can be changed. You can also find the complete database documentation on the project webpage, - http://www.kamailio.org/docs/db-tables/kamailio-db-devel.html. + https://www.kamailio.org/docs/db-tables/kamailio-db-devel.html. Example 1.8. Example database content - matrix table ... diff --git a/src/modules/memcached/README b/src/modules/memcached/README index 6abdfbc8649..b10d4e39e18 100644 --- a/src/modules/memcached/README +++ b/src/modules/memcached/README @@ -288,4 +288,4 @@ modparam("memcached", "stringify", 1) * $mctex(key) Exported pseudo-variables are documented at - http://www.kamailio.org/wiki/. + https://www.kamailio.org/wiki/. diff --git a/src/modules/mqueue/README b/src/modules/mqueue/README index 6d23b43c272..fa963ae69d7 100644 --- a/src/modules/mqueue/README +++ b/src/modules/mqueue/README @@ -197,7 +197,7 @@ xlog("L_INFO", "Size of queue is: $var(q_size)\n"); * $mq_size(mqueue) - the size of the specified mqueue Exported pseudo-variables are documented at - http://www.kamailio.org/wiki/. + https://www.kamailio.org/wiki/. 6. RPC Commands diff --git a/src/modules/nathelper/README b/src/modules/nathelper/README index 3125b17735f..382df99d457 100644 --- a/src/modules/nathelper/README +++ b/src/modules/nathelper/README @@ -746,7 +746,7 @@ Chapter 2. Frequently Asked Questions Where can I find more about Kamailio? - Take a look at http://www.kamailio.org/. + Take a look at https://www.kamailio.org/. 2.3. @@ -755,16 +755,16 @@ Chapter 2. Frequently Asked Questions First at all check if your question was already answered on one of our mailing lists: * User Mailing List - - http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users + https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users * Developer Mailing List - - http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev + https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev E-mails regarding any stable Kamailio release should be sent to - and e-mails regarding development - versions should be sent to . + and e-mails regarding development + versions should be sent to . If you want to keep the mail private, send it to - . + . 2.4. diff --git a/src/modules/p_usrloc/README b/src/modules/p_usrloc/README index 13970df449c..6d3af78ff6b 100644 --- a/src/modules/p_usrloc/README +++ b/src/modules/p_usrloc/README @@ -676,7 +676,7 @@ modparam("p_usrloc", "db_mode", 2) with module parameters so they can be changed, but the name of the columns must be as they are in the SQL script. You can also find the complete database documentation on the project webpage, - http://www.kamailio.org/docs/db-tables/kamailio-db-devel.html. + https://www.kamailio.org/docs/db-tables/kamailio-db-devel.html. Example 1.28. Example database content - reg_table (locdb) table ... diff --git a/src/modules/presence/README b/src/modules/presence/README index c9e86a26e5e..bd8c23681d2 100644 --- a/src/modules/presence/README +++ b/src/modules/presence/README @@ -1080,7 +1080,7 @@ event_route[presence:notify-reply] found in presence-create.sql script in the database directories in the kamailio/scripts folder. You can also find the complete database documentation on the project webpage, - http://www.kamailio.org/docs/db-tables/kamailio-db-devel.html. + https://www.kamailio.org/docs/db-tables/kamailio-db-devel.html. Chapter 2. Developer Guide diff --git a/src/modules/presence_xml/README b/src/modules/presence_xml/README index 6af102d6ade..4b26628d6a0 100644 --- a/src/modules/presence_xml/README +++ b/src/modules/presence_xml/README @@ -357,7 +357,7 @@ modparam("presence_xml", "force_dummy_presence", 1) syntax to create it can be found in presence-create.sql script in the database directories in the kamailio/scripts folder. You can also find the complete database documentation on the project webpage, - http://www.kamailio.org/docs/db-tables/kamailio-db-devel.html. + https://www.kamailio.org/docs/db-tables/kamailio-db-devel.html. Chapter 2. Developer Guide diff --git a/src/modules/pua/README b/src/modules/pua/README index 22fd9646918..e2325902078 100644 --- a/src/modules/pua/README +++ b/src/modules/pua/README @@ -396,7 +396,7 @@ kamcmd pua.cleanup syntax to create it can be found in presence_xml-create.sql script in the database directories in the kamailio/scripts folder. You can also find the complete database documentation on the project webpage, - http://www.kamailio.org/docs/db-tables/kamailio-db-devel.html. + https://www.kamailio.org/docs/db-tables/kamailio-db-devel.html. Chapter 2. Developer Guide diff --git a/src/modules/registrar/README b/src/modules/registrar/README index 220e2a8f8fb..27e702d3457 100644 --- a/src/modules/registrar/README +++ b/src/modules/registrar/README @@ -1212,7 +1212,7 @@ Chapter 2. Frequently Asked Questions Where can I find more about Kamailio? - Take a look at http://www.kamailio.org/. + Take a look at https://www.kamailio.org/. 2.5. @@ -1221,16 +1221,16 @@ Chapter 2. Frequently Asked Questions First at all check if your question was already answered on one of our mailing lists: * User Mailing List - - http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users + https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users * Developer Mailing List - - http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev + https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev E-mails regarding any stable Kamailio release should be sent to - and e-mails regarding development - versions should be sent to . + and e-mails regarding development + versions should be sent to . If you want to keep the mail private, send it to - . + . 2.6. diff --git a/src/modules/rls/README b/src/modules/rls/README index f4f9d5fbeda..1d53ea88857 100644 --- a/src/modules/rls/README +++ b/src/modules/rls/README @@ -665,7 +665,7 @@ kamcmd rls.cleanup rls-create.sql script in the database directories in the kamailio/scripts folder. You can also find the complete database documentation on the project webpage, - http://www.kamailio.org/docs/db-tables/kamailio-db-devel.html. + https://www.kamailio.org/docs/db-tables/kamailio-db-devel.html. Chapter 2. Developer Guide diff --git a/src/modules/rtpengine/README b/src/modules/rtpengine/README index c532ec3a74e..8ecb5e3b34f 100644 --- a/src/modules/rtpengine/README +++ b/src/modules/rtpengine/README @@ -1184,7 +1184,7 @@ nnection ICE=force RTP/SAVPF"); Where can I find more about Kamailio? - Take a look at http://www.kamailio.org/. + Take a look at https://www.kamailio.org/. 2.3. @@ -1193,16 +1193,16 @@ nnection ICE=force RTP/SAVPF"); First at all check if your question was already answered on one of our mailing lists: * User Mailing List - - http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users + https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users * Developer Mailing List - - http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev + https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev E-mails regarding any stable Kamailio release should be sent to - and e-mails regarding development - versions should be sent to . + and e-mails regarding development + versions should be sent to . If you want to keep the mail private, send it to - . + . 2.4. diff --git a/src/modules/rtpproxy/README b/src/modules/rtpproxy/README index 8a86643f0e2..1c603d9b5a3 100644 --- a/src/modules/rtpproxy/README +++ b/src/modules/rtpproxy/README @@ -800,7 +800,7 @@ Chapter 2. Frequently Asked Questions Where can I find more about Kamailio? - Take a look at http://www.kamailio.org/. + Take a look at https://www.kamailio.org/. 2.3. @@ -809,16 +809,16 @@ Chapter 2. Frequently Asked Questions First at all check if your question was already answered on one of our mailing lists: * User Mailing List - - http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users + https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users * Developer Mailing List - - http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev + https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev E-mails regarding any stable Kamailio release should be sent to - and e-mails regarding development - versions should be sent to . + and e-mails regarding development + versions should be sent to . If you want to keep the mail private, send it to - . + . 2.4. diff --git a/src/modules/sipcapture/README b/src/modules/sipcapture/README index 016d198930d..451628d8b31 100644 --- a/src/modules/sipcapture/README +++ b/src/modules/sipcapture/README @@ -535,7 +535,7 @@ kamcmd sipcapture.status check install everything by yourself you can use the homer_databases.sql, SQL script in the sql folder of sipcapture module as template. You can also find the complete database documentation on the project webpage, - http://www.kamailio.org/docs/db-tables/kamailio-db-devel.html. + https://www.kamailio.org/docs/db-tables/kamailio-db-devel.html. 7. Limitations diff --git a/src/modules/siptrace/README b/src/modules/siptrace/README index 6e9b041c510..1f8e9f0c9c6 100644 --- a/src/modules/siptrace/README +++ b/src/modules/siptrace/README @@ -513,7 +513,8 @@ kamcmd siptrace.status check everything by yourself you can use the siptrace-create.sql SQL script in the database directories in the kamailio/scripts folder as template. You can also find the complete database documentation on the project - webpage, http://www.kamailio.org/docs/db-tables/kamailio-db-devel.html. + webpage, + https://www.kamailio.org/docs/db-tables/kamailio-db-devel.html. 7. Known issues diff --git a/src/modules/snmpstats/README b/src/modules/snmpstats/README index 357a6614bad..d8b539831dc 100644 --- a/src/modules/snmpstats/README +++ b/src/modules/snmpstats/README @@ -771,7 +771,7 @@ Name Where can I find more about Kamailio? - Take a look at http://www.kamailio.org/. + Take a look at https://www.kamailio.org/. 2.11. @@ -780,16 +780,16 @@ Name First at all check if your question was already answered on one of our mailing lists: * User Mailing List - - http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users + https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users * Developer Mailing List - - http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev + https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev E-mails regarding any stable Kamailio release should be sent to - and e-mails regarding development - versions should be sent to . + and e-mails regarding development + versions should be sent to . If you want to keep the mail private, send it to - . + . 2.12. diff --git a/src/modules/tmx/README b/src/modules/tmx/README index c6963b3960a..d9c8024c3f7 100644 --- a/src/modules/tmx/README +++ b/src/modules/tmx/README @@ -436,7 +436,7 @@ event_route [tm:branch-failure:contact] { * $T(name) Exported pseudo-variables are documented at - http://www.kamailio.org/wiki/. + https://www.kamailio.org/wiki/. 6. Statistics diff --git a/src/modules/uac/README b/src/modules/uac/README index 5f95b70d9cb..3747d8c4dd8 100644 --- a/src/modules/uac/README +++ b/src/modules/uac/README @@ -781,7 +781,7 @@ failure_route[REMOTE_AUTH] { * $uac_req(key) Exported pseudo-variables are documented at - http://www.kamailio.org/wiki/. + https://www.kamailio.org/wiki/. 6. Event Routes diff --git a/src/modules/userblacklist/README b/src/modules/userblacklist/README index 47ac5fd5369..b91c3e19211 100644 --- a/src/modules/userblacklist/README +++ b/src/modules/userblacklist/README @@ -566,7 +566,7 @@ main] prefix with module parameters so they can be changed, but the name of the columns must be as they are in the SQL script. You can also find the complete database documentation on the project webpage, - http://www.kamailio.org/docs/db-tables/kamailio-db-devel.html. + https://www.kamailio.org/docs/db-tables/kamailio-db-devel.html. Example 1.26. Example database content - globalblacklist table ... diff --git a/src/modules/xcap_server/README b/src/modules/xcap_server/README index 8cb037d4873..43ba8c996ad 100644 --- a/src/modules/xcap_server/README +++ b/src/modules/xcap_server/README @@ -319,7 +319,7 @@ event_route[xhttp:request] { target, domain, uri_adoc. Exported pseudo-variables are documented at - http://www.kamailio.org/wiki/. + https://www.kamailio.org/wiki/. Example 1.11. $xcapuri(...) PV ...