<p></p>
<p><code>sl_send_error()</code> is for generic error reply. You can send any reply code using send_reply("code", "text"), use <code>sl_send_error()</code> only when you want the behaviour from the C code. For further discussions, email to <a href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a> .</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/2802#issuecomment-886809685">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZIMMY7JTRTHGX4FCH3TZV6H3ANCNFSM5AV42Z5A">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZNRDMXJWHHXEJWKFVTTZV6H3A5CNFSM5AV42Z5KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGTN2IVI.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/2802#issuecomment-886809685",
"url": "https://github.com/kamailio/kamailio/issues/2802#issuecomment-886809685",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>