<p></p>
<p dir="auto">I check the codes and it seems that in <code>udp_rcv_loop()</code>, each incoming message got processed in the same process, so may it get blocked by some module function? For example, when the script calls <code>rtpengine_manage()</code>, it opens a new socket, sends a message, and receives the reply in blocking way, then it blocks the whole <code>udp_rcv_loop()</code>. Is it the expected design goal? why not consider new process or threading?</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/3075">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZL3KNSCJHLNHFVWTT3VEKXTNANCNFSM5TAU7F3Q">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/ABO7UZNA3WROWECX4EXER3DVEKXTNA5CNFSM5TAU7F32YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4R3XBKBA.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/3075</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/3075",
"url": "https://github.com/kamailio/kamailio/issues/3075",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>