[sr-dev] [kamailio/kamailio] Param.valueat not returning special chars (#2200)

Daniel-Constantin Mierla notifications at github.com
Mon Jan 27 08:45:10 CET 2020


The grammar of SIP defines the value what is in between quotes. The the value of the parameter should be between quotes if it has some special characters, otherwise is ok without quotes. The params transformation follows the SIP grammar, changing that means breaking the specs. You can eventually use search function to see if the param value starts with quotes and then add the quotes via config operations.

Other variant is to use s.select along with other transformations to split the string in the tokens you need.

Then you can also use embedded KEMI scripts for more advanced parsing.

Not being a bug, I am closing this one, for more discussions, switch to sr-users mailing list.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/2200#issuecomment-578627284
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20200126/811b8a48/attachment.html>


More information about the sr-dev mailing list