<p></p>
<p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/gaaf/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/gaaf">@gaaf</a>: have you set the <code class="notranslate">acc_param</code> function to empty string? The condition is also with <code class="notranslate">uacred_acc_fct_s.s[0] != '\0'</code>.</p>
<p dir="auto">In 5.5, the condition was similar, snippet next:</p>
<pre class="notranslate"><code class="notranslate">     if(rd_acc_fct == 0) {
                /* import the acc stuff */
                if(acc_fct_s != 0 && acc_fct_s[0] == '\0') {
                        fct = find_export(acc_fct_s, 2, REQUEST_ROUTE);
                        if(fct == 0)
                                fct = find_export(acc_fct_s, 1, REQUEST_ROUTE);
                        if(fct == 0) {
                                LM_ERR("cannot import %s function; is acc loaded and"
                                                " configured\n", acc_fct_s);
                                return E_UNSPEC;
                        }
                        rd_acc_fct = fct;
                }
        }
</code></pre>
<p dir="auto">The <code class="notranslate">acc_fct_s</code> was renamed to <code class="notranslate">uacred_acc_fct_s</code> in 5.6.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/3188#issuecomment-1211233200">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZPA2US6TOOLZZLU5STVYQGIPANCNFSM53VP3IJQ">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/ABO7UZNEUANNVBTBIDKPTEDVYQGIPA5CNFSM53VP3IJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOJAY7HMA.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><kamailio/kamailio/issues/3188/1211233200</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/3188#issuecomment-1211233200",
"url": "https://github.com/kamailio/kamailio/issues/3188#issuecomment-1211233200",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>