<p></p>
<p>maybe implement functions in core</p>
<ol>
<li><code>is_request("HTTP")</code></li>
<li><code>is_request("SIP")</code></li>
<li><code>is_reply("HTTP")</code></li>
<li><code>is_reply("SIP")</code></li>
</ol>
<p>and move these functions from <code>siputils</code> to <code>core</code></p>
<ol>
<li><code>is_request()</code></li>
<li><code>is_reply()</code></li>
</ol>

<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/pull/2761#issuecomment-854139138">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZMK6CRVXY2LV7FDYTTTQ7NIVANCNFSM46BIFWSQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZMSZPFBNC2VALXQ7RTTQ7NIVA5CNFSM46BIFWS2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGLUSCAQ.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/pull/2761#issuecomment-854139138",
"url": "https://github.com/kamailio/kamailio/pull/2761#issuecomment-854139138",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>