<p>It seems to be a bug, indeed, that callback should be for receiving an ACK to negative response, as I could see in the comments from code.</p>
<p>I checked and that callback is not actually used anywhere in the code of other modules, so this was not noticed so far, on the other hand, even better, changing it won't affect anything existing at this moment, thus no worries to break something that relied on existing behaviour.</p>
<p>You can make a pull request for the fix, as you do development of the code using this callback type.</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/1871#issuecomment-467908537">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AF36Zet8jfwkBdyA9tGyhfSQDTFiG6O2ks5vRqVagaJpZM4bUOpg">mute the thread</a>.<img src="https://github.com/notifications/beacon/AF36ZRcNQX_hjAJJ15nDWK-ULtzBnpAIks5vRqVagaJpZM4bUOpg.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/kamailio/kamailio","title":"kamailio/kamailio","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/kamailio/kamailio"}},"updates":{"snippets":[{"icon":"PERSON","message":"@miconda in #1871: It seems to be a bug, indeed, that callback should be for receiving an ACK to negative response, as I could see in the comments from code.\r\n\r\nI checked and that callback is not actually used anywhere in the code of other modules, so this was not noticed so far, on the other hand, even better, changing it won't affect anything existing at this moment, thus no worries to break something that relied on existing behaviour.\r\n\r\nYou can make a pull request for the fix, as you do development of the code using this callback type."}],"action":{"name":"View Issue","url":"https://github.com/kamailio/kamailio/issues/1871#issuecomment-467908537"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/1871#issuecomment-467908537",
"url": "https://github.com/kamailio/kamailio/issues/1871#issuecomment-467908537",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>