Module: kamailio Branch: master Commit: 060a96057309000592f126956cd343656a26ecba URL: https://github.com/kamailio/kamailio/commit/060a96057309000592f126956cd34365...
Author: Kamailio Dev kamailio.dev@kamailio.org Committer: Kamailio Dev kamailio.dev@kamailio.org Date: 2023-06-12T14:01:24+02:00
modules: readme files regenerated - pdb ... [skip ci]
---
Modified: src/modules/pdb/README
---
Diff: https://github.com/kamailio/kamailio/commit/060a96057309000592f126956cd34365... Patch: https://github.com/kamailio/kamailio/commit/060a96057309000592f126956cd34365...
---
diff --git a/src/modules/pdb/README b/src/modules/pdb/README index 60b329d8421..52ebab2e8ae 100644 --- a/src/modules/pdb/README +++ b/src/modules/pdb/README @@ -29,6 +29,7 @@ Pawel Kuzak
3.1. timeout (integer) 3.2. server (string) + 3.3. ll_info (int)
4. Functions
@@ -44,10 +45,11 @@ Pawel Kuzak
1.1. Set timeout parameter 1.2. Set server parameter - 1.3. pdb_query usage - 1.4. pdb.status usage - 1.5. pdb.activate usage - 1.6. pdb.deactivate usage + 1.3. Set ll_info parameter + 1.4. pdb_query usage + 1.5. pdb.status usage + 1.6. pdb.activate usage + 1.7. pdb.deactivate usage
Chapter 1. Admin Guide
@@ -63,6 +65,7 @@ Chapter 1. Admin Guide
3.1. timeout (integer) 3.2. server (string) + 3.3. ll_info (int)
4. Functions
@@ -113,6 +116,7 @@ Chapter 1. Admin Guide
3.1. timeout (integer) 3.2. server (string) + 3.3. ll_info (int)
3.1. timeout (integer)
@@ -136,6 +140,19 @@ modparam("pdb", "timeout", 10) modparam("pdb", "server", "localhost:10001,host.name:10001,192.168.1.7:10002") ...
+3.3. ll_info (int) + + Local log level (per module) for specific INFO messages. It has to be a + valid log level value (see xlog() function from xlog module for more + details). + + Default value is ���2���. + + Example 1.3. Set ll_info parameter +... +modparam("pdb", "ll_info", 3) +... + 4. Functions
4.1. pdb_query (string query, string dstavp) @@ -149,7 +166,7 @@ modparam("pdb", "server", "localhost:10001,host.name:10001,192.168.1.7:10002") a two byte integer value in network byte order. The integer value will be stored in the given AVP.
- Example 1.3. pdb_query usage + Example 1.4. pdb_query usage ... # query external service for routing information if (!pdb_query("$rU", "$avp(i:82)")) @@ -169,7 +186,7 @@ cr_route("$avp(i:82)", "$rd", "$rU", "$rU", "call_id"); Prints the status of the module. This can either be "active" or "deactivated".
- Example 1.4. pdb.status usage + Example 1.5. pdb.status usage ... kamcmd pdb.status ... @@ -178,7 +195,7 @@ kamcmd pdb.status
Activates the module. This is the default after loading the module.
- Example 1.5. pdb.activate usage + Example 1.6. pdb.activate usage ... kamcmd pdb.activate ... @@ -189,7 +206,7 @@ kamcmd pdb.activate activated again. As long as the module is deactivated, the pdb_query function will return -1.
- Example 1.6. pdb.deactivate usage + Example 1.7. pdb.deactivate usage ... kamcmd pdb.deactivate ...