This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
cookbooks:devel:transformations [2019/08/19 14:30] miconda [Parameters List Transformations] |
cookbooks:devel:transformations [2019/10/10 14: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 ===== | ||