<p><strong>Version</strong>  : kamailio 4.2<br>
<strong>platform</strong> : linux</p>
<p><strong>Description</strong></p>
<p>Currently I am using <strong>ims_charging</strong> module ...so from  the script we are calling <strong>RO_CCR(6 param)</strong> function ..Until this point it is working fine But the problem occurs when i am passing extra parameter in <strong>RO_CCR(7 param)</strong> function,we are getting <strong>Too many arguments error</strong> from the script <strong>BUT</strong> we made appropriate changes in ims_charging for this.please see the below code changes for more info.</p>
<p><strong>static int <strong>w_ro_ccr</strong></strong>(struct sip_msg <em>msg, str</em> route_name, str* direction, str* charge_type, str* unit_type, int reservation_units, char *_d,char *cpaas);</p>
<p>static cmd_export_t cmds[] = {<br>
{ "Ro_CCR",     (cmd_function) <strong>w_ro_ccr</strong>,7, ro_fixup, 0, REQUEST_ROUTE },<br>
{ 0, 0, 0, 0, 0, 0}<br>
};</p>

<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/issues/2138?email_source=notifications&email_token=ABO7UZMEO6IJOE6H2XXUJ4LQUOJANA5CNFSM4JO7CVZKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4H2IHJWA">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZPCY45IV72ZISHXJALQUOJANANCNFSM4JO7CVZA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZKOTDPCBNHOAGSJVWLQUOJANA5CNFSM4JO7CVZKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4H2IHJWA.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/issues/2138?email_source=notifications\u0026email_token=ABO7UZMEO6IJOE6H2XXUJ4LQUOJANA5CNFSM4JO7CVZKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4H2IHJWA",
"url": "https://github.com/kamailio/kamailio/issues/2138?email_source=notifications\u0026email_token=ABO7UZMEO6IJOE6H2XXUJ4LQUOJANA5CNFSM4JO7CVZKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4H2IHJWA",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>