cookbooks:devel:transformations
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
cookbooks:devel:transformations [2019/08/19 12:30] – [Parameters List Transformations] miconda | cookbooks:devel:transformations [2019/10/10 12:54] – miconda | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Kamailio SIP Server v5.3.x (devel): Transformations ====== | + | ====== Kamailio SIP Server v5.4.x (devel): Transformations ====== |
< | < | ||
Line 335: | Line 335: | ||
$var(uri) = $(var(x){s.unbracket}); | $var(uri) = $(var(x){s.unbracket}); | ||
</ | </ | ||
+ | |||
+ | ==== {s.count,c} ==== | ||
+ | |||
+ | Count how many times c appears in the pv value. | ||
+ | |||
+ | <code c> | ||
+ | abababa" | ||
+ | # will return 4 | ||
+ | </ | ||
+ | |||
+ | |||
===== URI Transformations ===== | ===== URI Transformations ===== | ||
Line 418: | Line 429: | ||
Available transformations in this class are presented in the next sections. | Available transformations in this class are presented in the next sections. | ||
- | **Important Note:** the delimiter cannot be comma (,), because this trasformation is using SIP header/ | + | **Important Note:** the delimiter cannot be comma (,), because this trasformation is using SIP header/ |
cookbooks/devel/transformations.txt · Last modified: 2022/04/08 16:08 by miconda