@@ -55,13 +55,13 @@ Config Module
55
55
56
56
List of Examples
57
57
58
- 1.1. Set " db_url" parameter
59
- 1.2. Set " table_name" parameter
60
- 1.3. Set " name_column" parameter
61
- 1.4. Set " value_column" parameter
62
- 1.5. Set " desctiption_column" parameter
63
- 1.6. Set " restart_persistent_memory" parameter
64
- 1.7. Set " hash_size" parameter
58
+ 1.1. Set “ db_url” parameter
59
+ 1.2. Set “ table_name” parameter
60
+ 1.3. Set “ name_column” parameter
61
+ 1.4. Set “ value_column” parameter
62
+ 1.5. Set “ desctiption_column” parameter
63
+ 1.6. Set “ restart_persistent_memory” parameter
64
+ 1.7. Set “ hash_size” parameter
65
65
1.8. Usage of $config(...)
66
66
1.9. Usage of $config.description(name)
67
67
@@ -77,13 +77,13 @@ Chapter 1. Admin Guide
77
77
All configuration variables are stored in OpenSIPS' internal
78
78
cache, allowing fast access during SIP processing to maintain
79
79
high performance. The cache can be updated in three ways:
80
- * Script - Assigning a value to the $config(...)
80
+ * Script – Assigning a value to the $config(...)
81
81
pseudo-variable updates the in-memory cache, but this
82
82
change is not persisted to the database.
83
- * MI Commands - Using config_push or config_push_bulk updates
83
+ * MI Commands – Using config_push or config_push_bulk updates
84
84
one or more variables in the runtime cache. These updates
85
85
are also not saved to the database.
86
- * Database - Manually modifying values in the database, then
86
+ * Database – Manually modifying values in the database, then
87
87
triggering the config_reload command, will refresh the
88
88
in-memory cache with updated values from the database.
89
89
@@ -125,9 +125,9 @@ Chapter 1. Admin Guide
125
125
flush them at runtime using the config_flush MI command.
126
126
127
127
Default value is
128
- " mysql://opensips:opensipsrw@localhost/opensips" .
128
+ “ mysql://opensips:opensipsrw@localhost/opensips” .
129
129
130
- Example 1.1. Set " db_url" parameter
130
+ Example 1.1. Set “ db_url” parameter
131
131
...
132
132
modparam("config", "db_url", "dbdriver://username:password@dbhost/dbname
133
133
")
@@ -137,9 +137,9 @@ modparam("config", "db_url", "dbdriver://username:password@dbhost/dbname
137
137
138
138
Name of the table where configuration entries are stored.
139
139
140
- Default value is " config" .
140
+ Default value is “ config” .
141
141
142
- Example 1.2. Set " table_name" parameter
142
+ Example 1.2. Set “ table_name” parameter
143
143
...
144
144
modparam("config", "table_name", "configuration")
145
145
...
@@ -148,9 +148,9 @@ modparam("config", "table_name", "configuration")
148
148
149
149
Name of the column storing configuration variable names.
150
150
151
- Default value is " name" .
151
+ Default value is “ name” .
152
152
153
- Example 1.3. Set " name_column" parameter
153
+ Example 1.3. Set “ name_column” parameter
154
154
...
155
155
modparam("config", "name_column", "key")
156
156
...
@@ -159,9 +159,9 @@ modparam("config", "name_column", "key")
159
159
160
160
Name of the column storing configuration variable values.
161
161
162
- Default value is " value" .
162
+ Default value is “ value” .
163
163
164
- Example 1.4. Set " value_column" parameter
164
+ Example 1.4. Set “ value_column” parameter
165
165
...
166
166
modparam("config", "value_column", "val")
167
167
...
@@ -170,9 +170,9 @@ modparam("config", "value_column", "val")
170
170
171
171
Name of the column storing variable descriptions.
172
172
173
- Default value is " description" .
173
+ Default value is “ description” .
174
174
175
- Example 1.5. Set " desctiption_column" parameter
175
+ Example 1.5. Set “ desctiption_column” parameter
176
176
...
177
177
modparam("config", "description_column", "desc")
178
178
...
@@ -182,9 +182,9 @@ modparam("config", "description_column", "desc")
182
182
Enables restart persistency. Check the Restart Persistent
183
183
Memory for more information.
184
184
185
- Default value is " 0 / disabled" .
185
+ Default value is “ 0 / disabled” .
186
186
187
- Example 1.6. Set " restart_persistent_memory" parameter
187
+ Example 1.6. Set “ restart_persistent_memory” parameter
188
188
...
189
189
modparam("config", "restart_persistent_memory", yes)
190
190
...
@@ -196,9 +196,9 @@ modparam("config", "restart_persistent_memory", yes)
196
196
rounded to the closest value of 2 smaller than the provided
197
197
value.
198
198
199
- Default value is "16" .
199
+ Default value is “16” .
200
200
201
- Example 1.7. Set " hash_size" parameter
201
+ Example 1.7. Set “ hash_size” parameter
202
202
...
203
203
modparam("config", "hash_size", 32)
204
204
...
@@ -258,9 +258,9 @@ e)\n");
258
258
Temporarily pushes a single configuration variable.
259
259
260
260
Expected parameters are:
261
- * name - (string) the name of the variable
262
- * value - (string) the value of the variable
263
- * description - (string, optional) the description of the
261
+ * name – (string) the name of the variable
262
+ * value – (string) the value of the variable
263
+ * description – (string, optional) the description of the
264
264
variable; if missing the description is inheritted, or a
265
265
null value is used if the variable is new.
266
266
@@ -274,14 +274,14 @@ e)\n");
274
274
Pushes multiple temporarily configuration variables in memory.
275
275
276
276
Expected parameters are:
277
- * configs - (json) a JSON array containing a set of variables
277
+ * configs – (json) a JSON array containing a set of variables
278
278
to be pushed. Each variable should be described as a JSON
279
279
object with the following keys:
280
- + name - (string) the name of the variable to be
280
+ + name – (string) the name of the variable to be
281
281
changed.
282
- + value - (string or null) the new value of the
282
+ + value – (string or null) the new value of the
283
283
variable.
284
- + description - (string, optional) the description of
284
+ + description – (string, optional) the description of
285
285
the variable.
286
286
287
287
MI FIFO Command Format:
@@ -296,7 +296,7 @@ e)\n");
296
296
Flushes the variables from the memory to the database.
297
297
298
298
Expected parameters are:
299
- * name - (string, optional) if present, flushes only a
299
+ * name – (string, optional) if present, flushes only a
300
300
specific config variable in database, otherwise the entire
301
301
cache.
302
302
@@ -314,7 +314,7 @@ Chapter 2. Contributors
314
314
Table 2.1. Top contributors by DevScore^(1), authored
315
315
commits^(2) and lines added/removed^(3)
316
316
Name DevScore Commits Lines ++ Lines --
317
- 1. Razvan Crainea (@razvancrainea) 4 1 349 0
317
+ 1. Razvan Crainea (@razvancrainea) 14 1 1437 0
318
318
319
319
(1) DevScore = author_commits + author_lines_added /
320
320
(project_lines_added / project_commits) + author_lines_deleted
@@ -349,4 +349,4 @@ Chapter 3. Documentation
349
349
350
350
Documentation Copyrights:
351
351
352
- Copyright � 2025 OpenSIPS Solutions;
352
+ Copyright © 2025 OpenSIPS Solutions;
0 commit comments