On 19.08.19 12:21, Juha Heinanen wrote:
Daniel-Constantin Mierla writes:
iirc, the comma does not work as delimiter between parameters, because it is the delimiter between the header bodies (when many bodies are serialized within same header name).
I thought that comma can be used as param.count delimiter, because it works as select delimiter:
https://www.kamailio.org/wiki/cookbooks/devel/transformations#sselect_index_...
That's pure string tokenizer -- find the separator in the buffer and advance to next token.
The param transformation is using the parser for SIP header/URI parameters, where comma is not a separator for parameters, but for header/uri bodies.
I think it may work with some workaround done in pv module -- iirc, the pv module is cloning the value in a local buffer, so then it can replace the comma separator with another one (set by modparam or so) in the local buffer, so it doesn't impact the original value and it doesn't require to change the sip param parser.
Cheers, Daniel