Browse code

modules: readme files regenerated - textopsx ... [skip ci]

Kamailio Dev authored on 31/03/2021 14:16:15
Showing 1 changed files
... ...
@@ -246,7 +246,7 @@ if(fnmatch("$rU", "123*"))
246 246
    Meaning of the parameters is as follows:
247 247
      * hf - Header field to be appended. Format: HFNAME [ [IDX] ]. If
248 248
        index is not specified new header is inserted at the end of
249
-       message.
249
+       message. The index 1 correxponds to the first header.
250 250
      * hvalue - Value to be added, config var formatting supported.
251 251
 
252 252
    Example 1.7. append_hf_value usage
... ...
@@ -267,7 +267,7 @@ ot exists add new header
267 267
    Meaning of the parameters is as follows:
268 268
      * hf - Header field to be appended. Format: HFNAME [ [IDX] ]. If
269 269
        index is not specified new header is inserted at the top of
270
-       message.
270
+       message. The index 1 correxponds to the first header.
271 271
      * hvalue - Value to be added, config var formatting supported.
272 272
 
273 273
    Example 1.8. insert_hf_value usage
... ...
@@ -285,7 +285,7 @@ insert_hf_value("foo[1]", "gogo") # try add to the first header
285 285
    Meaning of the parameters is as follows:
286 286
      * hf_par - Header field/param to be removed. Format: HFNAME [ [IDX] ]
287 287
        [. PARAM ] If asterisk is specified as index then all values are
288
-       affected.
288
+       affected. The index 1 correxponds to the first header.
289 289
 
290 290
    Example 1.9. remove_hf_value usage
291 291
 ...
... ...
@@ -305,7 +305,7 @@ remove_hf_value("foo[*].bar") # for each foo delete bar parameters
305 305
    Meaning of the parameters is as follows:
306 306
      * hf_par - Header/param to be removed. Format: HFNAME [ [IDX] ] [.
307 307
        PARAM ] If asterisk is specified as index then all values are
308
-       affected.
308
+       affected. The index 1 correxponds to the first header.
309 309
 
310 310
    Example 1.10. remove_hf_value2 usage
311 311
 ...
... ...
@@ -324,7 +324,7 @@ remove_hf_value2("foo[*].bar") # for each foo delete bar parameters
324 324
    Meaning of the parameters is as follows:
325 325
      * hf_para - Header field value / param to be appended. Format: HFNAME
326 326
        [ [IDX] ] [. PARAM] If asterisk is specified as index then all
327
-       values are affected.
327
+       values are affected. The index 1 correxponds to the first header.
328 328
      * hvalue - Value to be assigned, config var formatting supported. If
329 329
        value is empty then no equal sign appears in param.
330 330
 
... ...
@@ -348,7 +348,7 @@ assign_hf_value("foo[*].bar", "")  # set empty value (ex. lr)
348 348
    Meaning of the parameters is as follows:
349 349
      * hf_para - Header field value / param to be appended. Format: HFNAME
350 350
        [ [IDX] ] [. PARAM] If asterisk is specified as index then all
351
-       values are affected.
351
+       values are affected. The index 1 correxponds to the first header.
352 352
      * hvalue - Value to be assigned, config var formatting supported. If
353 353
        value is empty then no equal sign appears in param.
354 354