<p></p>
<p>After further research, it appears that udp_send() returns the result of sendto() which to my understanding returns the number of bytes sent, so it will always be non-zero on a successful send.</p>
<p>It looks like back on Jan 19th the logging message was changed from LG_DBG to udp_send so I'm not sure if that was intentional or maybe an oversight?</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/2452#issuecomment-678447059">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZI5B352SZH2IZOYOPTSB3BBNANCNFSM4QGXS2CA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZNBJOTXAEPDULNA2ZLSB3BBNA5CNFSM4QGXS2CKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFBYEPUY.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/2452#issuecomment-678447059",
"url": "https://github.com/kamailio/kamailio/issues/2452#issuecomment-678447059",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>