comma is not allowed in an unquoted value for SIP parameters because it is separator for header bodies that are set on the same header name. Practically the comma is the end of parameters list.Hey! I'm hunting down an issue with xavp_params_explode, maybe somebody has already come adross it and could confirm it exists and maybe know a solution? xavp_params_explode("a=foo;c=hello,world;e=baar", "x"); $xavp(x=>a) is 'foo' but x=>c and x=>e are null Am I right to assume the issue being caused by the comma? Is there a way to allow a comma?
It should work with:
xavp_params_explode("a=foo;c=\"hello,world\";e=baar", "x");
Cheers,
Daniel
-- Daniel-Constantin Mierla (@ asipto.com) twitter.com/miconda -- linkedin.com/in/miconda Kamailio Consultancy, Training and Development Services -- asipto.com Kamailio Advanced Training, February 20-22, 2024 -- asipto.com Kamailio World Conference, April 18-19, 2024, Berlin -- kamailioworld.com