So this is a custom extension of you, not a standard, right?
If yes, I suggest that you change the patch to export a new function with a new name where
the relevant values are given as parameter, without taking anything from the SIP request
inside the function, so it becomes generic of what the custom header name is and the
format of the header body.
Now you practically disable the rfc version with defines, so it is not going to work
anymore for that. The RFC requirements implementation must be always there.
---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/177#issuecomment-107363617