<p></p>
<p>Normally the HTTP traffic comes in event_route (or xmlrpc route). The core itself does not handle http, it can delegate processing to xhttp or xmlrpc modules, when configure to be <em>flexible</em> on accepting non-sip traffic.</p>
<p>I think the is_reply()/is_request() should stay as they are specific to sip and eventually add is_http_request()/is_http_reply() can be added to xhttp module.</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/pull/2761#issuecomment-854612750">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZOBT7ELO262CE7YMQDTRCVWNANCNFSM46BIFWSQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZOGAEEC4MQUJ2KSQNDTRCVWNA5CNFSM46BIFWS2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGLYFWDQ.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-854612750",
"url": "https://github.com/kamailio/kamailio/pull/2761#issuecomment-854612750",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>