<p>So this is a custom extension of you, not a standard, right?</p>

<p>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.</p>

<p>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.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/kamailio/kamailio/pull/177#issuecomment-107363617">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZdGR6A7_Ipul0RR2QI1JEQa70gCBks5oPBDmgaJpZM4EruDX.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
  <div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
    <link itemprop="url" href="https://github.com/kamailio/kamailio/pull/177#issuecomment-107363617"></link>
    <meta itemprop="name" content="View Pull Request"></meta>
  </div>
  <meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>