<h4>Pre-Submission Checklist</h4>



<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Commit message has the format required by CONTRIBUTING guide</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Commits are split per component (core, individual modules, libs, utils, ...)</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Each component has a single commit (if not, squash them into one commit)</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> No commits to README files for modules (changes must be done to docbook files<br>
in <code>doc/</code> subfolder, the README file is autogenerated)</li>
</ul>
<h4>Type Of Change</h4>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> New feature (non-breaking change which adds new functionality)</li>
</ul>
<h4>Description</h4>
<p>New parameter to add json in an accounting/CDR field and prevent unwanted json escaping.</p>
<p>Example:</p>
<pre><code>modparam("acc_json", "acc_extra", "json_data=$avp(json_data);")
modparam("acc_json", "acc_json_pre_encoded_prefix", "json_")
...
$avp(json_data) = '{"b":2, "c":3}';
...
</code></pre>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/kamailio/kamailio/pull/2699'>https://github.com/kamailio/kamailio/pull/2699</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>acc_json: param to accept pre-encoded json values</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/kamailio/kamailio/pull/2699/files#diff-074050d722f2d6790686b272701cfa14821477a1026a5886da4aadeabf6565f7">src/modules/acc_json/acc_json_mod.c</a>
    (55)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/kamailio/kamailio/pull/2699/files#diff-7d111eb3b669fd92265a2e9f998a3097160a1d8350cb466f578aa13cca71de6a">src/modules/acc_json/doc/acc_json_admin.xml</a>
    (43)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/kamailio/kamailio/pull/2699.patch'>https://github.com/kamailio/kamailio/pull/2699.patch</a></li>
  <li><a href='https://github.com/kamailio/kamailio/pull/2699.diff'>https://github.com/kamailio/kamailio/pull/2699.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/pull/2699">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZNFTBAGRSTOPWDGZTDTGH5DTANCNFSM42COSREA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZIIHL5O53E32ZP2RN3TGH5DTA5CNFSM42COSREKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4MS3OYJA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/pull/2699",
"url": "https://github.com/kamailio/kamailio/pull/2699",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>